Skip to content

Commit 44d82ed

Browse files
committed
Deleted old examples/colors.py and updated documentation
1 parent a211fdf commit 44d82ed

File tree

3 files changed

+3
-93
lines changed

3 files changed

+3
-93
lines changed

docs/features/completion.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ Tab completion of argument values can be configured by using one of three parame
9696
- `completer`
9797

9898
See the [arg_decorators](https://github.com/python-cmd2/cmd2/blob/main/examples/arg_decorators.py)
99-
or [colors](https://github.com/python-cmd2/cmd2/blob/main/examples/colors.py) example for a
100-
demonstration of how to use the `choices` parameter. See the
99+
example for a demonstration of how to use the `choices` parameter. See the
101100
[argparse_completion](https://github.com/python-cmd2/cmd2/blob/main/examples/argparse_completion.py)
102101
example for a demonstration of how to use the `choices_provider` parameter. See the
103102
[arg_decorators](https://github.com/python-cmd2/cmd2/blob/main/examples/arg_decorators.py) or

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ each:
3232
- Show how to enable custom tab completion by assigning a completer function to `do_*` commands
3333
- [cmd2_as_argument.py](https://github.com/python-cmd2/cmd2/blob/main/examples/cmd_as_argument.py)
3434
- Demonstrates how to accept and parse command-line arguments when invoking a cmd2 application
35-
- [colors.py](https://github.com/python-cmd2/cmd2/blob/main/examples/colors.py)
36-
- Show various ways of using colorized output within a cmd2 application
35+
- [color.py](https://github.com/python-cmd2/cmd2/blob/main/examples/color.py)
36+
- Show the numerous colors available to use in your cmd2 applications
3737
- [custom_parser.py](https://github.com/python-cmd2/cmd2/blob/main/examples/custom_parser.py)
3838
- Demonstrates how to create your own custom `Cmd2ArgumentParser`
3939
- [decorator_example.py](https://github.com/python-cmd2/cmd2/blob/main/examples/decorator_example.py)

examples/colors.py

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)