Skip to content

Releases: python-poetry/cleo

0.6.6

21 May 18:40
0.6.6
220e233
Compare
Choose a tag to compare

Fixed

  • Fixed an error for choice questions with only one choice.

0.6.4

15 Mar 17:06
0.6.4
5c8163c
Compare
Choose a tag to compare

Fixed

  • Fixed bad python version requirements.

0.6.2

15 Mar 16:26
0.6.2
80ab283
Compare
Choose a tag to compare

Changed

  • Removed the memory formatter in progress bars and indicators

Fixed

  • Fixed an error in the call() method.

0.6.1

07 Aug 12:25
0.6.1
961067b
Compare
Choose a tag to compare

Changed

  • psutil is now opt-in to avoid failed compilations.

0.6.0

21 Apr 19:57
0.6.0
e948bb8
Compare
Choose a tag to compare

Added

  • Added a new completions command to generate autocompletion scripts.
  • Added support for command signature inheritance.
  • Added a new spin() helper to display a spinner.

Changed

  • Removed the _completion command.
  • Removes ability to choose when a command anme is ambiguous.

0.5.0

21 Sep 21:58
0.5.0
6c58884
Compare
Choose a tag to compare

Added

  • Improves terminal handling by adding the Terminal class.
  • Adds methods to write to stderr.
  • Adds write() and overwrite() method to commands.
  • Adds ability to regress progress bar.
  • Adds ability to choose when a command name is ambiguous.

Changed

  • Removes support for decorators and dictionaries declarations.
  • Simplifies public API for creating arguments and options.
  • Improves string formatting.
  • Hides _completion command from list.
  • Improves aliases display.
  • Displays errors even in quiet mode
  • Changes console header format
  • Simplifies the way to create single command application.
  • Simplifies command testing with user inputs.

v0.4.1

21 Sep 21:59
Compare
Choose a tag to compare

Added

  • Adding support for Windows

v0.4.0

21 Sep 21:59
Compare
Choose a tag to compare

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