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