diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-29 15:47:23 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-29 15:47:23 -0400 |
| commit | 31da70efe7160439eb6ab13f46739993f4d4cd7f (patch) | |
| tree | 56f8437b29dabb91928ab52b25229346f002b62e /cmd2/__init__.py | |
| parent | 25552125316eabc119e39e4abc136ca0c79fb403 (diff) | |
| download | cmd2-git-31da70efe7160439eb6ab13f46739993f4d4cd7f.tar.gz | |
Added import of ansi.style directly into cmd2 namespace in __init__.py
Also:
- Fixed an example in README which was using print() instead of self.poutput()
Diffstat (limited to 'cmd2/__init__.py')
| -rw-r--r-- | cmd2/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/__init__.py b/cmd2/__init__.py index e86fb9bb..d3c92636 100644 --- a/cmd2/__init__.py +++ b/cmd2/__init__.py @@ -10,6 +10,7 @@ except DistributionNotFound: # package is not installed pass +from .ansi import style from .cmd2 import Cmd, Statement, EmptyStatement, categorize from .cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args, with_category from .constants import DEFAULT_SHORTCUTS |
