2023-01-09 23:52:21 +00:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
2023-01-14 06:27:38 +00:00
|
|
|
"gospt/src/commands"
|
2023-01-09 23:52:21 +00:00
|
|
|
|
|
|
|
"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) {
|
|
|
|
commands.Like(ctx, client)
|
|
|
|
},
|
|
|
|
}
|