https://github.com/rdeusser/cli
A CLI library for Go using generics
https://github.com/rdeusser/cli
cli commandline framework generics go library posix
Last synced: about 1 year ago
JSON representation
A CLI library for Go using generics
- Host: GitHub
- URL: https://github.com/rdeusser/cli
- Owner: rdeusser
- License: mit
- Created: 2020-10-09T21:02:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-07T17:41:40.000Z (over 2 years ago)
- Last Synced: 2025-01-25T18:43:27.690Z (about 1 year ago)
- Topics: cli, commandline, framework, generics, go, library, posix
- Language: Go
- Homepage:
- Size: 149 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cli
A CLI library for Go using generics.
There are a few really nice CLI libraries for Go like spf13/cobra, urfave/cli,
alecthomas/kingpin, etc. Even the builtin flag library isn't too bad. I've
created a lot of CLI tools over the years in Go and while Cobra came the
closest, something about it always felt wrong. So this library is my standard on
how constructing a CLI should look.
## Usage
See the [examples](examples).