MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _cli

Function _cli

tests/test_hook_guard.py:362–366  ·  view source on GitHub ↗
(args, tmp_path, stdin="")

Source from the content-addressed store, hash-verified

360
361
362def _cli(args, tmp_path, stdin=""):
363 return subprocess.run(
364 [sys.executable, "-m", "graphify", *args],
365 input=stdin, capture_output=True, text=True, cwd=tmp_path, env=_env(),
366 )
367
368
369def test_dispatch_missing_mode_exits_zero_silent(tmp_path):

Calls 2

_envFunction · 0.70
runMethod · 0.65

Tested by

no test coverage detected