gospt/cmd/like.go

20 lines
293 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(likeCmd)
}
var likeCmd = &cobra.Command{
2023-01-14 07:06:43 +00:00
Use: "like",
Aliases: []string{"l"},
Short: "Likes song",
Long: `Likes song`,
2023-01-09 23:52:21 +00:00
Run: func(cmd *cobra.Command, args []string) {
2023-02-17 22:08:25 +00:00
commands.Like(ctx)
2023-01-09 23:52:21 +00:00
},
}