Home | History | Annotate | Download | only in tool

Lines Matching refs:def

49     def __init__(self, help_text, argument_names=None, options=None, long_help=None, requires_local_commits=False):
64 def set_option_parser(self, option_parser):
68 def _add_options_to_parser(self):
74 def bind_to_tool(self, tool):
81 def _parse_required_arguments(argument_names):
96 def name_with_arguments(self):
104 def parse_args(self, args):
107 def check_arguments_and_execute(self, options, args, tool=None):
119 def standalone_help(self):
126 def execute(self, options, args, tool):
131 def main(self, args=sys.argv):
142 def __init__(self, options=None, **kwargs):
147 def __init__(self, epilog_method=None, *args, **kwargs):
151 def error(self, msg):
160 def format_epilog(self, epilog):
171 def __init__(self):
178 def _help_epilog(self):
195 def _remove_help_options(self):
199 def execute(self, options, args, tool):
215 def __init__(self, name=None, commands=None):
228 def _add_all_subclasses(cls, class_to_crawl, seen_classes):
235 def _find_all_commands(cls):
240 def name(self):
243 def _create_option_parser(self):
248 def _split_command_name_from_args(args):
261 def command_by_name(self, command_name):
267 def path(self):
270 def command_completed(self):
273 def should_show_in_main_help(self, command):
276 def should_execute_command(self, command):
279 def _add_global_options(self, option_parser):
284 def handle_global_options(self, options):
287 def main(self, argv=sys.argv):