summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated async_alert() to account for self.prompt not matching Readline's ↵async_promptKevin Van Brunt2021-09-104-51/+87
| | | | current prompt.
* Updated change logKevin Van Brunt2021-09-081-1/+2
|
* Fixed example codeKevin Van Brunt2021-09-071-2/+5
|
* Argparse tab completer will complete remaining flag names if there are no ↵Kevin Van Brunt2021-09-073-3/+19
| | | | more positionals to complete.
* Updating docsKevin Van Brunt2021-09-012-0/+6
|
* Added cmd2.Cmd method to determine what ArgparseCompleter type to useKevin Van Brunt2021-09-012-21/+22
|
* Added ap_completer_type arg to Cmd2ArgumentParser.__init__().Kevin Van Brunt2021-09-014-29/+163
| | | | Added unit tests for custom ArgparseCompleter
* Refactored custom ArgparseCompleter functionality so they will now be set ↵Kevin Van Brunt2021-09-0110-61/+131
| | | | | | 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 the history command.Kevin Van Brunt2021-08-251-9/+54
|
* Added self.last_result unit tests for run_script, _relative_run_script, and ↵Kevin Van Brunt2021-08-252-1/+34
| | | | set commands.
* Fixed extra space appended to each alias by "alias list" command.Kevin Van Brunt2021-08-254-8/+71
| | | | Added self.last_result unit tests for alias, edit, eof, help, macro, quit, shortcuts, and run_pyscript commands.
* Updated documentationKevin Van Brunt2021-08-231-1/+1
|
* All cmd2 built-in commands now populate self.last_resultKevin Van Brunt2021-08-233-8/+68
|
* Merge pull request #1133 from python-cmd2/topic_widthKevin Van Brunt2021-08-2314-172/+304
|\ | | | | Updated some commands to use SimpleTable in their output
| * Merge branch 'master' into topic_widthKevin Van Brunt2021-08-2312-65/+257
| |\ | |/ |/|
* | Removed DEFAULT_ARGUMENT_PARSER and DEFAULT_COMMAND_COMPLETER from __init.py__Kevin Van Brunt2021-08-232-12/+7
| |
* | Updated documentation for setting custom parsersKevin Van Brunt2021-08-233-3/+8
| |
* | Applied black formatEric Lin2021-08-234-8/+14
| |
* | * New function `set_default_command_completer_type()` allows developer to ↵Eric Lin2021-08-2310-43/+230
| | | | | | | | | | | | | | | | | | 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_widthKevin Van Brunt2021-08-191-0/+1
| |
| * Merge branch 'master' into topic_widthKevin Van Brunt2021-08-192-25/+2
| |\ | |/ |/|
* | Deleted set_choices_provider() and set_completer() which were deprecated in ↵Kevin Van Brunt2021-08-192-25/+4
| | | | | | | | 2.1.2
| * set command output now uses SimpleTable.Kevin Van Brunt2021-08-1914-135/+189
| | | | | | | | | | | | | | 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 SimpleTableKevin Van Brunt2021-08-112-40/+46
| |
| * Updated print_topics() and columnize() to account for ANSI styles and wide ↵Kevin Van Brunt2021-07-261-1/+75
|/ | | | characters
* Updated files for 2.1.2 release2.1.2Kevin Van Brunt2021-07-053-3/+3
|
* Added accessor methods for cmd2-specific attributes to the argparse.Action ↵Kevin Van Brunt2021-07-044-60/+319
| | | | | | class. Deprecated set_choices_provider() and set_completer() functions in favor of these new methods.
* Fixed spelling in docstringKevin Van Brunt2021-06-281-1/+1
|
* Updated docsKevin Van Brunt2021-06-253-3/+4
|
* Updated CHANGELOG for 2.1.1 release2.1.1Kevin Van Brunt2021-06-171-1/+3
|
* Trying to isolate betaEric Lin2021-06-171-2/+25
|
* Updated all examples to use Cmd2ArgumentParser instead of ↵Kevin Van Brunt2021-06-1715-51/+36
| | | | | | argparse.ArgumentParser. This is best practice for consistency of appearance between built-in and custom commands.
* Fixing tests on Python 3.10Kevin Van Brunt2021-06-178-51/+47
|
* Setting the version in nox to just '3.10' appears to allow 3.10.0b2 to run ↵Eric Lin2021-06-173-4/+7
| | | | | | | | for me github CI appears to require full beta version number which is incompatably with how nox wants the version passed in. Changed CI to run test targets without specifying version and relying on nox to auto-skip unsupported versions Added Python 3.10 to azure pipelines.
* Fixed handling of argparse's default options group name which was changed in ↵Kevin Van Brunt2021-06-174-5/+15
| | | | Python 3.10
* Excluding more temporary directories from the manifest. Added plugins back ↵Eric Lin2021-06-172-5/+7
| | | | in to enable isolated tests
* Add the tests_isolated directory back to the PyPI package for testing the ↵Todd Leonhardt2021-06-161-1/+0
| | | | CommandSet stuff (#1123)
* Add CI testing on Python 3.10 beta2 (#1122)Todd Leonhardt2021-06-142-2/+2
| | | | | | | * Begin testing on Python 3.10 beta 2 * Try to fix 3.10 build * Add nox session
* Updated CHANGELOG for 2.1.0 release2.1.0Kevin Van Brunt2021-06-141-2/+2
|
* Updated error message when invalid persistent history file is readKevin Van Brunt2021-06-141-1/+4
|
* Sorted exception listKevin Van Brunt2021-06-141-1/+1
|
* Fixed spelling in docKevin Van Brunt2021-06-141-1/+1
|
* Fixed Sphinx errorKevin Van Brunt2021-06-141-1/+1
|
* Updated documentation about persistent history filesKevin Van Brunt2021-06-141-5/+4
|
* Removed obsolete unit testKevin Van Brunt2021-06-141-27/+2
|
* Added unit tests for History and StatementKevin Van Brunt2021-06-142-0/+118
|
* Compressing JSON history filesKevin Van Brunt2021-06-142-10/+15
|
* Change mypy and lint github steps to use nox/invoke to make CI validation ↵Eric Lin2021-06-144-9/+21
| | | | configuration/commands match developer local commands.
* Converted persistent history files from pickle to JSON formatKevin Van Brunt2021-06-144-30/+111
|
* Updating version tag filterplugin-ext-test-2.0.0Eric Lin2021-06-072-5/+6
|