summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary inheritance from objectKevin Van Brunt2020-02-043-8/+8
|
* Added cmd2.utils.Settable to the cmd2 namespace and updated examples and docsTodd Leonhardt2020-02-041-0/+1
|
* Fixed a bug in a very unusual case and added some unit testsTodd Leonhardt2020-02-042-5/+7
|
* Updated CHANGELOG and made a few minor tweaksTodd Leonhardt2020-02-042-44/+8
|
* Updated set command to support tab completion of valuesKevin Van Brunt2020-02-042-97/+165
|
* Attempt to make "help -v" more discoverable by changing the default help textTodd Leonhardt2020-01-291-0/+3
|
* Addressed PR commentsTodd Leonhardt2020-01-271-2/+0
|
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-271-4/+4
| | | | This more accurately reflects what it controls
* Made three public attributes of cmd2.Cmd no longer settable at runtime by ↵Todd Leonhardt2020-01-271-8/+8
| | | | | | | | | end users The 3 attributes are: - continuation_prompt - locals_in_py - prompt
* Flushed out initialization documentationTodd Leonhardt2020-01-261-36/+36
| | | | | Also: - Rearranged some instance attributes in Cmd class to make it clear that they were not used by tab-completion functions.
* 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
| |