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