All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Refactored the
Command
API to define everything up front similar tourfave/cli
.- This is a big change to how the library works, users should review the examples and readme to see how to use the new API.
- Removed usage of the
FlagSet
struct and moved to functions that operate onList[Flag]
.
- Added environment variable and file path support for flags.
- Added action support for flags.
- Added
StringList
,IntList
,Float64List
Flag
types.
- Refactor flag get/parsing to use ref to simplify code and enable removal of transform module.
- Renamed some fields to make them more accurate in the Command struct.
- Fix command parsing bug.
- Change
context
toctx
to reduce visual noise.
- Switch to using a cli context as the command argument.
- Refactor code to reduce copies of commands instead using
Arc[Command]
generally. - Add example projects.
- Refactor code to split out functionality into separate files and classes.
- Reduced copying of structs.
- Introduce
mog
dependency for help function formatting.
- First release with a changelog! Added rattler build and conda publish.