MCPcopy
hub / github.com/Fission-AI/OpenSpec / createPlatform

Function createPlatform

test/commands/workset.test.ts:68–85  ·  view source on GitHub ↗
(extra: string[] = [])

Source from the content-addressed store, hash-verified

66 const pathOptions = () => ({ globalDataDir });
67
68 async function createPlatform(extra: string[] = []): Promise<RunCLIResult> {
69 return runCLI(
70 [
71 'workset',
72 'create',
73 'platform',
74 '--member',
75 memberA,
76 '--member',
77 memberB,
78 '--member',
79 memberC,
80 ...extra,
81 '--json',
82 ],
83 { cwd: tempDir, env }
84 );
85 }
86
87 function writeOpenersConfig(openers: unknown): void {
88 const configDir = path.join(env.XDG_CONFIG_HOME!, 'openspec');

Callers 1

workset.test.tsFile · 0.85

Calls 1

runCLIFunction · 0.85

Tested by

no test coverage detected