@sumant.pathak/devjar 1.0.0 → 1.0.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/bin/devjar.js +4 -3
- package/package.json +1 -1
package/bin/devjar.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
process.env.FORCE_COLOR = '3'; // enable chalk colors in PowerShell / CI
|
|
2
3
|
import { Command } from 'commander';
|
|
3
4
|
import { init } from '../src/init.js';
|
|
4
5
|
import { prompt } from '../src/prompt.js';
|
|
@@ -11,13 +12,13 @@ const program = new Command();
|
|
|
11
12
|
program
|
|
12
13
|
.name('devjar')
|
|
13
14
|
.description('Jarvis CLI — scan projects, normalize prompts, watch files, track tokens')
|
|
14
|
-
.version('
|
|
15
|
+
.version('1.0.0');
|
|
15
16
|
|
|
16
17
|
program
|
|
17
18
|
.command('init [dir]')
|
|
18
19
|
.description('Scan project and build Jarvis knowledge map')
|
|
19
|
-
.option('-o, --output <file>', 'output map file
|
|
20
|
-
.option('--depth <n>', 'max directory depth to scan', '
|
|
20
|
+
.option('-o, --output <file>', 'output map file (default: CLAUDE.md in project root)')
|
|
21
|
+
.option('--depth <n>', 'max directory depth to scan', '2')
|
|
21
22
|
.action(init);
|
|
22
23
|
|
|
23
24
|
program
|