summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added self.last_result unit tests for the history command.unit_testsKevin Van Brunt2021-08-241-9/+54
|
* Added self.last_result unit tests for run_script, _relative_run_script, and ↵Kevin Van Brunt2021-08-242-1/+34
| | | | set commands.
* Fixed extra space appended to each alias by "alias list" command.Kevin Van Brunt2021-08-244-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
|
* Updated minimum cmd2 version for plugins to 2.0 due to API breaking changes.Eric Lin2021-06-072-3/+3
|
* Update changelog2.0.1Todd Leonhardt2021-06-071-0/+4
|
* Don't include tests_isolated directory in cmd2 tarball published to PyPITodd Leonhardt2021-06-071-0/+1
| | | | This is because those tests require the cmd2-ext-test plugin
* Merge pull request #1115 from python-cmd2/fix_manifestTodd Leonhardt2021-06-071-0/+1
|\ | | | | Exclude plugins directory from tarball when cmd2 release is published
| * Exclude plugins directory from tarball when cmd2 release is published to PyPITodd Leonhardt2021-06-061-0/+1
|/
* Merge pull request #1114 from python-cmd2/fix_testsTodd Leonhardt2021-06-061-1/+1
|\ | | | | Try to fix tests failures on master
| * Try to fix tests on masterTodd Leonhardt2021-06-061-1/+1
|/
* Attempt to fix test failures on master branchTodd Leonhardt2021-06-061-1/+1
|