gospt/cmd/radio.go

20 lines
315 B
Go
Raw Normal View History

2023-01-09 23:52:21 +00:00
package cmd
import (
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(radioCmd)
}
var radioCmd = &cobra.Command{
2023-01-14 07:06:43 +00:00
Use: "radio",
Aliases: []string{"r"},
Short: "Starts radio",
Long: `Starts radio`,
2023-01-10 00:36:12 +00:00
RunE: func(cmd *cobra.Command, args []string) error {
2023-02-17 22:08:25 +00:00
return commands.Radio(ctx)
2023-01-09 23:52:21 +00:00
},
}