summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cmd2_1.3.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* python3-cmd2: Upgrade 1.3.2 -> 1.3.3Leon Anavi2020-08-181-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 1.3.3: - CommandSet command functions (do_, complete_, help_) will no longer have the cmd2 app passed in as the first parameter after self since this is already a class member. - Renamed install_command_set() and uninstall_command_set() to register_command_set() and unregister_command_set() for better name consistency. - Fixed help formatting bug in Cmd2ArgumentParser when metavar is a tuple. - Fixed tab completion bug when using CompletionItem on an argument whose metavar is a tuple. - Added explicit testing against python 3.5.2 for Ubuntu 16.04, and 3.5.3 for Debian 9. - Added fallback definition of typing.Deque (taken from 3.5.4) - Removed explicit type hints that fail due to a bug in 3.5.2 favoring comment-based hints instead. - When passing a ns_provider to an argparse command, will now attempt to resolve the correct CommandSet instance for self. If not, it'll fall back and pass in the cmd2 app. - Added missing doc-string for new cmd2.Cmd init parameters introduced by CommandSet enhancement. 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.1 -> 1.3.2Leon Anavi2020-08-131-0/+20
Upgrade to release 1.3.2: - Added functions to fetch registered CommandSets by type and command name. - Fixed prog value of subcommands added with as_subcommand_to() decorator. - Fixed missing settings in subcommand parsers created with as_subcommand_to() decorator. These settings include things like description and epilog text. - Fixed issue with CommandSet auto-discovery only searching direct sub-classes Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>