Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into move_attachmove_attach | Kevin Van Brunt | 2020-09-28 | 1 | -0/+66 |
|\ | |||||
| * | Merge pull request #1001 from python-cmd2/codeql | Todd Leonhardt | 2020-09-28 | 1 | -0/+66 |
| |\ | | | | | | | Onboard to GitHub CodeQL security scanning | ||||
| | * | Onboard to GitHub CodeQL security scanningcodeql | Todd Leonhardt | 2020-09-28 | 1 | -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 parser | Kevin Van Brunt | 2020-09-28 | 1 | -4/+6 |
|/ | |||||
* | Merge pull request #999 from python-cmd2/silence1.3.10 | Kevin Van Brunt | 2020-09-17 | 3 | -15/+73 |
|\ | | | | | Added way to silence alias/macro creation | ||||
| * | Small refactorsilence | Kevin Van Brunt | 2020-09-17 | 1 | -6/+6 |
| | | |||||
| * | Merge branch 'master' into silence | Kevin Van Brunt | 2020-09-17 | 11 | -20/+263 |
| |\ | |/ |/| | |||||
* | | Minor type hinting fixes. | Eric Lin | 2020-09-11 | 2 | -7/+21 |
| | | |||||
* | | Changes default category to be heritable by default - meaning that ↵ | Eric Lin | 2020-09-11 | 8 | -5/+228 |
| | | | | | | | | | | | | subclasses will inherit the parent class's default category. Adds optional flag to disable heritability. | ||||
* | | Fixed classifier spacingplugin-ext-test-0.2.0 | Eric Lin | 2020-09-11 | 1 | -2/+2 |
| | | |||||
* | | Updated URL and documentation in preparation for cmd2-ext-test 0.2.0 release | Eric Lin | 2020-09-11 | 2 | -7/+13 |
| | | |||||
| * | Added --silent flag to alias/macro create. | Kevin Van Brunt | 2020-09-10 | 3 | -12/+70 |
|/ | | | | Added --with_silent flag to alias/macro list. | ||||
* | Updated documentation about set command | Kevin Van Brunt | 2020-09-09 | 1 | -9/+10 |
| | |||||
* | Merge pull request #994 from python-cmd2/format_flags | Kevin Van Brunt | 2020-09-09 | 3 | -27/+65 |
|\ | | | | | Group flags in argparse tab completion | ||||
| * | argparse tab completion now groups flag names which run the same action. ↵ | Kevin Van Brunt | 2020-09-09 | 3 | -27/+65 |
|/ | | | | | | Optional flags are wrapped in brackets like it is done in argparse usage text. | ||||
* | Added type hint | Kevin Van Brunt | 2020-09-05 | 1 | -2/+1 |
| | |||||
* | Merge pull request #993 from python-cmd2/completion_hints | Kevin Van Brunt | 2020-09-05 | 8 | -55/+131 |
|\ | | | | | Completion hint enhancements | ||||
| * | Added always_show_hint setting | Kevin Van Brunt | 2020-09-05 | 8 | -55/+131 |
|/ | | | | Fixed issue where flag names weren't always sorted correctly in argparse tab completion | ||||
* | Fixed type hints in example code1.3.9 | Kevin Van Brunt | 2020-09-03 | 3 | -3/+3 |
| | |||||
* | Merge pull request #990 from python-cmd2/on_registered | Kevin Van Brunt | 2020-09-03 | 9 | -31/+111 |
|\ | | | | | Added callbacks to CommandSet | ||||
| * | Documented CommandSet event handlers | Kevin Van Brunt | 2020-09-03 | 1 | -1/+29 |
| | | |||||
| * | Added CommandSet.on_unregistered() | Kevin Van Brunt | 2020-09-03 | 4 | -14/+33 |
| | | |||||
| * | Updated docs | Kevin Van Brunt | 2020-09-01 | 5 | -16/+15 |
| | | |||||
| * | Added unit tests for CommandSet callbacks | Kevin Van Brunt | 2020-09-01 | 2 | -5/+26 |
| | | |||||
| * | Added on_registered() callback to CommandSet | Kevin Van Brunt | 2020-09-01 | 3 | -2/+15 |
|/ | |||||
* | Merge pull request #988 from python-cmd2/add_help1.3.8 | Kevin Van Brunt | 2020-08-28 | 6 | -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 Brunt | 2020-08-27 | 6 | -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.7 | Eric Lin | 2020-08-27 | 3 | -4/+26 |
| | | | | object to search for the original function arguments. Switched to search for the original statement value instead | ||||
* | Fixed typo in change log | Kevin Van Brunt | 2020-08-27 | 1 | -1/+2 |
| | |||||
* | Updated change log for release1.3.6 | Kevin Van Brunt | 2020-08-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #985 from python-cmd2/dynamic_value | Kevin Van Brunt | 2020-08-27 | 14 | -41/+86 |
|\ | | | | | Added Cmd2AttributeWrapper class | ||||
| * | The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵ | Kevin Van Brunt | 2020-08-26 | 14 | -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.5 | Kevin Van Brunt | 2020-08-25 | 2 | -1/+16 |
| | |||||
* | Merge pull request #984 from python-cmd2/recursion_error | Kevin Van Brunt | 2020-08-25 | 8 | -17/+48 |
|\ | | | | | Fixed RecursionError when printing an argparse.Namespace | ||||
| * | Fixed RecursionError when printing an argparse.Namespace caused by custom ↵ | Kevin Van Brunt | 2020-08-25 | 8 | -17/+48 |
|/ | | | | | | attribute cmd2 was adding Added get_statement() function to argparse.Namespace which returns __statement__ attribute | ||||
* | Fixed typo | Kevin Van Brunt | 2020-08-21 | 1 | -1/+1 |
| | |||||
* | Updated change log for release1.3.4 | Kevin Van Brunt | 2020-08-20 | 1 | -1/+5 |
| | |||||
* | Merge pull request #980 from python-cmd2/move_module_loading | Kevin Van Brunt | 2020-08-20 | 14 | -52/+336 |
|\ | | | | | Fixed AttributeError when loading CommandSet | ||||
| * | Added tests for invalid subcommands | Eric Lin | 2020-08-20 | 2 | -0/+90 |
| | | |||||
| * | Minor formatting changes. Fixed some inaccurate comments | Eric Lin | 2020-08-20 | 1 | -19/+72 |
| | | |||||
| * | Updated documentation with more explicit discussions on testing | Eric Lin | 2020-08-20 | 9 | -9/+95 |
| | | | | | | | | Added unit test to verify command name validation updates. | ||||
| * | Added validation of subcommand handler attributes | Eric Lin | 2020-08-20 | 2 | -8/+17 |
| | | |||||
| * | Fixed AttributeError when CommandSet that uses as_subcommand_to decorator is ↵ | Kevin Van Brunt | 2020-08-19 | 3 | -16/+62 |
|/ | | | | loaded during cmd2.Cmd.__init__(). | ||||
* | Updated changelog with 1.3.3 release date1.3.3 | Kevin Van Brunt | 2020-08-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #975 from python-cmd2/help_format_fix | Kevin Van Brunt | 2020-08-13 | 5 | -38/+133 |
|\ | | | | | Fix tuple metavar crash in Cmd2HelpFormatter and ArgparseCompleter | ||||
| * | Fixed tab completion bug when using CompletionItem on an argument whose ↵ | Kevin Van Brunt | 2020-08-13 | 3 | -20/+98 |
| | | | | | | | | metavar is a tuple | ||||
| * | Fixed changelog comment | Todd Leonhardt | 2020-08-12 | 1 | -1/+1 |
| | | |||||
| * | Add unit test and update CHANGELOG | Todd Leonhardt | 2020-08-12 | 2 | -0/+8 |
| | | |||||
| * | Fixed bug when trying to format help text of argument which used a tuple as ↵ | Kevin Van Brunt | 2020-08-12 | 1 | -18/+27 |
|/ | | | | its metavar | ||||
* | When passing a ns_provider to an argparse command, will now attempt to ↵ | Eric Lin | 2020-08-12 | 6 | -49/+96 |
| | | | | resolve the correct CommandSet instance for self. If not, it'll fall back and pass in the cmd2 app |