ai-nexus 1.3.4 → 1.3.5

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/ai-rules.cjs +10 -10
  2. package/package.json +1 -1
package/bin/ai-rules.cjs CHANGED
@@ -17,15 +17,15 @@ program
17
17
  .description('Initialize rules in current project (.claude/, .codex/)')
18
18
  .option('--rules <url>', 'Git repository URL for rules (e.g., github.com/org/my-rules)')
19
19
  .option('--copy', 'Copy files instead of symlink')
20
- .option('-i, --interactive', 'Use interactive mode with file selection')
20
+ .option('-q, --quick', 'Quick mode (skip interactive wizard)')
21
21
  .option('-y, --yes', 'Skip prompts and use defaults')
22
22
  .action(async (options) => {
23
- if (options.interactive) {
24
- const { initInteractive } = await import('../dist/commands/init-interactive.js');
25
- await initInteractive();
26
- } else {
23
+ if (options.quick || options.yes) {
27
24
  const { init } = await import('../dist/commands/init.js');
28
25
  await init({ scope: 'project', ...options });
26
+ } else {
27
+ const { initInteractive } = await import('../dist/commands/init-interactive.js');
28
+ await initInteractive();
29
29
  }
30
30
  });
31
31
 
@@ -34,14 +34,14 @@ program
34
34
  .description('Install rules globally (~/.claude/, ~/.codex/)')
35
35
  .option('--rules <url>', 'Git repository URL for rules')
36
36
  .option('--copy', 'Copy files instead of symlink')
37
- .option('-i, --interactive', 'Use interactive mode with file selection')
37
+ .option('-q, --quick', 'Quick mode (skip interactive wizard)')
38
38
  .action(async (options) => {
39
- if (options.interactive) {
40
- const { initInteractive } = await import('../dist/commands/init-interactive.js');
41
- await initInteractive();
42
- } else {
39
+ if (options.quick) {
43
40
  const { init } = await import('../dist/commands/init.js');
44
41
  await init({ scope: 'global', ...options });
42
+ } else {
43
+ const { initInteractive } = await import('../dist/commands/init-interactive.js');
44
+ await initInteractive();
45
45
  }
46
46
  });
47
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-nexus",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "AI coding assistant rule manager for Claude Code, Codex, and Cursor",
5
5
  "main": "dist/index.js",
6
6
  "bin": {