aliases
This commit is contained in:
parent
874712bbb2
commit
3a982468de
@ -11,9 +11,10 @@ import (
|
||||
|
||||
// linkCmd represents the link command
|
||||
var linkCmd = &cobra.Command{
|
||||
Use: "link",
|
||||
Short: "Print link to currently playing song",
|
||||
Long: `Print link to currently playing song`,
|
||||
Use: "link",
|
||||
Aliases: []string{"yy"},
|
||||
Short: "Print link to currently playing song",
|
||||
Long: `Print link to currently playing song`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
link, err := commands.Link(ctx, client)
|
||||
if err != nil {
|
||||
|
@ -11,9 +11,10 @@ func init() {
|
||||
}
|
||||
|
||||
var unlikeCmd = &cobra.Command{
|
||||
Use: "unlike",
|
||||
Short: "unlikes song",
|
||||
Long: `unlikes song`,
|
||||
Use: "unlike",
|
||||
Aliases: []string{"u"},
|
||||
Short: "unlikes song",
|
||||
Long: `unlikes song`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
commands.Unlike(ctx, client)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user