Automatic help output
Added help generation for root and subcommands either using `app help [command]` or `app --help [command]` This help text displays all opts and their descriptions, available subcommands and any description for the current command.ui
parent
25badbf51b
commit
6409e249e3
@ -0,0 +1,22 @@
|
||||
Arkham is a framework for building CLI tools and applications. It provides basic
|
||||
building blocks for building attractive and smooth CLIs
|
||||
|
||||
|
||||
# CLI Features
|
||||
|
||||
## Option Parsing
|
||||
|
||||
* Opt/Flag handling for short, long command line options
|
||||
* Nested subcommands with their own flags
|
||||
* Opts are hierarchal and can be utilized from parent commands
|
||||
* Automatic usage details for subcommands and bare execution
|
||||
|
||||
## Styling
|
||||
|
||||
* Canned helper methods for generating colored and formatted outputs for common
|
||||
structures: Detail lists, headers, etc.
|
||||
|
||||
# Basic Usage
|
||||
|
||||
* [fib](https://git.5sigma.io/arkham/arkham/-/blob/master/examples/fib.rs) - An example using subcommands and command line options
|
||||
|
Loading…
Reference in New Issue