Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zenstackhq/zenstack
/ runCli
Function
runCli
packages/cli/test/utils.ts:118–121 ·
view source on GitHub ↗
(command: string, cwd: string)
Source
from the content-addressed store, hash-verified
116
}
117
118
export
function
runCli(command: string, cwd: string) {
119
const
cli = path.join(__dirname,
'../dist/index.mjs'
);
120
execSync(`node ${cli} ${command}`, { cwd });
121
}
Callers
11
format.test.ts
File · 0.90
init.test.ts
File · 0.90
import-extension.test.ts
File · 0.90
generate.test.ts
File · 0.90
check.test.ts
File · 0.90
migrate.test.ts
File · 0.90
db.test.ts
File · 0.90
prisma-plugin.test.ts
File · 0.90
custom-plugin.test.ts
File · 0.90
pull.test.ts
File · 0.90
push.test.ts
File · 0.90
Calls
1
execSync
Function · 0.85
Tested by
no test coverage detected