gospt/cmd/skip.go

21 lines
312 B
Go
Raw Permalink Normal View History

2023-01-09 23:52:21 +00:00
package cmd
import (
"gospt/internal/commands"
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(skipCmd)
}
var skipCmd = &cobra.Command{
Use: "skip",
Short: "Skip to next song",
Long: `Skip to next song`,
Run: func(cmd *cobra.Command, args []string) {
commands.Skip(ctx, client)
},
}