diff options
| author | Eric Lin <anselor@gmail.com> | 2021-08-19 17:03:42 -0400 |
|---|---|---|
| committer | anselor <anselor@gmail.com> | 2021-08-23 14:17:12 -0400 |
| commit | 49805324772ec5fcd06217f4f0a241a9a8d07960 (patch) | |
| tree | a1647a18085df118bbe12dc37c67104f2817024b /examples/custom_parser.py | |
| parent | 6d771e96c0507d9ef4ad3eaaf4bc83669396e591 (diff) | |
| download | cmd2-git-49805324772ec5fcd06217f4f0a241a9a8d07960.tar.gz | |
* New function `set_default_command_completer_type()` allows developer to extend and modify the
behavior of `ArgparseCompleter`.
* New function `register_argparse_argument_parameter()` allows developers to specify custom
parameters to be passed to the argparse parser's `add_argument()` method. These parameters will
become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior.
Diffstat (limited to 'examples/custom_parser.py')
0 files changed, 0 insertions, 0 deletions
