Skip to content

0.7.0

Compare
Choose a tag to compare
@sdispater sdispater released this 07 Dec 15:04
0.7.0
d3b0763

This version breaks backwards compatibility and caution is advised when updating.

While the public API of the Command class is mostly the same, a lot of the internals has changed
or has been removed.

Cleo is now mostly a higher level wrapper for CliKit which is
more flexible.

Added

  • Added a sub command system via CliKit.
  • Added an event system via CliKit.

Changed

  • All helper classes have been removed. If you use the Command methods this should not affect you.
  • The testers get_display() method has been removed. Use tester.io.fetch_output().
  • The testers execute() method no longer requires the command name and requires a string as arguments instead of a list.
  • The testers execute() method now accepts a inputs keyword argument to pass user inputs.
  • The call() method no longer requires the command name and requires a string as arguments instead of a list.
  • The tables now automatically wraps the cells based on the available width.
  • The table separators and table cells elements have been removed.
  • The look and feel of the help command has changed.
  • Namespace commands are no longer supported and will be treated as standard commands.
  • The list command has been removed and merged with help.