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.
halt/2optionally accepts asuccess: trueflag, allowing the command to halt early successfully. (#16)
import_deps: [:commandex]in.formatter.exsworks again. (#15)
run/0function for commands that don't define any parameters.
- Raise
ArgumentErrorif an invalidpipelineis defined.
- Set
falseparameter correctly when given a Map of params. Was previously evaluating tonil.
- Default typespecs and documentation for modules using Commandex.
Note: this will break any existing modules that have
@type talready defined.
paramnow supports a:defaultoption. (eg.param :limit, default: 10)- Added
new/0to initialize commands without any parameters. pipelinecan now use a 1-arity anonymous function. (eg.pipeline &IO.inspect/1)
- Enhanced documentation to show
&run/1shortcut
- Renamed
:errorto:errorson Command struct
- Initial release