mirror of
https://github.com/NohamR/papeer.git
synced 2026-05-25 04:17:19 +00:00
json output for list command
This commit is contained in:
@@ -27,7 +27,7 @@ func NewProgress(links []link, parent string, depth int) progress {
|
||||
if len(links) <= 50 {
|
||||
for index, link := range links {
|
||||
bar := uiprogress.AddBar(1)
|
||||
barText := fmt.Sprintf("%v#%v %v", indent, index+1, link.Text())
|
||||
barText := fmt.Sprintf("%v#%v %v", indent, index+1, link.Text)
|
||||
bar.AppendFunc(func(b *uiprogress.Bar) string {
|
||||
return barText
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user