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

Function runConfigCommand

test/commands/config.test.ts:7–12  ·  view source on GitHub ↗
(args: string[])

Source from the content-addressed store, hash-verified

5import * as os from 'node:os';
6
7async function runConfigCommand(args: string[]): Promise<void> {
8 const { registerConfigCommand } = await import('../../src/commands/config.js');
9 const program = new Command();
10 registerConfigCommand(program);
11 await program.parseAsync(['node', 'openspec', 'config', ...args]);
12}
13
14describe('config command integration', () => {
15 // These tests use real file system operations with XDG_CONFIG_HOME override

Callers 1

config.test.tsFile · 0.70

Calls 1

registerConfigCommandFunction · 0.85

Tested by

no test coverage detected