fancy next

This commit is contained in:
abs3nt 2023-01-16 21:08:30 -08:00
parent 8c84e623da
commit a758f7a199

View File

@ -13,11 +13,11 @@ func init() {
} }
var nextCmd = &cobra.Command{ var nextCmd = &cobra.Command{
Use: "next", Use: "next {amount}",
Aliases: []string{"n"}, Aliases: []string{"n"},
Args: cobra.MatchAll(cobra.RangeArgs(0, 1)), Args: cobra.MatchAll(cobra.RangeArgs(0, 1)),
Short: "Skip to next song", Short: "Skip to next song or skip the specified number of tracks",
Long: `Skip to next song`, Long: `Skip to next song of skip the specified number of tracks`,
RunE: func(cmd *cobra.Command, args []string) error { RunE: func(cmd *cobra.Command, args []string) error {
skipAmt := 1 skipAmt := 1
if len(args) >= 1 { if len(args) >= 1 {