gospt/cmd/like.go

21 lines
298 B
Go
Raw 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(likeCmd)
}
var likeCmd = &cobra.Command{
Use: "like",
Short: "Likes song",
Long: `Likes song`,
Run: func(cmd *cobra.Command, args []string) {
commands.Like(ctx, client)
},
}