Skip to content

Commit 60ab11c

Browse files
authored
Merge pull request #774 from python-cmd2/completion_state
Completion state
2 parents f10674e + c7bf16f commit 60ab11c

File tree

6 files changed

+258
-224
lines changed

6 files changed

+258
-224
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* Enhancements
66
* No longer treating empty text scripts as an error condition
77
* Allow dynamically extending a `cmd2.Cmd` object instance with a `do_xxx` method at runtime
8+
* Choices/Completer functions can now be passed a dictionary that maps command-line tokens to their
9+
argparse argument. This is helpful when one argument determines what is tab completed for another argument.
10+
If these functions have an argument called `arg_tokens`, then AutoCompleter will automatically pass this
11+
dictionary to them.
812

913
## 0.9.16 (August 7, 2019)
1014
* Bug Fixes

0 commit comments

Comments
 (0)