Commit Graph

4 Commits

Author SHA1 Message Date
Joe Bellus 445ae2ddfc General imrovements
Added app! macro that can extract package name and version.

Opts can be parsed for the application root prior to launching handling
functions.

Added further integration with the console create

Improved display of description_lists, these now wrap the description
text.

Long and short opts are now optional and one or both can be used.
2021-11-14 02:47:55 +00:00
Joe Bellus 7c64993a07 Config files can be loaded and used in conjunction with command line opts. Config file loading is behind features for JSON and TOML loading. Config files can be used to automatically provide defined CLI opts as well as arbitrary data, all of which can be retrieved from the get_value functions in the Context given to handler functions. 2021-06-21 01:24:32 +00:00
Joe Bellus 6409e249e3 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.
2021-06-19 19:07:04 +00:00
Joe Bellus c9ae7be6d0 Core app foundation/opt parsing 2021-06-19 03:20:29 -04:00