Commit 9d9ed99e authored by ∞'s avatar 💻

Debug options

parent fd4fd42e
...@@ -4,7 +4,7 @@ from .colors import * # noqa ...@@ -4,7 +4,7 @@ from .colors import * # noqa
from .exceptions import Cli2Exception, Cli2ArgsException from .exceptions import Cli2Exception, Cli2ArgsException
from .parser import Parser from .parser import Parser
from .introspection import docfile, Callable, Importable, DocDescriptor from .introspection import docfile, Callable, Importable, DocDescriptor
from .command import command, Command from .command import command, Command, option, Option
from .console_script import ConsoleScript, Group from .console_script import ConsoleScript, Group
from .test import autotest from .test import autotest
from .cli import debug, docmod, help, run from .cli import debug, docmod, help, run
...@@ -74,6 +74,7 @@ def debug(callback, *args, **kwargs): ...@@ -74,6 +74,7 @@ def debug(callback, *args, **kwargs):
Kwargs: {YELLOW}{kwargs}{RESET} Kwargs: {YELLOW}{kwargs}{RESET}
console_script.parser.dashargs: {GREEN}{parser.dashargs}{RESET} console_script.parser.dashargs: {GREEN}{parser.dashargs}{RESET}
console_script.parser.dashkwargs: {GREEN}{parser.dashkwargs}{RESET} console_script.parser.dashkwargs: {GREEN}{parser.dashkwargs}{RESET}
console_script.parser.options: {GREEN}{parser.options}{RESET}
''').strip() ''').strip()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment