diff options
author | Eric Lin <anselor@gmail.com> | 2018-05-02 11:22:10 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-05-02 11:22:10 -0400 |
commit | 2528fb5217063a5a98f7ea2b880bfc75e7f2428c (patch) | |
tree | bfa1d30d5a2e1cebeffac4ea8d867588105b79a9 /examples | |
parent | bf5288829afde976dd213d15aa37704c3eb0a087 (diff) | |
download | cmd2-git-2528fb5217063a5a98f7ea2b880bfc75e7f2428c.tar.gz |
Added support for customizing the pyscript bridge pystate object name.
Removed all legacy pystate objects.
Changed default behavior to clear _last_result before each command
Added utility for creating named tuples with default values
Added tests to exercise new changes.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/tab_autocompletion.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tab_autocompletion.py b/examples/tab_autocompletion.py index 38a2b4e9..6146b64b 100755 --- a/examples/tab_autocompletion.py +++ b/examples/tab_autocompletion.py @@ -325,6 +325,7 @@ class TabCompleteExample(cmd2.Cmd): # No subcommand was provided, so call help self.do_help('media') + # This completer is implemented using a single dictionary to look up completion lists for all layers of # subcommands. For each argument, AutoCompleter will search for completion values from the provided # arg_choices dict. This requires careful naming of argparse arguments so that there are no unintentional |