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
- Host: GitHub
- URL: https://github.com/cppforlife/go-cli-ui
- Owner: cppforlife
- License: mit
- Created: 2018-07-30T22:28:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T09:13:32.000Z (almost 2 years ago)
- Last Synced: 2025-04-24T01:05:35.320Z (10 months ago)
- Language: Go
- Homepage:
- Size: 4.01 MB
- Stars: 8
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)