valent-pipeline 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +10 -7
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -17,15 +17,18 @@ program
17
17
  .version(pkg.version);
18
18
 
19
19
  // init command
20
- program
21
- .command('init')
22
- .description('Initialize a new v3 pipeline in the current project')
20
+ const initAction = async (options) => {
21
+ const { init } = await import('../src/commands/init.js');
22
+ await init(options);
23
+ };
24
+
25
+ const initOptions = (cmd) => cmd
23
26
  .option('--yes', 'Use defaults for all prompts (non-interactive)')
24
27
  .option('--force', 'Overwrite existing pipeline configuration')
25
- .action(async (options) => {
26
- const { init } = await import('../src/commands/init.js');
27
- await init(options);
28
- });
28
+ .action(initAction);
29
+
30
+ initOptions(program.command('init').description('Initialize a new v3 pipeline in the current project'));
31
+ initOptions(program.command('install').description('Alias for init'));
29
32
 
30
33
  // upgrade command
31
34
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valent-pipeline",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "v3 multi-agent AI pipeline for software development lifecycle",
5
5
  "type": "module",
6
6
  "bin": {