add tags to map info cli output (#105)
* add tags to map info cli output * simplify map list range expression
This commit is contained in:
parent
fbbec6a7f5
commit
2668788683
2 changed files with 11 additions and 1 deletions
|
|
@ -75,4 +75,14 @@ func (m *mapInfo) display(id string) {
|
|||
fmt.Print("\n")
|
||||
}
|
||||
}
|
||||
fmt.Print("Tags:")
|
||||
if len(meta.Tags) < 1 {
|
||||
fmt.Print("\n")
|
||||
}
|
||||
for i, t := range meta.Tags {
|
||||
fmt.Printf(" %s", t)
|
||||
if i == (len(meta.Tags) - 1) {
|
||||
fmt.Print("\n")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue