Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No longer using -1 as an exit codeexit_code | Kevin Van Brunt | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | onecmd_plus_hooks() now sets self.exit_code when a SystemExit handled | Kevin Van Brunt | 2021-03-23 | 1 | -0/+3 |
| | |||||
* | Some mypy validation fixes | Eric Lin | 2021-03-18 | 1 | -2/+0 |
| | |||||
* | Added link for command_definition module | Kevin Van Brunt | 2021-03-08 | 1 | -0/+2 |
| | |||||
* | Added cmd2.exceptions.PassThroughExceptionexception_passthrough | Kevin Van Brunt | 2021-03-02 | 1 | -0/+3 |
| | |||||
* | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 2 | -4/+7 |
| | |||||
* | Merge branch 'master' into black | Todd Leonhardt | 2021-02-19 | 5 | -20/+49 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # cmd2/__init__.py # cmd2/argparse_completer.py # cmd2/argparse_custom.py # cmd2/cmd2.py # cmd2/decorators.py # cmd2/exceptions.py # cmd2/utils.py # examples/arg_decorators.py # examples/argparse_completion.py # examples/modular_commands_main.py # tests/test_argparse_completer.py # tests/test_argparse_custom.py # tests/test_cmd2.py # tests/test_completion.py # tests/test_history.py | ||||
| * | Merge branch 'master' into 2.02.0 | Todd Leonhardt | 2021-02-14 | 1 | -1/+1 |
| |\ | |||||
| | * | Update modular_commands.rst | Kory Gill | 2021-02-13 | 1 | -1/+1 |
| | | | | | | | | | Minor fix to use cmd2 intead of cmd in example text. | ||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-29 | 4 | -6/+18 |
| |\ \ | | |/ | |||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-22 | 1 | -1/+1 |
| |\ \ | |||||
| * \ \ | Merge branch 'master' into 2.0 | Todd Leonhardt | 2020-11-11 | 4 | -14/+15 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| * | | | | Added section to completion docs about read_input() function | Kevin Van Brunt | 2020-09-09 | 1 | -0/+12 |
| | | | | | |||||
| * | | | | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-09 | 1 | -9/+10 |
| |\ \ \ \ | |||||
| | * \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-09 | 1 | -9/+10 |
| | |\ \ \ \ | |||||
| * | | | | | | Moved two classes from cmd2.py to utils.py. | Kevin Van Brunt | 2020-09-09 | 2 | -23/+27 |
| | | | | | | | |||||
| * | | | | | | Made CustomCompletionSettings public since it's optionally passed to public ↵ | Kevin Van Brunt | 2020-09-05 | 1 | -4/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | method cmd2.Cmd.complete(). | ||||
| * | | | | | | Merge branch '2.0' into read_input | Kevin Van Brunt | 2020-09-03 | 1 | -6/+34 |
| |\ \ \ \ \ \ | | |/ / / / / | |||||
| | * | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-03 | 1 | -6/+34 |
| | |\ \ \ \ \ | |||||
| * | | | | | | | Fixed docs error | Kevin Van Brunt | 2020-09-01 | 1 | -0/+4 |
| |/ / / / / / | |||||
| * | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-28 | 1 | -2/+2 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Removed Namespace.__statement__ | Kevin Van Brunt | 2020-08-27 | 1 | -6/+2 |
| | | | | | | | | |||||
| * | | | | | | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-27 | 3 | -11/+13 |
| |\ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-25 | 1 | -1/+17 |
| |\ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-20 | 7 | -8/+80 |
| |\ \ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | | Replaced choices_function / choices_method with choices_provider. | Kevin Van Brunt | 2020-08-13 | 3 | -19/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced completer_function / completer_method with completer. ArgparseCompleter now always passes cmd2.Cmd or CommandSet instance as the self argument to choices_provider and completer functions. Moved basic_complete from utils into cmd2.Cmd class. Moved CompletionError to exceptions.py | ||||
* | | | | | | | | | | | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 1 | -20/+19 |
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |||||
* | | | | | | | | | | Updated documentationmisc | Kevin Van Brunt | 2021-01-29 | 1 | -0/+9 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Merge branch 'master' into pr/docs/md/brokenlink | Todd Leonhardt | 2021-01-28 | 2 | -5/+8 |
|\ \ \ \ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into pr/doc/commands | Todd Leonhardt | 2021-01-28 | 1 | -3/+6 |
| |\ \ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | Update conditional pyreadline3 dependency for Win | Kyle King | 2021-01-27 | 1 | -3/+6 |
| | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | |||||
| * | | | | | | | | | | Fix doc in docs/features/commands.rst | Kevin "Tristate Tom" Weiss | 2021-01-28 | 1 | -2/+2 |
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | finis should be finish. A missing double quote (") for the docstring in the `do_bail` example makes formatting incorrect. | ||||
* | | | | | | | | | | docs/features/modular_commands: fix broken link | Kevin "Tristate Tom" Weiss | 2021-01-28 | 1 | -1/+1 |
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I guess the examples structure has changed since the docs. I suggest changing the broken link: https://github.com/python-cmd2/cmd2/tree/master/plugins/command_sets/examples to https://github.com/python-cmd2/cmd2/tree/master/examples/modular_commands Maybe also hiding the full link is nice. | ||||
* | | | | | | | | | Fix wrong superclass in doc | Kilian | 2021-01-02 | 1 | -1/+1 |
| |_|_|_|_|_|_|/ |/| | | | | | | | |||||
* | | | | | | | | Replace with_argparser_and_unknown_args in docs | Kyle King | 2020-11-08 | 1 | -11/+8 |
| | | | | | | | | |||||
* | | | | | | | | Use set --verbose instead of -v in docs | Kyle King | 2020-10-31 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | Fixed error in set --long, which should be set -v | Kyle King | 2020-10-31 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Cmd) set --long Usage: set [-h] [-v] [param] [value] Error: unrecognized arguments: --long | ||||
* | | | | | | | | typo | Stratos Gerakakis | 2020-10-10 | 1 | -1/+1 |
| | | | | | | | | |||||
* | | | | | | | | Fixed issue where quoted redirectors and terminators in aliases and macros ↵ | Kevin Van Brunt | 2020-09-30 | 1 | -0/+4 |
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | were not being restored when read from a startup script. | ||||
* | | | | | | | Updated documentation about set command | Kevin Van Brunt | 2020-09-09 | 1 | -9/+10 |
| |_|_|_|_|/ |/| | | | | | |||||
* | | | | | | Fixed type hints in example code1.3.9 | Kevin Van Brunt | 2020-09-03 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Documented CommandSet event handlers | Kevin Van Brunt | 2020-09-03 | 1 | -1/+29 |
| | | | | | | |||||
* | | | | | | Updated docs | Kevin Van Brunt | 2020-09-01 | 1 | -4/+4 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Fixed issue where subcommand added with @as_subcommand_to decorator did not ↵ | Kevin Van Brunt | 2020-08-27 | 1 | -2/+2 |
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | display help when called with -h/--help. 'add_help=False' no longer has to be passed to parsers used in @as_subcommand_to decorator. | ||||
* | | | | The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵ | Kevin Van Brunt | 2020-08-26 | 3 | -11/+13 |
| |_|/ |/| | | | | | | | | | | | | | | | | | are now Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it easy to filter out which attributes in an argparse.Namespace were added by cmd2. | ||||
* | | | Updated change log and docs for release1.3.5 | Kevin Van Brunt | 2020-08-25 | 1 | -0/+15 |
| | | | |||||
* | | | Fixed RecursionError when printing an argparse.Namespace caused by custom ↵ | Kevin Van Brunt | 2020-08-25 | 1 | -1/+2 |
| |/ |/| | | | | | | | | | attribute cmd2 was adding Added get_statement() function to argparse.Namespace which returns __statement__ attribute | ||||
* | | Updated documentation with more explicit discussions on testing | Eric Lin | 2020-08-20 | 7 | -8/+80 |
|/ | | | | Added unit test to verify command name validation updates. | ||||
* | Breaking change: Removed cmd2 app as a required second parameter to | Eric Lin | 2020-08-12 | 1 | -34/+35 |
| | | | | | | CommandSet command functions (do_, complete_, help_). Renamed install_command_set and uninstall_command_set to register_command_set and unregister_command_set. | ||||
* | Verify that a completer function is defined in a CommandSet before | Eric Lin | 2020-08-06 | 2 | -1/+5 |
| | | | | | | | | | | passing it a CommandSet instance. Search for a CommandSet instance that matches the completer's parent class type.` Resolves Issue #967 Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation |