- [!]—backward incompatible change
- [+]—new feature
- [f]—bugfix
- [r]—refactoring
- [t]—test suite improvement
- [d]—docs improvement
- [+] Add
arg
andargs
variants that don't require a fallback block. - [f] In
arg
andargs
, the main block would get executed after the fallback block. Now, it's either this or that. - [r]
missing
argument renamed tofallback
to avoid collision with Nim's error message. - [t] Added commands to git demo app to demonstrate fallback-less
arg
andargs
templates.
- [f] Fix warning about unused
val
insugar
submodule.
- [!][r] Importing
climate
now imports all submodules includingsugar
andcontext
. Just addimport climate
and that's it. - [+] Add new demo, Battleship.
- [+] Add sugar to work with arguments and options to
climate/sugar
.
- [f] Fix invalid Nim version requirement, Nim devel no longer required.
- [+] Add
defaultHandler
param toparseCommands
that is called when no match is found. - [+] Options that come before the command are collected along with the ones that come after it. I.e.
git flow -d init
is just as valid asgit flow init -d
.
- 🎉 initial release.