summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixing Sphinx error2.4.2Kevin Van Brunt2022-07-131-1/+1
|
* Updated CHANGELOG for 2.4.2 release.Kevin Van Brunt2022-07-132-2/+7
| | | | Fixed github image URLs in README so they link to the raw data. This fixes issue where the README did not display correctly on pypi.org.
* Fixed duplicate subparser name in test_add_parser_custom_completerMichał Górny2022-05-231-1/+1
| | | | | | | | If I'm not mistaken, the use of the same name for both subparsers was not intentional but a typo. In Python 3.11, this is an error and causes the test to fail. Fixes #1228
* Moved documentation annotation stripping into utility function. Changed ↵Eric Lin2022-04-255-21/+48
| | | | argparse decorator to automatically strip annotations.
* Updated change log for 2.4.1 release2.4.1Kevin Van Brunt2022-04-131-1/+1
|
* Fixed formatting errorKevin Van Brunt2022-04-131-1/+1
|
* Add an educational postcommand hookCase Ploeg2022-04-131-1/+14
| | | | | Not necessary for the sake of the example, but might help some curious individuals get a better feel for how the system works.
* update postparsing hooksCase Ploeg2022-04-131-6/+8
| | | | | | | | | Previously redirection information was lost by the postparsing hooks add_whitespace_hook() and downcase_hook(). This was fine for this simple shell, but sets a bad example for more complicated use cases. To fix this, when parsing the new Statement object, include the `post_command` attribute from the original Statement.
* async_alert() raises a RuntimeError if called from the main thread.Kevin Van Brunt2022-04-132-11/+26
|
* Fixed value for ansi.Bg.YELLOWKevin Van Brunt2022-04-132-1/+6
|
* Fix test suite ansi.allow_style handling (#1217)Jakub Kulík2022-04-131-17/+36
| | | | | * Fix test suite ansi.allow_style handling * Make black happy
* Fixed path to schema image in READMEKevin Van Brunt2022-03-161-1/+1
|
* final changes (#1200)Jerrad2022-03-015-297/+196
| | | Readme facelift from PR #1200
* Fixed spelling in a docstringKevin Van Brunt2022-02-241-1/+1
|
* Fixed type hint in unit test code2.4.0Kevin Van Brunt2022-02-221-2/+3
|
* Updated change log and license for releaseKevin Van Brunt2022-02-222-2/+2
|
* Reduced amount of style characters carried over from previous lines when ↵Kevin Van Brunt2022-02-228-61/+335
| | | | | | | aligning text. Also reduced amount of style characters appended to truncated text. These changes were made to reduce memory usage in certain use cases of tables (e.g. nested colored tables).
* cmd2 now uses pyreadline3 when running any version of Python on WindowsKevin Van Brunt2022-02-179-58/+23
|
* Improved some readline-related commentsKevin Van Brunt2022-02-172-8/+25
|
* Deleted cmd2.fg and cmd2.bg which were deprecated in 2.3.0. Use cmd2.Fg and ↵Kevin Van Brunt2022-02-174-74/+3
| | | | cmd2.Bg instead.
* Fixed issue where tab completion was quoting argparse flags in some cases.Kevin Van Brunt2022-02-163-33/+39
|
* Update modular_commands.rst (#1199)Varun Mittal2022-02-151-2/+2
| | | | | | | | | * Update modular_commands.rst The args given in the example are integers. Direct concatenation to string raises errors * Changed to f-string as per review comment Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com>
* Use latest version of black (#1201)Todd Leonhardt2022-02-151-1/+1
|
* Added PassThroughException to __init__.py imports. (#1194)Kevin Van Brunt2022-01-262-2/+9
| | | Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com>
* Updates cmd2 External Test Plugin URL (#1193)Evgeniy Vasilev2022-01-261-1/+1
| | | Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com>
* Added substantial documentation concerning pyscript (#1187)Jerrad2022-01-261-14/+413
| | | | | | | | | | | | | * Added substantial documentation concerning pyscript * Made suggested changes * final changes * fixed grammatical errors Co-authored-by: jay <you@example.com> Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com> Co-authored-by: J A <jand@blah.blah>
* Fixed issue in ansi.async_alert_str() which would raise IndexError if prompt ↵Kevin Van Brunt2022-01-172-1/+3
| | | | was blank. (#1188)
* Added 'no cover' pragma to importKevin Van Brunt2021-12-151-1/+1
|
* Simplified importKevin Van Brunt2021-12-151-12/+3
|
* Added broader exception handling when enabling clipboard functionality via ↵Kevin Van Brunt2021-12-153-7/+13
| | | | pyperclip.
* Updated change log for release2.3.3Kevin Van Brunt2021-11-291-1/+1
|
* Added clearer exception handling to BorderedTable and SimpleTableKevin Van Brunt2021-11-243-2/+36
|
* Fixed issue where a ns_provider could be passed None instead of its correct ↵2.3.2Kevin Van Brunt2021-11-224-5/+51
| | | | cmd2.Cmd or CommandSet value.
* Updated docstring2.3.1Kevin Van Brunt2021-11-181-2/+3
|
* Added unit tests for right-aligned numbers in completion hint tablesKevin Van Brunt2021-11-182-24/+51
|
* ArgparseCompleter now sorts CompletionItems created with numerical values as ↵Kevin Van Brunt2021-11-186-77/+122
| | | | | | | | | numbers. Completion hint tables now right-align the left column if the hints have a numerical type. Fixed issue introduced in 2.3.0 with AlternatingTable, BorderedTable, and SimpleTable that caused header alignment settings to be overridden by data alignment settings.
* Added ability to use CompletionItems as argparse choicesKevin Van Brunt2021-11-184-8/+118
|
* Upgraded change logKevin Van Brunt2021-11-121-0/+4
|
* Updated change log2.3.0Kevin Van Brunt2021-11-112-2/+2
|
* Updated unit testsKevin Van Brunt2021-11-111-1/+5
|
* Updated CommandSet unit testsKevin Van Brunt2021-11-111-48/+66
|
* Added ability to set border background color on BorderTables and ↵Kevin Van Brunt2021-11-103-78/+144
| | | | AlternatingTables
* Updated change logKevin Van Brunt2021-11-091-3/+4
|
* Added type checks to ansi.style()Kevin Van Brunt2021-10-272-1/+17
|
* Updated table example.Kevin Van Brunt2021-10-263-79/+92
| | | | | | Renamed Column settings: override_header_style -> style_header_text override_data_style -> style_data_text
* Added ability to colorize all aspects of SimpleTablesKevin Van Brunt2021-10-254-64/+266
|
* Added unit test for Cmd.select() return valuesKevin Van Brunt2021-10-252-0/+40
|
* Fixed regression in Cmd.select converting "Any" type argument to stringBenjamin George Roberts2021-10-251-2/+2
|
* Added ability to colorize all aspects of BorderedTables and AlternatingTables.Kevin Van Brunt2021-10-197-147/+239
| | | | Refactored utils.align_text() to print less fill_char style characters.
* Upgrade CI build systems to use Python 3.10 (#1151)Todd Leonhardt2021-10-197-36/+10
| | | | | | | | | | * Upgrade CI build systems to use Python 3.10 Changes include: - Switch Azure Pipelines to use Python 3.10 instead of 3.6 - Switch GitHub Actions to use Python 3.10 instead of 3.10b2 for main CI - Switch GitHub Actions to use Python 3.10 instead of 3.9 for all auxilliary CI * Fix nox file