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.
import_deps: [:commandex]
in.formatter.exs
works again. (#15)
run/0
function for commands that don't define any parameters.
- Raise
ArgumentError
if an invalidpipeline
is defined.
- Set
false
parameter 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 t
already defined.
param
now supports a:default
option. (eg.param :limit, default: 10
)- Added
new/0
to initialize commands without any parameters. pipeline
can now use a 1-arity anonymous function. (eg.pipeline &IO.inspect/1
)
- Enhanced documentation to show
&run/1
shortcut
- Renamed
:error
to:errors
on Command struct
- Initial release