summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-12 15:47:29 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-12 15:47:29 -0500
commit191f94abda1c4d565ea5b2dd1bd66e346db3b51b (patch)
tree8bf9b0bfa7a49dd4713e8b31616275cab5cd87c9 /README.md
parentad0e2ae0d0d426fe08353fd82d1f9ff051be9108 (diff)
downloadcmd2-git-191f94abda1c4d565ea5b2dd1bd66e346db3b51b.tar.gz
Overhauling tab completion examples
Diffstat (limited to 'README.md')
-rwxr-xr-xREADME.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index c7849243..334d10ab 100755
--- a/README.md
+++ b/README.md
@@ -175,14 +175,14 @@ Instructions for implementing each feature follow.
- See the [paged_output.py](https://github.com/python-cmd2/cmd2/blob/master/examples/paged_output.py) example for a simple use case
- See the [python_scripting.py](https://github.com/python-cmd2/cmd2/blob/master/examples/python_scripting.py) example for a more full-featured use case
- `flag_based_complete` helper method for tab completion based on a particular flag preceding the token being completed
- - See the [tab_completion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_completion.py) example for a demonstration of how to use this feature
+ - See the [basic_completion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/basic_completion.py) example for a demonstration of how to use this feature
- `index_based_complete` helper method for tab completion based on a fixed position in the input string
- - See the [tab_completion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_completion.py) example for a demonstration of how to use this feature
+ - See the [basic_completion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/basic_completion.py) example for a demonstration of how to use this feature
- `basic_complete` helper method for tab completion against a list
- `delimiter_complete` helper method for tab completion against a list but each match is split on a delimiter
- - See the [tab_autocompletion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_autocompletion.py) example for a demonstration of how to use this feature
- - `cmd2` in combination with `argparse` also provide several advanced capabilities for automatic tab-completion
- - See the [tab_autocompletion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/tab_autocompletion.py) example for more info
+ - See the [basic_completion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/basic_completion.py) example for a demonstration of how to use this feature
+ - `cmd2` in combination with `argparse` also provide several advanced capabilities for automatic tab completion
+ - See the [argparse_completion.py](https://github.com/python-cmd2/cmd2/blob/master/examples/argparse_completion.py) example for more info
- Multi-line commands