luet/vendor/github.com/jedib0t/go-pretty/v6/list
Ettore Di Giacinto 5b54aeb822 Update vendor
2020-11-23 19:14:07 +01:00
..
list.go Update vendor 2020-11-23 19:14:07 +01:00
README.md Update vendor 2020-11-23 19:14:07 +01:00
render_html.go Update vendor 2020-11-23 19:14:07 +01:00
render_markdown.go Update vendor 2020-11-23 19:14:07 +01:00
render.go Update vendor 2020-11-23 19:14:07 +01:00
style.go Update vendor 2020-11-23 19:14:07 +01:00
writer.go Update vendor 2020-11-23 19:14:07 +01:00

List

GoDoc

Pretty-print lists with multiple levels/indents into ASCII/Unicode strings.

  • Append Items one-by-one or as a group
  • Indent/UnIndent as you like
  • Support Items with Multiple-lines
  • Mirror output to an io.Writer object (like os.StdOut)
  • Completely customizable styles
  • Render as:
    • (ASCII/Unicode) List
    • HTML List (with custom CSS Class)
    • Markdown List
 ■ Game Of Thrones
   ■ Winter
   ■ Is
   ■ Coming
     ■ This
     ■ Is
     ■ Known
 ■ The Dark Tower
   ■ The Gunslinger

A demonstration of all the capabilities can be found here: ../cmd/demo-list