Lines Matching refs:tool
32 # tool-name [global options] command-name [command options]
38 from webkitpy.tool.grammar import pluralize
57 # option_parser can be overriden by the tool using set_option_parser
62 # the tool to be able to create and modify the option_parser
73 # The tool calls bind_to_tool on each Command after adding it to its list.
74 def bind_to_tool(self, tool):
75 # Command instances can only be bound to one tool at a time.
76 if self._tool and tool != self._tool:
77 raise Exception("Command already bound to tool!")
78 self._tool = tool
107 def check_arguments_and_execute(self, options, args, tool=None):
114 tool.name(),
117 return self.execute(options, args, tool) or 0
126 def execute(self, options, args, tool):
133 # Some commands might require a dummy tool
199 def execute(self, options, args, tool):