Add CLI config, bin scripts, CI workflow and types

This commit is contained in:
2026-01-29 10:07:36 +00:00
parent 07f1c831cf
commit a67b1e8882

19
oclif.config.ts Normal file
View File

@@ -0,0 +1,19 @@
export default {
name: 'testspec-cli',
version: '1.0.0',
bin: 'testspec',
commands: {
generate: {
description: 'Generate unit tests from natural language requirements',
load: () => import('./src/commands/generate.js'),
},
detect: {
description: 'Detect the test framework used in your project',
load: () => import('./src/commands/detect.js'),
},
interactive: {
description: 'Interactive wizard for creating test cases',
load: () => import('./src/commands/interactive.js'),
},
},
};