v0.4.0
This is major release with some API changes.
Added
- Commands definition can now be specified with the class docstring (support for string signature)
- Two other levels of verbosity (
-vv
and-vvv
) have been added - Commands description can now be output as json and markdown
Changed
- The
Command
class is now more high-level with a singlehandle()
method to override and useful helper methods - The
ProgressHelper
has been removed and theProgressBar
class must be used - The
TableHelper
has largely been improved DialogHelper
has been replaced by a more robustQuestionHelper
Command.set_code()
logic has changed to accept aCommand
instance to be able to use the new helper methods- Autocompletion has been improved
Fixed
- Values are now properly cast by validators
- Fixing "flag" not being set properly
- Progress bar now behaves properly (Fixes #37)
- The
-n|--no-interaction
option behaves properly