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

https://github.com/logic/cmdr

Subcommands and environment variables for Go command-line interfaces
https://github.com/logic/cmdr

cli environment-variables flags go golang subcommands

Last synced: about 1 year ago
JSON representation

Subcommands and environment variables for Go command-line interfaces

Awesome Lists containing this project

README

          

cmdr - commands, positional arguments, and variables for Go programs
====================================================================

cmdr wraps the Go standard library `flag` package to make it easy to add
subcommands, positional arguments, and environment variable triggers to
command-line programs.

[Documentation](https://godoc.org/github.com/logic/cmdr) |
[Examples](https://github.com/logic/cmdr/tree/master/examples/) |
[License](https://github.com/logic/cmdr/tree/master/LICENSE)

cmdr is unable, and interfaces are likely to change without notice. You might
be better served with another library at this point if interface stability is
important to you.