An open API service indexing awesome lists of open source software.

https://github.com/cppforlife/go-cli-ui

Simple CLI UI library
https://github.com/cppforlife/go-cli-ui

Last synced: 9 months ago
JSON representation

Simple CLI UI library

Awesome Lists containing this project

README

          

## go-cli-ui

Originally this library was written for [BOSH CLI v2](http://bosh.io/docs/cli-v2.html). Given its generic nature, it's been extracted as a separate, easily importable library.

- `errors` package: helps a bit with formatting of errors
- `ui` package: helps with printing CLI content
- `table` package: helps format CLI content as a table

Examples:

- [Table](examples/table/main.go)