Searched refs:run_with_argv (Results 1 – 3 of 3) sorted by relevance
/external/pigweed/pw_cli/py/ |
D | plugins_test.py | 109 self.assertEqual(self._registry.run_with_argv('go', ['1', '2']), 1) 114 self._registry.run_with_argv('plugin_one', []) 132 self.assertEqual(self._registry.run_with_argv('test_plugin', []), 123) 139 self.assertEqual(self._registry.run_with_argv('test_plugin', []), 456)
|
/external/pigweed/pw_cli/py/pw_cli/ |
D | plugins.py | 115 def run_with_argv(self, argv: Iterable[str]) -> int: member in Plugin 200 def run_with_argv(self, name: str, argv: Iterable[str]) -> int: member in Registry 209 return self[name].run_with_argv(argv)
|
D | pw_command_plugins.py | 71 return _plugin_registry.run_with_argv(name, args)
|