MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / _option_value

Function _option_value

tests/test_run_baseline_script.py:201–202  ·  view source on GitHub ↗
(argv: list[str], option: str)

Source from the content-addressed store, hash-verified

199
200
201def _option_value(argv: list[str], option: str) -> str:
202 return argv[argv.index(option) + 1]
203
204
205def _option_values(argv: list[str], option: str) -> list[str]:

Calls

no outgoing calls

Tested by

no test coverage detected