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

Function runStoreCommand

test/commands/store-git.test.ts:21–26  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

19}));
20
21async function runStoreCommand(args: string[]): Promise<void> {
22 const { registerStoreCommand } = await import('../../src/commands/store.js');
23 const program = new Command();
24 registerStoreCommand(program);
25 await program.parseAsync(['node', 'openspec', 'store', ...args]);
26}
27
28async function getPromptMocks(): Promise<{
29 input: ReturnType<typeof vi.fn>;

Callers 1

store-git.test.tsFile · 0.70

Calls 1

registerStoreCommandFunction · 0.85

Tested by

no test coverage detected