✨ PrintAll method
This commit is contained in:
parent
942d419bf6
commit
440b927141
3 changed files with 19 additions and 13 deletions
|
|
@ -23,9 +23,7 @@ to quickly create a Cobra application.`,
|
|||
Run: func(cmd *cobra.Command, args []string) {
|
||||
ret, _ := mpd.Find(args...)
|
||||
for _, song := range ret {
|
||||
for k, v := range song.Attrs {
|
||||
fmt.Println(k, ":", v)
|
||||
}
|
||||
song.PrintAll(false)
|
||||
fmt.Println("-------")
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue