Releases
0.9.4
Compare
Sorry, something went wrong.
No results found
Bug Fixes
Fixed bug where preparse was not getting called
Fixed bug in parsing of multiline commands where matching quote is on another line
Enhancements
Improved implementation of lifecycle hooks to support a plugin
framework, see docs/hooks.rst for details.
New dependency on attrs third party module
Added matches_sorted member to support custom sorting of tab-completion matches
Added tab_autocomp_dynamic.py example
Demonstrates updating the argparse object during init instead of during class construction
Deprecations
Deprecated the following hook methods, see hooks.rst for full details:
cmd2.Cmd.preparse() - equivalent functionality available
via cmd2.Cmd.register_postparsing_hook()
cmd2.Cmd.postparsing_precmd() - equivalent functionality available
via cmd2.Cmd.register_postparsing_hook()
cmd2.Cmd.postparsing_postcmd() - equivalent functionality available
via cmd2.Cmd.register_postcmd_hook()
You can’t perform that action at this time.