Add CLI config, bin scripts, CI workflow and types
This commit is contained in:
19
oclif.config.ts
Normal file
19
oclif.config.ts
Normal 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'),
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user