summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed mypy and flake8 errors.Kevin Van Brunt2023-01-271-2/+4
* Fixed ValueError caused when passing Cmd.columnize() strings wider than displ...Kevin Van Brunt2023-01-271-1/+2
* Use latest version of mypy and fix type hinting accordingly (#1239)Todd Leonhardt2022-07-141-2/+2
* Moved documentation annotation stripping into utility function. Changed argpa...Eric Lin2022-04-251-17/+2
* async_alert() raises a RuntimeError if called from the main thread.Kevin Van Brunt2022-04-131-11/+24
* cmd2 now uses pyreadline3 when running any version of Python on WindowsKevin Van Brunt2022-02-171-4/+4
* Improved some readline-related commentsKevin Van Brunt2022-02-171-3/+4
* Fixed issue where tab completion was quoting argparse flags in some cases.Kevin Van Brunt2022-02-161-33/+35
* Added broader exception handling when enabling clipboard functionality via py...Kevin Van Brunt2021-12-151-1/+1
* Fixed issue where a ns_provider could be passed None instead of its correct c...2.3.2Kevin Van Brunt2021-11-221-1/+0
* 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-191-5/+5
* Added support for 8-bit/256-colors with the cmd2.EightBitFg and cmd2.EightBit...Kevin Van Brunt2021-10-181-12/+23
* Fixed AttributeError in rl_get_prompt() when prompt is None.Kevin Van Brunt2021-10-111-24/+14
* Updated async_alert() to account for self.prompt not matching Readline's curr...Kevin Van Brunt2021-09-141-17/+23
* Added cmd2.Cmd method to determine what ArgparseCompleter type to useKevin Van Brunt2021-09-011-6/+19
* Refactored custom ArgparseCompleter functionality so they will now be set usi...Kevin Van Brunt2021-09-011-29/+21
* Added self.last_result unit tests for run_script, _relative_run_script, and s...Kevin Van Brunt2021-08-251-0/+1
* Fixed extra space appended to each alias by "alias list" command.Kevin Van Brunt2021-08-251-6/+8
* All cmd2 built-in commands now populate self.last_resultKevin Van Brunt2021-08-231-6/+65
* Merge branch 'master' into topic_widthKevin Van Brunt2021-08-231-28/+41
|\
| * Applied black formatEric Lin2021-08-231-6/+9
| * * New function `set_default_command_completer_type()` allows developer to ext...Eric Lin2021-08-231-28/+38
* | set command output now uses SimpleTable.Kevin Van Brunt2021-08-191-31/+58
* | Updated _print_topics() to use SimpleTableKevin Van Brunt2021-08-111-28/+34
* | Updated print_topics() and columnize() to account for ANSI styles and wide ch...Kevin Van Brunt2021-07-261-1/+75
|/
* Fixing tests on Python 3.10Kevin Van Brunt2021-06-171-1/+1
* Updated error message when invalid persistent history file is readKevin Van Brunt2021-06-141-1/+4
* Sorted exception listKevin Van Brunt2021-06-141-1/+1
* Compressing JSON history filesKevin Van Brunt2021-06-141-9/+14
* Converted persistent history files from pickle to JSON formatKevin Van Brunt2021-06-141-30/+19
* Updated documentation. Added support for calling cmd2.Cmd.run_editor() with n...Kevin Van Brunt2021-05-251-2/+2
* Merge branch 'master' into make-run_editor-publicTodd Leonhardt2021-05-241-5/+10
|\
| * do_eof() now just calls the quit functionKevin Van Brunt2021-05-171-5/+10
* | Make _run_editor() publicSimon J. Rowe2021-05-141-3/+3
|/
* Removed cmd2.Cmd.quit_on_sigint.Kevin Van Brunt2021-04-301-14/+7
* Stopping a shell command with Ctrl-C now raises a KeyboardInterrupt to suppor...Kevin Van Brunt2021-04-301-13/+50
* Changed default behavior of runcmds_plus_hooks() to not stop when Ctrl-C is p...Kevin Van Brunt2021-04-301-4/+5
* Renamed silent_startup_script to silence_startup_script for clarityKevin Van Brunt2021-04-281-4/+4
* Updated main code to use f-stringsKevin Van Brunt2021-04-131-118/+89
* Add mypy validation actionEric Lin2021-04-061-1/+1
* And that's the last of it. Passes mypy.Eric Lin2021-04-061-17/+16
* history, py_bridge, transcript now passs mypyEric Lin2021-04-061-3/+3
* Command function formats defined and decorators.py updated with the defined s...Eric Lin2021-04-061-0/+1
* More mypy fixesEric Lin2021-04-061-6/+8
* Replaced some pexcept() calls with perror().Kevin Van Brunt2021-04-021-30/+25
* Refactored _perform_completion() to remove need for a cast() callKevin Van Brunt2021-04-021-15/+17
* More mypy validation changes. cmd2.py is nearly fully mypy compliant now.Eric Lin2021-04-021-49/+57
* More things to make mypy happy.Eric Lin2021-04-021-115/+135
* Changed History to use OrderDict to support Python 3.6 in non-CPython environ...Kevin Van Brunt2021-03-301-1/+2