Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 430 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 430 Bytes

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.