2021-06-19 19:07:04 +00:00
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
2021-06-19 19:51:11 +00:00
* Flags and options can be set via environment variables
2021-06-19 19:07:04 +00:00
2021-06-21 01:43:00 +00:00
## Configuration Handling
Configurations can be loaded from either TOML or JSON files. Configuration files
can be used to automatically provide values for command line opts or arbitrary
configuration values
2021-06-19 19:07:04 +00:00
## 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
2021-11-14 02:47:55 +00:00
* [config ](https://git.5sigma.io/arkham/arkham/-/blob/master/examples/config.rs ) - An example loading a configuration file. This must be ran with `cargo run --example config --features toml_config`
2021-06-19 19:07:04 +00:00