summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-052-44/+73
| |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / /
| | * | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-052-44/+73
| | |\ \ \ \ \ \ \ \ \ \
| * | \ \ \ \ \ \ \ \ \ \ Merge branch '2.0' into read_inputKevin Van Brunt2020-09-032-9/+26
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / /
| | * | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-032-9/+26
| | |\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Fixed flake8 errorKevin Van Brunt2020-09-011-1/+4
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Removed enum.auto() for Python 3.5 compatibilityKevin Van Brunt2020-09-011-3/+3
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Fixed docs errorKevin Van Brunt2020-09-011-1/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Updated commentsKevin Van Brunt2020-09-012-2/+6
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactored ArgparseCompleter to support custom completionKevin Van Brunt2020-09-013-67/+59
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactored read_input to support custom completionKevin Van Brunt2020-08-311-59/+138
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Refactored complete() to handle custom behavior from read_input()Kevin Van Brunt2020-08-311-74/+101
| |/ / / / / / / / / / / /
| * | | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-282-13/+13
| |\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | Removed Namespace.__statement__Kevin Van Brunt2020-08-272-4/+0
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-274-18/+44
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-253-15/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-202-24/+39
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Documented support for standalone functions being used as completers and ↵Kevin Van Brunt2020-08-182-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | choices_providers. Added unit tests for this case.
| * | | | | | | | | | | | | | | | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-136-201/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced completer_function / completer_method with completer. ArgparseCompleter now always passes cmd2.Cmd or CommandSet instance as the self argument to choices_provider and completer functions. Moved basic_complete from utils into cmd2.Cmd class. Moved CompletionError to exceptions.py
* | | | | | | | | | | | | | | | | Add in isort changesTodd Leonhardt2021-01-3113-47/+149
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Attempt to fix remaining black failuresTodd Leonhardt2021-01-311-13/+34
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Add black for automatic code formatTodd Leonhardt2021-01-3117-697/+964
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | 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
|/ / / / / / / / / / / / / /
* | | | | | | | | | | | | | 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
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | 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
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | |
* | | | | | | | | | | | feat(utils): probe editors in system pathMikhail Ushanov2020-11-171-21/+20
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mikhail Ushanov <gm.mephisto@gmail.com>
* | | | | | | | | | | 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 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
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | 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
| | | | | | | | | |