summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cmd2_1.3.9.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-cmd2: Upgrade 1.3.9 -> 1.3.10Leon Anavi2020-09-211-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 1.3.10: - Added user-settable option called always_show_hint. If True, then tab completion hints will always display even when tab completion suggestions print. Arguments whose help or hint text is suppressed will not display hints even when this setting is True. - argparse tab completion now groups flag names which run the same action. Optional flags are wrapped in brackets like it is done in argparse usage text. - default category decorators are now heritable by default and will propagate the category down the class hierarchy until overridden. There's a new optional flag to set heritable to false. - Added --silent flag to alias/macro create. If used, then no confirmation message will be printed when aliases and macros are created or overwritten. - Added --with_silent flag to alias/macro list. Use this option when saving to a startup script that should silently create aliases and macros. - Fixed issue where flag names weren't always sorted correctly in argparse tab completion Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-cmd2: Upgrade 1.3.8 -> 1.3.9Leon Anavi2020-09-071-0/+20
Upgrade to release 1.3.9: Breaking Changes: - CommandSet.on_unregister() is now called as first step in unregistering a CommandSet and not the last. CommandSet.on_unregistered() is now the last step. Enhancements: - Added CommandSet.on_registered(). This is called by cmd2.Cmd after a CommandSet is registered and all its commands have been added to the CLI. - Added CommandSet.on_unregistered(). This is called by cmd2.Cmd after a CommandSet is unregistered and all its commands have been removed from the CLI. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>