diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-07 00:54:50 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-07 00:54:50 -0500 |
commit | 217bc5b319479c915014c937e6455bd037e4c9af (patch) | |
tree | 35981c3334b8a3e651153eaa82d0eaf63fc24a3b /README.md | |
parent | 3f075900264fee32c356aac3d03b2568664ba684 (diff) | |
download | cmd2-git-217bc5b319479c915014c937e6455bd037e4c9af.tar.gz |
Updated changelog to address removal of ansi.FG_COLORS and ansi.BG_COLORS and mention their replacement by ansi.fg and ansi.bg enums
Also:
- Use ansi.fg in async_printing.py and README.md
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ Instructions for implementing each feature follow. class MyApp(cmd2.Cmd): def do_foo(self, args): """This docstring is the built-in help for the foo command.""" - self.poutput(cmd2.style('foo bar baz', fg='red')) + self.poutput(cmd2.style('foo bar baz', fg=cmd2.fg.red)) ``` - By default the docstring for your **do_foo** method is the help for the **foo** command - NOTE: This doesn't apply if you use one of the `argparse` decorators mentioned below |