diff options
| author | Eric Lin <anselor@gmail.com> | 2018-04-25 11:40:33 -0400 |
|---|---|---|
| committer | Eric Lin <anselor@gmail.com> | 2018-04-25 11:40:33 -0400 |
| commit | e018bbd79b2ddc0cf2538dff84baa8b2bf460ccd (patch) | |
| tree | 4c35a13a67d0c1902e9d9a95be38f8da2d2f8160 /cmd2/__init__.py | |
| parent | 4193ef0344359d050bbfa469cbb898a52db97622 (diff) | |
| download | cmd2-git-e018bbd79b2ddc0cf2538dff84baa8b2bf460ccd.tar.gz | |
Removed the expensive imports from cmd2/__init__.py
Added some shared definitions to cmd2/__init__.py -> maybe there's a better place for these?
Figured out how to trick bash into showing argument hints. It's a bit weird.
Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py
For #369
Diffstat (limited to 'cmd2/__init__.py')
| -rw-r--r-- | cmd2/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/__init__.py b/cmd2/__init__.py index 773eba37..cea82e57 100644 --- a/cmd2/__init__.py +++ b/cmd2/__init__.py @@ -1,8 +1,8 @@ # # -*- coding: utf-8 -*- # -from .cmd2 import __version__, Cmd, set_posix_shlex, set_strip_quotes, AddSubmenu, CmdResult, categorize -from .cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args, with_category +# from .cmd2 import __version__, Cmd, set_posix_shlex, set_strip_quotes, AddSubmenu, CmdResult, categorize +# from .cmd2 import with_argument_list, with_argparser, with_argparser_and_unknown_args, with_category # Used for tab completion and word breaks. Do not change. QUOTES = ['"', "'"] |
