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

Function runStoreCommand

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

Source from the content-addressed store, hash-verified

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

Callers 1

store.test.tsFile · 0.70

Calls 1

registerStoreCommandFunction · 0.85

Tested by

no test coverage detected