summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into 2.0Todd Leonhardt2021-01-311-28/+29
|\ | | | | | | | | # Conflicts: # CHANGELOG.md
| * Fixed syntax error in `pip install` command for GitHub ActionsTodd Leonhardt2021-01-301-28/+29
| | | | | | | | | | Also: - Refactored do_history command to extract a helper method to fix a flake8 warning about high complexity
* | Merge branch 'master' into 2.0Kevin Van Brunt2021-01-293-20/+40
|\ \ | |/
| * Printing error when OSError other than FileNotFoundError occurs when ↵Kevin Van Brunt2021-01-291-0/+3
| | | | | | | | deleting persistent history file with history --clear command.
| * Added more validation to TableCreatorKevin Van Brunt2021-01-291-0/+4
| |
| * Merge branch 'master' into header_tabsTodd Leonhardt2021-01-281-2/+2
| |\
| | * Update conditional pyreadline3 dependency for WinKyle King2021-01-271-2/+2
| | |
| * | Fixed FileNotFoundError which occurred when running 'history --clear' and no ↵header_tabsKevin Van Brunt2021-01-281-1/+4
| | | | | | | | | | | | history file existed.
| * | Fixed width calculation when table column headers had tabsKevin Van Brunt2021-01-281-17/+27
| |/
* | Merge branch 'master' into 2.0Kevin Van Brunt2021-01-282-2/+8
|\ \ | |/
| * Fix flake8 error and make type hinting consistentTodd Leonhardt2021-01-241-1/+1
| |
| * Merge branch 'master' into silent_startsilent_startTodd Leonhardt2021-01-231-0/+1
| |\
| | * Added py.typed to signal that we support type annotations for PEP-561. Fixes ↵Eric Lin2021-01-231-0/+1
| | | | | | | | | | | | #1036
| * | Added option to run startup scripts silentlyKevin Van Brunt2021-01-221-2/+7
| |/
* | Removed with_argparser_and_unknown_args since it was deprecated in 1.3.0.Kevin Van Brunt2021-01-222-45/+1
| |
* | Removed --silent flag from alias/macro create since startup scripts can be ↵Kevin Van Brunt2021-01-221-30/+6
| | | | | | | | | | | | run silently. Removed --with_silent flag from alias/macro list since startup scripts can be run silently.
* | Merge branch 'master' into 2.0Kevin Van Brunt2021-01-2214-96/+291
|\ \ | |/
| * Changed isort to force wrapping of imports to reduce merge conflicts from ↵Eric Lin2021-01-2214-68/+267
| | | | | | | | minor import changes.
| * Update editor list for Linux/Mac - add joe and change order of various ↵Todd Leonhardt2020-11-211-1/+1
| | | | | | | | graphical editors
| * Updated utils.find_editor() to include more Windows editorsKevin Van Brunt2020-11-191-22/+20
| |
* | Merge branch 'master' into 2.0Todd Leonhardt2020-11-211-21/+20
|\ \ | |/
| * feat(utils): probe editors in system pathMikhail Ushanov2020-11-171-21/+20
| | | | | | | | Signed-off-by: Mikhail Ushanov <gm.mephisto@gmail.com>
* | Merge branch 'master' into 2.0Kevin Van Brunt2020-11-121-2/+6
|\ \ | |/
| * Fixed bug where setting always_show_hint=True did not show a hint when ↵settable_hintKevin Van Brunt2020-11-121-2/+6
| | | | | | | | completing Settables
* | Merge branch 'master' into 2.0Todd Leonhardt2020-11-114-49/+115
|\ \ | |/ | | | | | | # Conflicts: # CHANGELOG.md
| * Merge branch 'master' into docstr_fmtTodd Leonhardt2020-11-111-1/+1
| |\
| | * Fixed tab completion crash on Windowswin_tab_crashKevin Van Brunt2020-11-111-1/+1
| | |
| * | specifying is not none on coditionsBambu2020-11-111-2/+2
| | |
| * | Merge branch 'master' into docstr_fmtTodd Leonhardt2020-11-111-3/+2
| |\ \ | | |/
| | * Replace with_argparser_and_unknown_args in docsKyle King2020-11-081-3/+2
| | |
| * | fix flake8 errorBambu2020-10-191-1/+0
| | |
| * | Format multiline docstrings to match other help messagesBambu2020-10-091-4/+10
| |/ | | | | | | Changed cmd2 do_cmd to dedent docstrings using `pydoc.getdoc`. This patch provides output for docstrings that look like using argparse or a single line docstring
| * Fixed issue where instantiating more than one cmd2-based class which uses ↵duplicate_subcommandKevin Van Brunt2020-09-302-11/+21
| | | | | | | | | | | | the @as_subcommand_to decorator resulted in duplicated help text in the base command the subcommands belong to.
| * Fixed issue where quoted redirectors and terminators in aliases and macros ↵Kevin Van Brunt2020-09-302-25/+75
| | | | | | | | | | | | were not being restored when read from a startup script.
| * Only setting subcommand handler on attached_parser and not its parent parserKevin Van Brunt2020-09-281-4/+6
| |
* | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-174-26/+84
|\ \ | |/
| * Small refactorsilenceKevin Van Brunt2020-09-171-6/+6
| |
| * Merge branch 'master' into silenceKevin Van Brunt2020-09-174-12/+46
| |\
| | * Minor type hinting fixes.Eric Lin2020-09-111-7/+14
| | |
| | * Changes default category to be heritable by default - meaning that ↵Eric Lin2020-09-114-5/+32
| | | | | | | | | | | | | | | | | | subclasses will inherit the parent class's default category. Adds optional flag to disable heritability.
| * | Added --silent flag to alias/macro create.Kevin Van Brunt2020-09-101-12/+36
| |/ | | | | | | Added --with_silent flag to alias/macro list.
* | Added section to completion docs about read_input() functionKevin Van Brunt2020-09-091-0/+1
| |
* | Moved two classes from cmd2.py to utils.py.Kevin Van Brunt2020-09-096-55/+56
| |
* | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-092-3/+20
|\ \
| * \ Merge branch 'master' into 2.0Kevin Van Brunt2020-09-092-3/+20
| |\ \ | | |/
| | * argparse tab completion now groups flag names which run the same action. ↵Kevin Van Brunt2020-09-091-1/+19
| | | | | | | | | | | | | | | | | | Optional flags are wrapped in brackets like it is done in argparse usage text.
| | * Added type hintKevin Van Brunt2020-09-051-2/+1
| | |
* | | Made CustomCompletionSettings public since it's optionally passed to public ↵Kevin Van Brunt2020-09-051-7/+8
| | | | | | | | | | | | method cmd2.Cmd.complete().
* | | Added pragma: no cover to some tab completion codeKevin Van Brunt2020-09-051-7/+5
| | |
* | | Updated unit tests for read_input()Kevin Van Brunt2020-09-051-2/+5
| | |