- [!]—backward incompatible change
- [+]—new feature
- [f]—bugfix
- [r]—refactoring
- [t]—test suite improvement
- [d]—docs improvement
- [+] Add
flagsugar to capture flags (i.e. options without values). - [+] Add
optandflagvariants with a fallback block. - [d] Add docsrtings to the sugar templates.
- [+] Add
argandargsvariants that don't require a fallback block. - [f] In
argandargs, the main block would get executed after the fallback block. Now, it's either this or that. - [r]
missingargument renamed tofallbackto avoid collision with Nim's error message. - [t] Added commands to git demo app to demonstrate fallback-less
argandargstemplates.
- [f] Fix warning about unused
valinsugarsubmodule.
- [!][r] Importing
climatenow imports all submodules includingsugarandcontext. Just addimport climateand 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
defaultHandlerparam toparseCommandsthat 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 initis just as valid asgit flow init -d.
- 🎉 initial release.