MCPcopy Create free account
hub / github.com/PerroEngine/Perro / passthrough_args

Function passthrough_args

perro_source/devtools/perro_cli/src/script_tests.rs:58–63  ·  view source on GitHub ↗
(args: &[String])

Source from the content-addressed store, hash-verified

56}
57
58fn passthrough_args(args: &[String]) -> &[String] {
59 let Some(idx) = args.iter().position(|arg| arg == "--") else {
60 return &[];
61 };
62 &args[idx + 1..]
63}

Callers 1

test_commandFunction · 0.70

Calls 2

positionMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected