summaryrefslogtreecommitdiff
path: root/cmd2/__init__.py
Commit message (Expand)AuthorAgeFilesLines
* Applied black formatEric Lin2021-08-231-1/+2
* * New function `set_default_command_completer_type()` allows developer to ext...Eric Lin2021-08-191-1/+11
* More mypy validation changes. cmd2.py is nearly fully mypy compliant now.Eric Lin2021-04-021-3/+5
* MyPy strict checking doesn't allow implicit exports. Must explicitly export i...Eric Lin2021-04-021-0/+41
* Merge branch 'master' into blackTodd Leonhardt2021-02-191-3/+3
|\
| * Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.Kevin Van Brunt2021-01-221-2/+1
| * Moved two classes from cmd2.py to utils.py.Kevin Van Brunt2020-09-091-2/+2
| * Refactored ArgparseCompleter to support custom completionKevin Van Brunt2020-09-011-1/+1
| * Merge branch 'master' into 2.0Kevin Van Brunt2020-08-271-1/+1
| |\
| * | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-131-2/+2
* | | Add black for automatic code formatTodd Leonhardt2021-01-311-2/+3
| |/ |/|
* | The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are...Kevin Van Brunt2020-08-261-1/+1
|/
* Verify that a completer function is defined in a CommandSet beforeEric Lin2020-08-061-2/+3
* Adds support for injectable subcommands as part of CommandSetEric Lin2020-08-041-1/+1
* Removed support for functions outside of CommandSetsEric Lin2020-08-041-1/+1
* Some minor cleanup of how imports work. Fixed issue with help documentation f...Eric Lin2020-08-041-0/+1
* Added type annotations for fields in cmd2.Cmd.Eric Lin2020-07-211-1/+2
* replace pkg_resources with importlib.metadataDoug Hellmann2020-07-121-3/+8
* Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it.Kevin Van Brunt2020-05-071-0/+1
* Moved categorize() to utils.py and made set_parser_prog() non-publicKevin Van Brunt2020-02-201-2/+2
* Moved custom cmd2 exceptions to a separate file and removed them from public APITodd Leonhardt2020-02-181-1/+1
* Made CompletionError exception available to non-argparse tab completionKevin Van Brunt2020-02-171-2/+2
* Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background ...Todd Leonhardt2020-02-061-1/+1
* Added cmd2.utils.Settable to the cmd2 namespace and updated examples and docsTodd Leonhardt2020-02-041-0/+1
* Added capability to override the argument parser class used by cmd2 built-in ...Kevin Van Brunt2019-11-191-1/+11
* Moving a bit of code around to shrink cmd2.pyKevin Van Brunt2019-10-311-3/+4
* Added CompletionError exception classKevin Van Brunt2019-09-201-1/+1
* Renamed PyscriptBridge to PyBridgeKevin Van Brunt2019-07-201-1/+1
* Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived class...Kevin Van Brunt2019-07-181-1/+1
* Renamed Cmd2ArgParser to ArgParserKevin Van Brunt2019-07-121-1/+1
* Moved all custom argparse classes intended for normal development to argparse...Kevin Van Brunt2019-07-071-0/+1
* Added import of ansi.style directly into cmd2 namespace in __init__.pyTodd Leonhardt2019-06-291-0/+1
* Fixed a bunch of examples which were broken due to moving DEFAULT_SHORTCUTS f...Todd Leonhardt2019-06-161-0/+1
* Fix flake8 issuesTodd Leonhardt2018-12-061-0/+1
* Use setuptools_scm for version numberskotfu2018-07-291-2/+10
* Deprecated CmdResult helper class and promoted CommandResultTodd Leonhardt2018-06-231-1/+2
* Working on improving type hintingTodd Leonhardt2018-06-091-0/+1
* Add EmptyStatement exception to default importskotfu2018-05-231-1/+1
* Add Statement to default importkotfu2018-05-151-1/+1
* Extract AddSubmenu() into it’s own modulekotfu2018-05-061-1/+1
* Add default imports back inkotfu2018-05-061-0/+2
* Addressed comments.Eric Lin2018-05-021-2/+0
* Merge remote-tracking branch 'origin/master' into bash_completionEric Lin2018-04-271-18/+0
|\
* | Removed the expensive imports from cmd2/__init__.pyEric Lin2018-04-251-2/+2
* | Initial customization of CompletionFinderEric Lin2018-04-241-0/+17
|/
* Cleaned up __init__.pyTodd Leonhardt2018-04-171-5/+2
* Fix unit tests on package branchTodd Leonhardt2018-04-171-3/+3
* Most of the unit tests fixed.kotfu2018-04-161-1/+3
* Basic structure for cmd2 as a packagekotfu2018-04-161-0/+6
* Revert "Basic structure for cmd2 as a package"kotfu2018-04-161-6/+0