summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add comment for broken_pipe_warningkotfu2020-01-141-0/+1
|
* 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-091-41/+49
|\ | | | | | | | | | | # Conflicts: # docs/features/generating_output.rst # docs/features/settings.rst
| * Updated documentationKevin Van Brunt2020-01-071-1/+1
| |
| * Renamed ansi_safe_wcswidth() to style_aware_wcswidth()Kevin Van Brunt2019-12-191-5/+5
| | | | | | | | 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-191-24/+24
| |/ | | | | | | sequences are handled
| * Took out more 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-091-2/+7
| |
| * Updated center_text to support ansi escape sequences and characters with ↵Kevin Van Brunt2019-12-091-3/+3
| | | | | | | | | | | | 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-051-11/+15
|\ \ | |/ | | | | | | # Conflicts: # cmd2/ansi.py
| * 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-291-16/+13
|\ \ | |/
| * Renamed some parser arguments to make it more obvious they can accept more ↵Kevin Van Brunt2019-11-281-12/+12
| | | | | | | | than 1 value
| * Added exception handling to account for non-standard Python environments in ↵Kevin Van Brunt2019-11-241-4/+1
| | | | | | | | which readline is not loaded dynamically from a shared library file
* | Show various options for documenting attributeskotfu2019-11-291-1/+15
|/
* 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-191-18/+18
| | | | commands
* Reformatted warning messageKevin Van Brunt2019-11-181-3/+3
|
* Fixed bug where pipe processes were not being stopped by Ctrl-C on WindowsKevin Van Brunt2019-11-181-10/+8
|
* Fixed sphinx doc errorKevin Van Brunt2019-11-171-3/+2
|
* Updating unit testsKevin Van Brunt2019-11-171-2/+2
|
* Updated comments and change logKevin Van Brunt2019-11-161-2/+2
|
* Updating unit testsKevin Van Brunt2019-11-161-1/+1
|
* Added cmd2-specific input() function that reads from the correct stdin and ↵Kevin Van Brunt2019-11-161-67/+92
| | | | can disable tab completion
* Fix bug where cmd2 ran 'stty sane' command when stdin was not a terminalKevin Van Brunt2019-11-111-1/+1
|
* Made some cmd2 module constants cmd2.Cmd class constantsKevin Van Brunt2019-10-311-10/+10
|
* Moving a bit of code around to shrink cmd2.pyKevin Van Brunt2019-10-311-247/+26
| | | | | This includes moving cmd2 decorators into a new file called decorators.py Moved some constants from cmd2.py to constants.py
* Merge branch 'master' into set_progTodd Leonhardt2019-10-301-15/+18
|\ | | | | | | | | # Conflicts: # CHANGELOG.md
| * Merge branch 'master' into history_editTodd Leonhardt2019-10-301-2/+2
| |\
| | * Only removing ipy from cmd2 instances instead of the class when use_ipython ↵Kevin Van Brunt2019-10-301-2/+2
| | | | | | | | | | | | is False
| * | do_history no longer calls do_edit since edit is a command that is commonly ↵Kevin Van Brunt2019-10-301-13/+16
| |/ | | | | | | overridden
* | Fixed warningKevin Van Brunt2019-10-301-0/+1
| |
* | Setting prog value of a command and its subcommand parsers to contain the ↵Kevin Van Brunt2019-10-301-22/+43
|/ | | | command name and not sys.argv[0]
* Send all startup script paths to run_script. Previously we didn't do this if theKevin Van Brunt2019-10-181-2/+2
| | | | file was empty, but that showed no record of the run_script command in history.
* Fixed a commentTodd Leonhardt2019-10-081-1/+1
|
* Fixed ValueError exception which can occur when opening an old format ↵Todd Leonhardt2019-10-071-1/+2
| | | | persistent history file with a new version of cmd2
* AutoCompleter now handles mutually exclusive groupsKevin Van Brunt2019-09-271-1/+1
|
* Fixed bug introduced by get_names() looking at self instead of self.__class__.Kevin Van Brunt2019-09-241-16/+9
| | | | Help functions for hidden and disabled commands were not being filtered out as help topics.