| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Updated async_alert() to account for self.prompt not matching Readline's ↵ | Kevin Van Brunt | 2021-09-14 | 2 | -30/+70 |
| | | | | | current prompt. | ||||
| * | Argparse tab completer will complete remaining flag names if there are no ↵ | Kevin Van Brunt | 2021-09-07 | 1 | -3/+4 |
| | | | | | more positionals to complete. | ||||
| * | Updating docs | Kevin Van Brunt | 2021-09-01 | 1 | -0/+2 |
| | | |||||
| * | Added cmd2.Cmd method to determine what ArgparseCompleter type to use | Kevin Van Brunt | 2021-09-01 | 2 | -21/+22 |
| | | |||||
| * | Added ap_completer_type arg to Cmd2ArgumentParser.__init__(). | Kevin Van Brunt | 2021-09-01 | 2 | -1/+12 |
| | | | | | Added unit tests for custom ArgparseCompleter | ||||
| * | Refactored custom ArgparseCompleter functionality so they will now be set ↵ | Kevin Van Brunt | 2021-09-01 | 6 | -54/+121 |
| | | | | | | | using methods on ArgumentParser objects. This fixes issue where subcommands did not use the correct custom ArgparseCompleter type. | ||||
| * | Added self.last_result unit tests for run_script, _relative_run_script, and ↵ | Kevin Van Brunt | 2021-08-25 | 1 | -0/+1 |
| | | | | | set commands. | ||||
| * | Fixed extra space appended to each alias by "alias list" command. | Kevin Van Brunt | 2021-08-25 | 1 | -6/+8 |
| | | | | | Added self.last_result unit tests for alias, edit, eof, help, macro, quit, shortcuts, and run_pyscript commands. | ||||
| * | All cmd2 built-in commands now populate self.last_result | Kevin Van Brunt | 2021-08-23 | 2 | -8/+67 |
| | | |||||
| * | Merge branch 'master' into topic_width | Kevin Van Brunt | 2021-08-23 | 6 | -46/+180 |
| |\ | |||||
| | * | Removed DEFAULT_ARGUMENT_PARSER and DEFAULT_COMMAND_COMPLETER from __init.py__ | Kevin Van Brunt | 2021-08-23 | 1 | -6/+3 |
| | | | |||||
| | * | Updated documentation for setting custom parsers | Kevin Van Brunt | 2021-08-23 | 1 | -1/+4 |
| | | | |||||
| | * | Applied black format | Eric Lin | 2021-08-23 | 3 | -7/+12 |
| | | | |||||
| | * | * New function `set_default_command_completer_type()` allows developer to ↵ | Eric Lin | 2021-08-23 | 6 | -40/+169 |
| | | | | | | | | | | | | | | | | | | | extend and modify the behavior of `ArgparseCompleter`. * New function `register_argparse_argument_parameter()` allows developers to specify custom parameters to be passed to the argparse parser's `add_argument()` method. These parameters will become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior. | ||||
| * | | Updated documentationtopic_width | Kevin Van Brunt | 2021-08-19 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch 'master' into topic_width | Kevin Van Brunt | 2021-08-19 | 1 | -25/+0 |
| |\ \ | |/ | |||||
| | * | Deleted set_choices_provider() and set_completer() which were deprecated in ↵ | Kevin Van Brunt | 2021-08-19 | 1 | -25/+0 |
| | | | | | | | | | 2.1.2 | ||||
| * | | set command output now uses SimpleTable. | Kevin Van Brunt | 2021-08-19 | 4 | -33/+64 |
| | | | | | | | | | | | | | | | Tabled tab completion now includes divider row. Tab completion results for aliases, macros, and Settables wrap long fields. SimpleTable now accepts blank for the divider character. It is identical to passing None. Removed --verbose flag from set command so the descriptions always show. | ||||
| * | | Updated _print_topics() to use SimpleTable | Kevin Van Brunt | 2021-08-11 | 2 | -40/+46 |
| | | | |||||
| * | | Updated print_topics() and columnize() to account for ANSI styles and wide ↵ | Kevin Van Brunt | 2021-07-26 | 1 | -1/+75 |
| |/ | | | | characters | ||||
| * | Added accessor methods for cmd2-specific attributes to the argparse.Action ↵ | Kevin Van Brunt | 2021-07-04 | 2 | -60/+273 |
| | | | | | | | class. Deprecated set_choices_provider() and set_completer() functions in favor of these new methods. | ||||
| * | Updated all examples to use Cmd2ArgumentParser instead of ↵ | Kevin Van Brunt | 2021-06-17 | 1 | -2/+2 |
| | | | | | | | argparse.ArgumentParser. This is best practice for consistency of appearance between built-in and custom commands. | ||||
| * | Fixing tests on Python 3.10 | Kevin Van Brunt | 2021-06-17 | 1 | -1/+1 |
| | | |||||
| * | Fixed handling of argparse's default options group name which was changed in ↵ | Kevin Van Brunt | 2021-06-17 | 2 | -4/+10 |
| | | | | | Python 3.10 | ||||
| * | Updated error message when invalid persistent history file is read | Kevin Van Brunt | 2021-06-14 | 1 | -1/+4 |
| | | |||||
| * | Sorted exception list | Kevin Van Brunt | 2021-06-14 | 1 | -1/+1 |
| | | |||||
| * | Compressing JSON history files | Kevin Van Brunt | 2021-06-14 | 1 | -9/+14 |
| | | |||||
| * | Converted persistent history files from pickle to JSON format | Kevin Van Brunt | 2021-06-14 | 3 | -30/+107 |
| | | |||||
| * | Updated documentation. Added support for calling cmd2.Cmd.run_editor() with ↵ | Kevin Van Brunt | 2021-05-25 | 1 | -2/+2 |
| | | | | | no argument. | ||||
| * | Merge branch 'master' into make-run_editor-public | Todd Leonhardt | 2021-05-24 | 1 | -5/+10 |
| |\ | |||||
| | * | do_eof() now just calls the quit function | Kevin Van Brunt | 2021-05-17 | 1 | -5/+10 |
| | | | |||||
| * | | Make _run_editor() public | Simon J. Rowe | 2021-05-14 | 1 | -3/+3 |
| |/ | |||||
| * | Removed cmd2.Cmd.quit_on_sigint. | Kevin Van Brunt | 2021-04-30 | 1 | -14/+7 |
| | | |||||
| * | Stopping a shell command with Ctrl-C now raises a KeyboardInterrupt to ↵ | Kevin Van Brunt | 2021-04-30 | 2 | -15/+52 |
| | | | | | | | support stopping a text script which ran the shell command. On POSIX systems, shell commands and processes being piped to are now run in the user's preferred shell instead of /bin/sh. | ||||
| * | Changed default behavior of runcmds_plus_hooks() to not stop when Ctrl-C is ↵ | Kevin Van Brunt | 2021-04-30 | 1 | -4/+5 |
| | | | | | pressed and instead run the next command in its list. | ||||
| * | Added handling for OSError caused by trying to load a GNU readline shared ↵ | Kevin Van Brunt | 2021-04-28 | 1 | -2/+2 |
| | | | | | | | library in Python environments like PyPy which have a pure Python implementation of readline. | ||||
| * | Renamed silent_startup_script to silence_startup_script for clarity | Kevin Van Brunt | 2021-04-28 | 1 | -4/+4 |
| | | |||||
| * | Made the amount of space between columns in a SimpleTable configurablecolumn_spacing | Kevin Van Brunt | 2021-04-21 | 1 | -11/+19 |
| | | |||||
| * | Fixed typo in docstring | Kevin Van Brunt | 2021-04-21 | 1 | -1/+1 |
| | | |||||
| * | Updated main code to use f-strings | Kevin Van Brunt | 2021-04-13 | 8 | -159/+122 |
| | | |||||
| * | Add mypy validation action | Eric Lin | 2021-04-06 | 2 | -2/+2 |
| | | |||||
| * | And that's the last of it. Passes mypy. | Eric Lin | 2021-04-06 | 10 | -74/+118 |
| | | |||||
| * | history, py_bridge, transcript now passs mypy | Eric Lin | 2021-04-06 | 4 | -37/+48 |
| | | |||||
| * | Command function formats defined and decorators.py updated with the defined ↵ | Eric Lin | 2021-04-06 | 2 | -22/+71 |
| | | | | | signatures | ||||
| * | More mypy fixes | Eric Lin | 2021-04-06 | 5 | -51/+81 |
| | | |||||
| * | Replaced some pexcept() calls with perror(). | Kevin Van Brunt | 2021-04-02 | 2 | -31/+26 |
| | | | | | | | Converted some strings to f-strings. Fixed some grammar in error messages and docs. Increased code coverage. | ||||
| * | Refactored _perform_completion() to remove need for a cast() call | Kevin Van Brunt | 2021-04-02 | 2 | -19/+20 |
| | | | | | Changed CommandResult.stderr to a str instead of Optional[str] | ||||
| * | More mypy validation changes. cmd2.py is nearly fully mypy compliant now. | Eric Lin | 2021-04-02 | 7 | -69/+91 |
| | | |||||
| * | More things to make mypy happy. | Eric Lin | 2021-04-02 | 8 | -174/+239 |
| | | |||||
| * | MyPy strict checking doesn't allow implicit exports. Must explicitly export ↵ | Eric Lin | 2021-04-02 | 1 | -0/+41 |
| | | | | | in __init__.py | ||||
