@mthanhlm/autodev 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.
package/README.md CHANGED
@@ -21,6 +21,12 @@
21
21
  npx @mthanhlm/autodev@latest --global
22
22
  ```
23
23
 
24
+ Interactive install with location selection:
25
+
26
+ ```bash
27
+ npx @mthanhlm/autodev@latest
28
+ ```
29
+
24
30
  Local install for one repo:
25
31
 
26
32
  ```bash
package/bin/install.js CHANGED
@@ -514,9 +514,24 @@ Examples:
514
514
  function askScope() {
515
515
  return new Promise(resolve => {
516
516
  const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
517
- rl.question('Install autodev globally or locally? [g/l] ', answer => {
517
+ console.log(`
518
+ ${cyan}autodev install${reset}
519
+
520
+ Runtime:
521
+ Claude Code only
522
+
523
+ Location:
524
+ ${cyan}1${reset}) Global ${yellow}(Recommended)${reset} -> ~/.claude
525
+ ${cyan}2${reset}) Local -> ./.claude
526
+ `);
527
+ rl.question(`Select install location ${yellow}[1]${reset}: `, answer => {
518
528
  rl.close();
519
- resolve(answer.trim().toLowerCase().startsWith('l') ? 'local' : 'global');
529
+ const trimmed = answer.trim().toLowerCase();
530
+ if (trimmed === '2' || trimmed === 'l' || trimmed === 'local') {
531
+ resolve('local');
532
+ return;
533
+ }
534
+ resolve('global');
520
535
  });
521
536
  });
522
537
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mthanhlm/autodev",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A lean Claude Code workflow system for planning and shipping without automatic git writes.",
5
5
  "bin": {
6
6
  "autodev": "bin/install.js"