Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed black, isort, flake8, and doc8 issues | Todd Leonhardt | 2021-02-19 | 1 | -13/+10 |
| | |||||
* | Merge branch 'master' into black | Todd Leonhardt | 2021-02-19 | 1 | -30/+13 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # cmd2/__init__.py # cmd2/argparse_completer.py # cmd2/argparse_custom.py # cmd2/cmd2.py # cmd2/decorators.py # cmd2/exceptions.py # cmd2/utils.py # examples/arg_decorators.py # examples/argparse_completion.py # examples/modular_commands_main.py # tests/test_argparse_completer.py # tests/test_argparse_custom.py # tests/test_cmd2.py # tests/test_completion.py # tests/test_history.py | ||||
| * | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-22 | 1 | -4/+11 |
| |\ | |||||
| * \ | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-27 | 1 | -0/+10 |
| |\ \ | |||||
| * | | | Replaced choices_function / choices_method with choices_provider. | Kevin Van Brunt | 2020-08-13 | 1 | -15/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 changes | Todd Leonhardt | 2021-01-31 | 1 | -5/+16 |
| | | | | |||||
* | | | | Attempt to fix remaining black failures | Todd Leonhardt | 2021-01-31 | 1 | -1/+9 |
| | | | | |||||
* | | | | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 1 | -33/+36 |
| |_|/ |/| | | |||||
* | | | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 1 | -4/+11 |
| |/ |/| | | | | | minor import changes. | ||||
* | | The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵ | Kevin Van Brunt | 2020-08-26 | 1 | -0/+10 |
|/ | | | | | | | 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. | ||||
* | Add unit test and update CHANGELOG | Todd Leonhardt | 2020-08-12 | 1 | -0/+7 |
| | |||||
* | Added info on semantic versioning and branching strategy to CONTRIBUTING.md | Todd Leonhardt | 2020-04-24 | 1 | -0/+1 |
| | | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes | ||||
* | Initial commit of table creation API | Kevin Van Brunt | 2020-04-09 | 1 | -5/+5 |
| | |||||
* | Added unit test for overriding default parser | Kevin Van Brunt | 2019-11-19 | 1 | -0/+17 |
| | |||||
* | Removed all instances where a parser's prog attribute was being set since ↵ | Kevin Van Brunt | 2019-10-30 | 1 | -16/+16 |
| | | | | this is no longer needed | ||||
* | Added functions to manually add choice providing functions to an argparse ↵ | Kevin Van Brunt | 2019-08-05 | 1 | -7/+18 |
| | | | | action. | ||||
* | Raising exception when a choices or completer function is used for an ↵ | Kevin Van Brunt | 2019-07-29 | 1 | -4/+17 |
| | | | | argument that takes no values | ||||
* | Renamed ArgParser to Cmd2ArgumentParser to make it clear it's a derived ↵ | Kevin Van Brunt | 2019-07-18 | 1 | -16/+17 |
| | | | | | | class of argparse.ArgumentParser when developers read the code in cmd2.py. | ||||
* | Changed format of help where nargs is a number greater than 1 | Kevin Van Brunt | 2019-07-15 | 1 | -33/+28 |
| | |||||
* | More unit tests | Kevin Van Brunt | 2019-07-15 | 1 | -9/+47 |
| | |||||
* | Added unit tests | Kevin Van Brunt | 2019-07-15 | 1 | -10/+55 |
| | |||||
* | Added ability to specify nargs ranges with no upper bound | Kevin Van Brunt | 2019-07-15 | 1 | -18/+15 |
| | |||||
* | Renamed Cmd2ArgParser to ArgParser | Kevin Van Brunt | 2019-07-12 | 1 | -14/+13 |
| | |||||
* | Added unit tests for argparse_custom.py | Kevin Van Brunt | 2019-07-10 | 1 | -7/+101 |
| | |||||
* | Reorganized argparse completion and custom unit tests | Kevin Van Brunt | 2019-07-05 | 1 | -0/+51 |