cliff/cliff
Doug Hellmann e72e54e757 add hook for manipulating the argument parser
Update Commands to load a separate set of extensions to be used as
"hooks," triggered at different points in the processing of the
command. Start with a hook that is given access to the argument parser
for the command so it can modify it.

Change-Id: I0785548fd36a61cda616921a4a21be3f67701300
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-30 09:50:07 -04:00
..
formatters Add print_empty parameter 2016-11-21 21:08:24 +03:00
tests add hook for manipulating the argument parser 2017-06-30 09:50:07 -04:00
__init__.py add setup.py and package directory 2012-04-20 09:52:55 -07:00
_argparse.py Ensure python standard argparse module is loaded 2017-05-20 02:16:34 +09:00
app.py Ensure python standard argparse module is loaded 2017-05-20 02:16:34 +09:00
columns.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
command.py add hook for manipulating the argument parser 2017-06-30 09:50:07 -04:00
commandmanager.py Merge "Fix command order" 2017-01-03 19:00:05 +00:00
complete.py add cmd_name argument to CompleteCommand 2017-05-25 18:38:58 -04:00
display.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
help.py pass the command name from HelpCommand 2017-06-29 22:29:01 -07:00
hooks.py add hook for manipulating the argument parser 2017-06-30 09:50:07 -04:00
interactive.py Adjust completenames tests for cmd2 0.7.3+ 2017-06-28 07:45:44 +02:00
lister.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
show.py Add Apache 2.0 license to source file 2016-10-10 13:43:09 +07:00
sphinxext.py sphinxext: Use 'argparse.description', 'argparse.epilog' 2017-06-08 11:39:43 +01:00
utils.py Fixes terminal_width on Windows 2016-02-10 15:06:53 +00:00