Arkham Terminal UI Kit
Go to file
Joe Bellus 81e557a037 Environment based options/flags
Environment variables can be checked for options/flags. The name of the
option is used to query if an environment variable exists for the given
option.

This can optionally be prefixed.
2021-06-19 15:59:46 -04:00
benches Environment based options/flags 2021-06-19 15:59:46 -04:00
examples Environment based options/flags 2021-06-19 15:59:46 -04:00
src Environment based options/flags 2021-06-19 15:59:46 -04:00
.gitignore Core app foundation/opt parsing 2021-06-19 03:20:29 -04:00
.gitlab-ci.yml Add ci config 2021-06-19 07:27:49 +00:00
Cargo.lock Core app foundation/opt parsing 2021-06-19 03:20:29 -04:00
Cargo.toml Core app foundation/opt parsing 2021-06-19 03:20:29 -04:00
README.md Environment based options/flags 2021-06-19 15:59:46 -04:00

README.md

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
  • Flags and options can be set via environment variables

Styling

  • Canned helper methods for generating colored and formatted outputs for common structures: Detail lists, headers, etc.

Basic Usage

  • fib - An example using subcommands and command line options