summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Expand)AuthorAgeFilesLines
* Made CustomCompletionSettings public since it's optionally passed to public m...Kevin Van Brunt2020-09-051-7/+8
* Added pragma: no cover to some tab completion codeKevin Van Brunt2020-09-051-7/+5
* Updated unit tests for read_input()Kevin Van Brunt2020-09-051-2/+5
* Merge branch '2.0' into read_inputKevin Van Brunt2020-09-051-14/+35
|\
| * Merge branch 'master' into 2.0Kevin Van Brunt2020-09-051-14/+35
| |\
| | * Added always_show_hint settingKevin Van Brunt2020-09-051-14/+35
* | | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-031-2/+5
|\ \ \ | |/ /
| * | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-031-2/+5
| |\ \ | | |/
| | * Added CommandSet.on_unregistered()Kevin Van Brunt2020-09-031-2/+4
| | * Added on_registered() callback to CommandSetKevin Van Brunt2020-09-011-0/+1
* | | Fixed flake8 errorKevin Van Brunt2020-09-011-1/+4
* | | Removed enum.auto() for Python 3.5 compatibilityKevin Van Brunt2020-09-011-3/+3
* | | Fixed docs errorKevin Van Brunt2020-09-011-1/+2
* | | Updated commentsKevin Van Brunt2020-09-011-1/+5
* | | Refactored ArgparseCompleter to support custom completionKevin Van Brunt2020-09-011-43/+29
* | | Refactored read_input to support custom completionKevin Van Brunt2020-08-311-59/+138
* | | Refactored complete() to handle custom behavior from read_input()Kevin Van Brunt2020-08-311-74/+101
|/ /
* | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-281-9/+9
|\ \ | |/
| * Fixed issue where subcommand added with @as_subcommand_to decorator did not d...Kevin Van Brunt2020-08-271-9/+9
* | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-271-2/+2
|\ \ | |/
| * The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are...Kevin Van Brunt2020-08-261-2/+2
* | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-251-2/+4
|\ \ | |/
| * Fixed RecursionError when printing an argparse.Namespace caused by custom att...Kevin Van Brunt2020-08-251-1/+3
| * Fixed typoKevin Van Brunt2020-08-211-1/+1
* | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-201-17/+27
|\ \ | |/
| * Added validation of subcommand handler attributesEric Lin2020-08-201-1/+5
| * Fixed AttributeError when CommandSet that uses as_subcommand_to decorator is ...Kevin Van Brunt2020-08-191-16/+22
* | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-131-31/+45
|/
* When passing a ns_provider to an argparse command, will now attempt to resolv...Eric Lin2020-08-121-1/+49
* Breaking change: Removed cmd2 app as a required second parameter toEric Lin2020-08-121-19/+12
* Updated with missing doc-string for new CommandSet parameters for cmd2.Cmd's ...Eric Lin2020-08-101-0/+8
* Will now traverse down CommandSet inheritance tree to find all leaf descendants.1.3.2Eric Lin2020-08-101-8/+38
* Moved a comment to better section off codeKevin Van Brunt2020-08-071-8/+8
* Removed unnecessary prog value from subcommand parsersKevin Van Brunt2020-08-071-6/+6
* Moved code which copies subparser's settings to _register_subcommands().Kevin Van Brunt2020-08-071-155/+175
* Minor formatting fixes. Injecting a function into namespace objects before pa...Eric Lin2020-08-041-7/+8
* Now maintains a command->CommandSet mapping and passes the CommandSetanselor2020-08-041-36/+104
* Added handling for disabled commands to CommandSet functionsKevin Van Brunt2020-08-041-6/+19
* Fixes to how command callables are filtered from CommandSetEric Lin2020-08-041-4/+5
* Fixed issue where we attempted to remove CommandSet from a list it was not inKevin Van Brunt2020-08-041-1/+2
* Removed sub-class and instead patch argparse._SubParsersActionEric Lin2020-08-041-3/+3
* Suggested PR Fixes.Eric Lin2020-08-041-19/+15
* Adds unit tests for sub-commands and additional commandset edge casesEric Lin2020-08-041-12/+17
* Adds support for injectable subcommands as part of CommandSetEric Lin2020-08-041-5/+94
* updated importsEric Lin2020-08-041-3/+2
* Removed support for functions outside of CommandSetsEric Lin2020-08-041-74/+11
* Added an additional check for isinstance(method, Callable) since there are sc...Eric Lin2020-08-041-1/+2
* Added more command validation. Moved some common behavior into private functi...Eric Lin2020-08-041-26/+49
* Fixes to sphinx generationEric Lin2020-08-041-1/+1
* Fixes issue with locating help_ annd complete_ functions when autoloading com...Eric Lin2020-08-041-5/+27