Lines Matching refs:commands
90 def __init__(self, commands=None):
91 MultiCommandTool.__init__(self, name="trivial-tool", commands=commands)
130 tool = TrivialTool(commands=[likes_to_retry])
135 tool = TrivialTool(commands=[TrivialCommand(), UncommonCommand()])
141 Common trivial-tool commands:
144 See 'trivial-tool help --all-commands' to list all commands.
155 All trivial-tool commands:
160 See 'trivial-tool help --all-commands' to list all commands.
164 self._assert_tool_main_outputs(tool, ["tool", "help", "--all-commands"], expected_all_commands_help)
165 # Test that arguments can be passed before commands as well
166 self._assert_tool_main_outputs(tool, ["tool", "--all-commands", "help"], expected_all_commands_help)
171 tool = TrivialTool(commands=[command_with_options])