summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed tab completion crash on Windowswin_tab_crashKevin Van Brunt2020-11-112-1/+5
|
* Merge pull request #1012 from KyleKing/masterTodd Leonhardt2020-11-093-17/+12
|\ | | | | Replace `with_argparser_and_unknown_args` in docs
| * Replace with_argparser_and_unknown_args in docsKyle King2020-11-083-17/+12
|/
* Merge pull request #1011 from KyleKing/patch-1Todd Leonhardt2020-11-061-2/+2
|\ | | | | Fixed error in set --long, which should be set -v
| * Use set --verbose instead of -v in docsKyle King2020-10-311-2/+2
| |
| * Fixed error in set --long, which should be set -vKyle King2020-10-311-2/+2
|/ | | | | (Cmd) set --long Usage: set [-h] [-v] [param] [value] Error: unrecognized arguments: --long
* Merge pull request #1008 from stratosgear/patch-1Todd Leonhardt2020-10-171-1/+1
|\ | | | | Fix typo
| * typoStratos Gerakakis2020-10-101-1/+1
|/
* Merge pull request #1006 from mgorny/setuptools-depTodd Leonhardt2020-10-051-2/+1
|\ | | | | Remove unnecessary runtime dependency on setuptools
| * Remove unnecessary runtime dependency on setuptoolsMichał Górny2020-10-011-2/+1
|/ | | | | | The package does not seem to use setuptools or pkg_resources anywhere, and the dependency is probably leftover after migration to importlib.metadata.
* Updated change log for release1.3.11Kevin Van Brunt2020-10-011-1/+1
|
* Merge pull request #1005 from python-cmd2/duplicate_subcommandKevin Van Brunt2020-10-013-11/+23
|\ | | | | Fixed duplicate help text of subcommands
| * Fixed issue where instantiating more than one cmd2-based class which uses ↵duplicate_subcommandKevin Van Brunt2020-09-303-11/+23
|/ | | | | | the @as_subcommand_to decorator resulted in duplicated help text in the base command the subcommands belong to.
* Merge pull request #1004 from python-cmd2/redirected_aliasesKevin Van Brunt2020-09-305-35/+97
|\ | | | | Fixed alias/macro list commands to include quoted redirectors and terminators
| * Fixed issue where quoted redirectors and terminators in aliases and macros ↵Kevin Van Brunt2020-09-305-35/+97
|/ | | | | | were not being restored when read from a startup script.
* Merge pull request #1003 from python-cmd2/move_attachKevin Van Brunt2020-09-301-4/+6
|\ | | | | Setting subcommand handler on attached_parser and not its parent parser
| * Merge branch 'master' into move_attachmove_attachKevin Van Brunt2020-09-281-0/+66
| |\ | |/ |/|
* | Merge pull request #1001 from python-cmd2/codeqlTodd Leonhardt2020-09-281-0/+66
|\ \ | | | | | | Onboard to GitHub CodeQL security scanning
| * | Onboard to GitHub CodeQL security scanningcodeqlTodd Leonhardt2020-09-281-0/+66
|/ / | | | | Add codeql-analysis.yml file to onboard to GitHub's new CodeQL static analysis tool
| * Only setting subcommand handler on attached_parser and not its parent parserKevin Van Brunt2020-09-281-4/+6
|/
* Merge pull request #999 from python-cmd2/silence1.3.10Kevin Van Brunt2020-09-173-15/+73
|\ | | | | Added way to silence alias/macro creation
| * Small refactorsilenceKevin Van Brunt2020-09-171-6/+6
| |
| * Merge branch 'master' into silenceKevin Van Brunt2020-09-1711-20/+263
| |\ | |/ |/|
* | Minor type hinting fixes.Eric Lin2020-09-112-7/+21
| |
* | Changes default category to be heritable by default - meaning that ↵Eric Lin2020-09-118-5/+228
| | | | | | | | | | | | subclasses will inherit the parent class's default category. Adds optional flag to disable heritability.
* | Fixed classifier spacingplugin-ext-test-0.2.0Eric Lin2020-09-111-2/+2
| |
* | Updated URL and documentation in preparation for cmd2-ext-test 0.2.0 releaseEric Lin2020-09-112-7/+13
| |
| * Added --silent flag to alias/macro create.Kevin Van Brunt2020-09-103-12/+70
|/ | | | Added --with_silent flag to alias/macro list.
* Updated documentation about set commandKevin Van Brunt2020-09-091-9/+10
|
* Merge pull request #994 from python-cmd2/format_flagsKevin Van Brunt2020-09-093-27/+65
|\ | | | | Group flags in argparse tab completion
| * argparse tab completion now groups flag names which run the same action. ↵Kevin Van Brunt2020-09-093-27/+65
|/ | | | | | Optional flags are wrapped in brackets like it is done in argparse usage text.
* Added type hintKevin Van Brunt2020-09-051-2/+1
|
* Merge pull request #993 from python-cmd2/completion_hintsKevin Van Brunt2020-09-058-55/+131
|\ | | | | Completion hint enhancements
| * Added always_show_hint settingKevin Van Brunt2020-09-058-55/+131
|/ | | | Fixed issue where flag names weren't always sorted correctly in argparse tab completion
* Fixed type hints in example code1.3.9Kevin Van Brunt2020-09-033-3/+3
|
* Merge pull request #990 from python-cmd2/on_registeredKevin Van Brunt2020-09-039-31/+111
|\ | | | | Added callbacks to CommandSet
| * Documented CommandSet event handlersKevin Van Brunt2020-09-031-1/+29
| |
| * Added CommandSet.on_unregistered()Kevin Van Brunt2020-09-034-14/+33
| |
| * Updated docsKevin Van Brunt2020-09-015-16/+15
| |
| * Added unit tests for CommandSet callbacksKevin Van Brunt2020-09-012-5/+26
| |
| * Added on_registered() callback to CommandSetKevin Van Brunt2020-09-013-2/+15
|/
* Merge pull request #988 from python-cmd2/add_help1.3.8Kevin Van Brunt2020-08-286-31/+68
|\ | | | | Removed need to set add_help to False for @as_subcommand_to decorator
| * Fixed issue where subcommand added with @as_subcommand_to decorator did not ↵Kevin Van Brunt2020-08-276-31/+68
|/ | | | | | display help when called with -h/--help. 'add_help=False' no longer has to be passed to parsers used in @as_subcommand_to decorator.
* the with_argparse() decorator was incorrectly using a parsed statement ↵1.3.7Eric Lin2020-08-273-4/+26
| | | | object to search for the original function arguments. Switched to search for the original statement value instead
* Fixed typo in change logKevin Van Brunt2020-08-271-1/+2
|
* Updated change log for release1.3.6Kevin Van Brunt2020-08-271-1/+1
|
* Merge pull request #985 from python-cmd2/dynamic_valueKevin Van Brunt2020-08-2714-41/+86
|\ | | | | Added Cmd2AttributeWrapper class
| * The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵Kevin Van Brunt2020-08-2614-41/+86
|/ | | | | | | are now Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it easy to filter out which attributes in an argparse.Namespace were added by cmd2.
* Updated change log and docs for release1.3.5Kevin Van Brunt2020-08-252-1/+16
|
* Merge pull request #984 from python-cmd2/recursion_errorKevin Van Brunt2020-08-258-17/+48
|\ | | | | Fixed RecursionError when printing an argparse.Namespace