✨ Add current sticker command
This commit is contained in:
parent
83dc41cb8e
commit
b2dd7b321a
3 changed files with 66 additions and 10 deletions
|
|
@ -15,12 +15,14 @@ var stickerCmd = &cobra.Command{
|
|||
Use: "sticker [sticker-name]",
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
Short: "A brief description of your command",
|
||||
Long: `A longer description that spans multiple lines and likely contains examples
|
||||
and usage of using your command. For example:
|
||||
/*
|
||||
Long: `A longer description that spans multiple lines and likely contains examples
|
||||
and usage of using your command. For example:
|
||||
|
||||
Cobra is a CLI library for Go that empowers applications.
|
||||
This application is a tool to generate the needed files
|
||||
to quickly create a Cobra application.`,
|
||||
Cobra is a CLI library for Go that empowers applications.
|
||||
This application is a tool to generate the needed files
|
||||
to quickly create a Cobra application.`,
|
||||
*/
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
name := args[0]
|
||||
songs, _ := mpd.StickerFind(name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue