Skip to content

v0.4.0

Compare
Choose a tag to compare
@sdispater sdispater released this 21 Sep 21:59
· 417 commits to main since this release

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 single handle() method to override and useful helper methods
  • The ProgressHelper has been removed and the ProgressBar class must be used
  • The TableHelper has largely been improved
  • DialogHelper has been replaced by a more robust QuestionHelper
  • Command.set_code() logic has changed to accept a Command 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