✨ Rate current track
This commit is contained in:
parent
f0b04b7c05
commit
83dc41cb8e
4 changed files with 83 additions and 9 deletions
|
|
@ -11,13 +11,15 @@ import (
|
|||
// currentCmd represents the current command
|
||||
var currentCmd = &cobra.Command{
|
||||
Use: "current",
|
||||
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:
|
||||
Short: "Shows information about the currently playing song",
|
||||
/*
|
||||
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) {
|
||||
curr, _ := mpd.GetCurrent()
|
||||
curr.PrintAll(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue