summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Import ABC from collections.abc instead of collections for Python 3.9 ↵Karthikeyan Singaravelan2020-01-221-2/+3
| | | | compatibility.
* 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
|
* Improved responsiveness when setting windows title and printing alertsKevin Van Brunt2020-01-171-0/+2
|
* Updating some doc textKevin Van Brunt2020-01-161-1/+1
|
* Updating docs for default style functionsKevin Van Brunt2020-01-161-3/+3
|
* Add comment for broken_pipe_warningkotfu2020-01-141-0/+1
|
* Clean up function documentation so it renders properlykotfu2020-01-141-3/+7
|
* Move settable documentation from source code to api docskotfu2020-01-141-6/+0
|
* Remove attribute documentation for #821kotfu2020-01-141-22/+0
| | | | We will not try and have Sphnix extract attribute documentation from the source code, it will just live in the documentation.
* Merge branch 'master' into generating_output_docsTodd Leonhardt2020-01-099-115/+266
|\ | | | | | | | | | | # Conflicts: # docs/features/generating_output.rst # docs/features/settings.rst
| * Updated documentationKevin Van Brunt2020-01-071-1/+1
| |
| * Added dim text style supportKevin Van Brunt2020-01-071-9/+16
| |
| * Updated style regular expression to not require digitsKevin Van Brunt2019-12-191-2/+2
| |
| * Renamed ansi_safe_wcswidth() to style_aware_wcswidth()Kevin Van Brunt2019-12-196-29/+27
| | | | | | | | Renamed ansi_aware_write() to style_aware_write()
| * Merge branch 'master' into ansi_to_styleKevin Van Brunt2019-12-191-1/+1
| |\
| | * Fixed bug where startup script containing a single quote in its file name ↵Kevin Van Brunt2019-12-171-1/+1
| | | | | | | | | | | | was incorrectly quoted
| * | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵Kevin Van Brunt2019-12-194-56/+60
| |/ | | | | | | sequences are handled
| * Took out more rstrip() calls that are no longer neeededKevin Van Brunt2019-12-101-2/+2
| |
| * Took out rstrip() calls that are no longer neeededKevin Van Brunt2019-12-101-2/+2
| |
| * Renamed functions based on code review comments. Fixed Python warnings.Kevin Van Brunt2019-12-092-23/+25
| |
| * 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 ↵Kevin Van Brunt2019-12-093-23/+156
| | | | | | | | | | | | display widths greater than 1. Also added left and right justification functions.
| * Removed redundant line of codeKevin Van Brunt2019-12-061-1/+0
| |
| * Enabled line buffering when redirecting output to a fileKevin Van Brunt2019-12-051-6/+10
| |
* | Merge branch 'master' into generating_output_docskotfu2019-12-053-13/+17
|\ \ | |/ | | | | | | # Conflicts: # cmd2/ansi.py
| * Removed bold from style_successKevin Van Brunt2019-12-041-1/+1
| |
| * Fixed typo in documentationKevin Van Brunt2019-12-041-1/+1
| |
| * Added self to perror() for consistency and ease of overridingKevin Van Brunt2019-12-031-7/+7
| | | | | | | | poutput(), perror(), and pwarning() can now be called with no args
| * Gave names to parser variables for a few commands so developers overriding ↵Kevin Van Brunt2019-12-021-4/+8
| | | | | | | | these commands can use the parsers
* | Finish documenting settings and add new builtin_commands documentkotfu2019-11-291-0/+6
| |
* | Show various attribute documentation approaches for #821kotfu2019-11-291-3/+10
| |
* | Merge branch 'master' into generating_output_docskotfu2019-11-294-38/+50
|\ \ | |/
| * Renamed some parser arguments to make it more obvious they can accept more ↵Kevin Van Brunt2019-11-281-12/+12
| | | | | | | | than 1 value
| * Fixed bug where a redefined ansi.style_error was not being used in all cmd2 ↵Kevin Van Brunt2019-11-272-12/+12
| | | | | | | | files
| * Simplified line of codeKevin Van Brunt2019-11-251-2/+1
| |
| * Added # pragma: no cover to some code in rl_utilsKevin Van Brunt2019-11-241-2/+2
| |
| * Fixed flake8 warningKevin Van Brunt2019-11-241-2/+2
| |
| * Added documentationKevin Van Brunt2019-11-241-1/+2
| |
| * Updated warning textKevin Van Brunt2019-11-241-1/+1
| |
| * Added exception handling to account for non-standard Python environments in ↵Kevin Van Brunt2019-11-242-13/+25
| | | | | | | | which readline is not loaded dynamically from a shared library file
* | Show various options for documenting attributeskotfu2019-11-291-1/+15
| |
* | Fix flake8 errorkotfu2019-11-271-0/+5
| |
* | Fix minor errors in docstringskotfu2019-11-241-3/+4
|/
* Added apply_style to pwarning()Kevin Van Brunt2019-11-231-4/+7
|
* Fixed 2 bugs in ppaged():Kevin Van Brunt2019-11-231-4/+8
| | | | | - end was not being passed to poutput() - msg object was not being converted string before empty string check
* Updated arguments to pfeedback and ppaged for consistency with other cmd2 ↵Kevin Van Brunt2019-11-231-43/+46
| | | | print functions
* Added capability to override the argument parser class used by cmd2 built-in ↵Kevin Van Brunt2019-11-193-20/+40
| | | | commands