summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cmd2_1.3.8.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-cmd2: Upgrade 1.3.8 -> 1.3.9Leon Anavi2020-09-071-20/+0
| | | | | | | | | | | | | | | | | | | | | 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>
* python3-cmd2: Upgrade 1.3.5 -> 1.3.8Leon Anavi2020-09-021-0/+20
Upgrade to release 1.3.8: - Fixed issue where subcommand added with @as_subcommand_to decorator did not display help when called with -h/--help. - add_help=False no longer has to be passed to parsers used in @as_subcommand_to decorator. Only pass this if your subcommand should not have the -h/--help help option (as stated in argparse documentation). 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>