1
0
Fork 0
ahaetulla/commands/root.go
2023-02-10 23:57:49 +01:00

24 lines
343 B
Go

package commands
import (
"os"
"github.com/spf13/cobra"
)
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "freakble",
Short: "A simple tool to send messages into FreakWAN.",
}
func Execute() {
err := rootCmd.Execute()
if err != nil {
os.Exit(1)
}
}
func init() {
}