We are pumped to announce the release of: cliff 2.8.0: Command Line Interface Formulation Framework This release is part of the pike release series. The source is available from: http://git.openstack.org/cgit/openstack/cliff Download the package from: https://pypi.python.org/pypi/cliff Please report issues through launchpad: https://bugs.launchpad.net/python-cliff For more details, please see below. Changes in cliff 2.7.0..2.8.0 ----------------------------- d025ad9 add tests for display command classes and hooks c6d258d Run hooks for DisplayCommandBase 180d7ce add --fit-width option to table formatter ccd2e04 sphinxext: Add 'application' option to the autoprogram directive 807c910 use openstackdocstheme html context efa324a switch from oslosphinx to openstackdocstheme 14f8beb Fix erroneous line in command hook test 0a7157d make smart help formatter test deterministic d4f3c49 remove references to distribute in the docs 95c749d add before and after hooks 45de8e4 add hook for get_epilog e72e54e add hook for manipulating the argument parser 6c1c1ed Updated from global requirements decac43 pass the command name from HelpCommand 40b75d8 Adjust completenames tests for cmd2 0.7.3+ 44db83f rearrange existing content to follow new standard 632b12a sphinext: Use metavar where possible 2e27ef0 sphinxext: Use 'argparse.description', 'argparse.epilog' 8d85b1c sphinxext: Allow configuration of ignorable options 78f1880 sphinxext: Generate better usage examples cdc5c0c add cmd_name argument to CompleteCommand f2c381c Ensure python standard argparse module is loaded 4a91773 Updated from global requirements Diffstat (except docs and test files) ------------------------------------- cliff/_argparse.py | 30 ++++ cliff/app.py | 4 +- cliff/argparse.py | 30 ---- cliff/command.py | 76 ++++++++- cliff/complete.py | 4 +- cliff/display.py | 2 + cliff/formatters/table.py | 20 ++- cliff/help.py | 11 +- cliff/hooks.py | 65 ++++++++ cliff/interactive.py | 4 +- cliff/sphinxext.py | 136 ++++++++++------ demoapp/cliffdemo/hook.py | 50 ++++++ demoapp/setup.py | 4 + test-requirements.txt | 6 +- 44 files changed, 1906 insertions(+), 1186 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index ee61629..ff80475 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11 +11 @@ testscenarios>=0.4 # Apache-2.0/BSD -coverage>=4.0 # Apache-2.0 +coverage!=4.4,>=4.0 # Apache-2.0 @@ -14,2 +14,2 @@ coverage>=4.0 # Apache-2.0 -sphinx>=1.5.1 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +sphinx>=1.6.2 # BSD +openstackdocstheme>=1.11.0 # Apache-2.0