summaryrefslogtreecommitdiff
path: root/cmd2/utils.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed issue where quoted redirectors and terminators in aliases and macros we...Kevin Van Brunt2020-09-301-9/+21
* Minor type hinting fixes.Eric Lin2020-09-111-7/+14
* Changes default category to be heritable by default - meaning that subclasses...Eric Lin2020-09-111-1/+4
* Minor fixes to enable Python 3.5.2 supportEric Lin2020-08-111-2/+7
* Verify that a completer function is defined in a CommandSet beforeEric Lin2020-08-061-1/+30
* Documented CompletionError classKevin Van Brunt2020-04-231-4/+4
* Updated docsKevin Van Brunt2020-04-221-9/+10
* Merge branch 'master' into table_creatorTodd Leonhardt2020-04-151-10/+16
|\
| * onecmd_plus_hooks() no longer handles updating any state data related to redi...Kevin Van Brunt2020-04-121-10/+16
| * Simplfied _redirect_output() by raising exception instead of returning boolKevin Van Brunt2020-04-111-1/+1
* | Merge branch 'master' into table_creatorKevin Van Brunt2020-04-111-1/+1
|\ \ | |/
| * Made some optional arguments with defaults keyword-only.Kevin Van Brunt2020-04-111-1/+1
* | Initial commit of table creation APIKevin Van Brunt2020-04-091-17/+56
|/
* Making build_settables() public againKevin Van Brunt2020-02-281-1/+1
* Merge branch 'master' into api_docskotfu2020-02-211-2/+2
|\
| * Removed hyphen from tab-completionKevin Van Brunt2020-02-211-2/+2
* | Embedded examples and cross-links for categorize() and with_category()kotfu2020-02-201-1/+13
* | Fix merge errorkotfu2020-02-201-15/+0
* | Merge branch 'master' into api_docskotfu2020-02-201-2/+42
|\ \ | |/
| * Moved categorize() to utils.py and made set_parser_prog() non-publicKevin Van Brunt2020-02-201-0/+15
| * Added apply_style to CompletionErrorKevin Van Brunt2020-02-181-1/+15
| * Made CompletionError exception available to non-argparse tab completionKevin Van Brunt2020-02-171-0/+11
| * Renamed AutoCompleter to ArgparseCompleter for clarityKevin Van Brunt2020-02-171-2/+2
* | move `categorize()` to `utils.py` and make `set_parser_prog` a private methodkotfu2020-02-141-0/+15
|/
* Fix optional type hintTodd Leonhardt2020-02-111-2/+2
* Allowing for colored fill char in align_textKevin Van Brunt2020-02-111-14/+34
* Fixed bug where ANSI style sequences were not correctly handled in utils.trun...Kevin Van Brunt2020-02-111-17/+61
* Added more to Settable docstringKevin Van Brunt2020-02-051-2/+9
* Added more to onchange_cb documentationKevin Van Brunt2020-02-051-3/+7
* Added remove_settable() since cmd2 has add_settable()Kevin Van Brunt2020-02-051-4/+7
* Updated documentationKevin Van Brunt2020-02-051-2/+4
* Removed unnecessary inheritance from objectKevin Van Brunt2020-02-041-5/+5
* Fixed a bug in a very unusual case and added some unit testsTodd Leonhardt2020-02-041-4/+5
* Updated CHANGELOG and made a few minor tweaksTodd Leonhardt2020-02-041-37/+5
* Updated set command to support tab completion of valuesKevin Van Brunt2020-02-041-3/+58
* Import ABC from collections.abc instead of collections for Python 3.9 compati...Karthikeyan Singaravelan2020-01-221-2/+3
* Renamed functionKevin Van Brunt2020-01-171-14/+14
* Updating unit testsKevin Van Brunt2020-01-171-2/+2
* Added string truncation function and support for it in the alignment functionsKevin Van Brunt2020-01-171-14/+71
* Renamed ansi_safe_wcswidth() to style_aware_wcswidth()Kevin Van Brunt2019-12-191-5/+5
* Changed allow_ansi to allow_style for accuracy in what types of ANSI escape s...Kevin Van Brunt2019-12-191-5/+5
* Renamed functions based on code review comments. Fixed Python warnings.Kevin Van Brunt2019-12-091-21/+18
* Added more text alignment unit testsKevin Van Brunt2019-12-091-0/+6
* Adding unit tests for text alignment functionsKevin Van Brunt2019-12-091-15/+13
* Updated center_text to support ansi escape sequences and characters with disp...Kevin Van Brunt2019-12-091-16/+148
* Fixed bug where pipe processes were not being stopped by Ctrl-C on WindowsKevin Van Brunt2019-11-181-2/+4
* Fixed ProcessLookupErrorKevin Van Brunt2019-11-171-1/+5
* Fixed bug where pipe processes were not being stopped by Ctrl-C on Linux/MacKevin Van Brunt2019-11-171-3/+4
* Updated docstring of which to be more accurate in its purposeKevin Van Brunt2019-10-301-11/+11
* Fixed a few commands that would have failed if arguments containing quotes we...Kevin Van Brunt2019-07-241-6/+11