gospt/cmd/like.go

20 lines
293 B
Go
Raw Normal View History

2023-01-09 15:52:21 -08:00
package cmd
import (
"github.com/spf13/cobra"
)
func init() {
rootCmd.AddCommand(likeCmd)
}
var likeCmd = &cobra.Command{
2023-01-13 23:06:43 -08:00
Use: "like",
Aliases: []string{"l"},
Short: "Likes song",
Long: `Likes song`,
2023-01-09 15:52:21 -08:00
Run: func(cmd *cobra.Command, args []string) {
2023-02-17 16:08:25 -06:00
commands.Like(ctx)
2023-01-09 15:52:21 -08:00
},
}