MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cli_env

Function cli_env

tests/windows/test_daemon_stability.py:95–99  ·  view source on GitHub ↗
(cache)

Source from the content-addressed store, hash-verified

93
94
95def cli_env(cache):
96 env = dict(os.environ)
97 env["CBM_CACHE_DIR"] = cache
98 env["CBM_RUNTIME_DIR"] = runtime_for(cache)
99 return env
100
101
102def run_cli(binary, cache, args, stdin=None, timeout=90):

Callers 3

run_cliFunction · 0.85

Calls 1

runtime_forFunction · 0.70

Tested by

no test coverage detected