kuhul-es 1.0.9 → 1.0.11

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/kuhul-es.js +31 -2
  2. package/package.json +2 -2
package/bin/kuhul-es.js CHANGED
@@ -7,7 +7,7 @@ const { program } = require('commander');
7
7
 
8
8
  console.log(`
9
9
  ╔══════════════════════════════════════╗
10
- ║ KUHUL-ES v1.0.8
10
+ ║ KUHUL-ES v1.0.10
11
11
  ║ ECMAScript syntax, KUHUL semantics ║
12
12
  ╚══════════════════════════════════════╝
13
13
  `);
@@ -43,8 +43,37 @@ program
43
43
  console.log('✓ Execution complete (stub)');
44
44
  });
45
45
 
46
+ program
47
+ .command('doctor')
48
+ .description('Run environment diagnostics for KUHUL-ES')
49
+ .action(() => {
50
+ console.log('🩺 KUHUL-ES Doctor\n');
51
+
52
+ // Node version
53
+ console.log('Node:', process.version);
54
+
55
+ // Platform
56
+ console.log('Platform:', process.platform);
57
+
58
+ // CLI location
59
+ console.log('CLI path:', __filename);
60
+
61
+ // Commander check
62
+ try {
63
+ require.resolve('commander');
64
+ console.log('Commander: OK');
65
+ } catch {
66
+ console.log('Commander: MISSING');
67
+ }
68
+
69
+ // Working directory
70
+ console.log('CWD:', process.cwd());
71
+
72
+ console.log('\n✓ Diagnostics complete');
73
+ });
74
+
46
75
  program.parse(process.argv);
47
76
 
48
77
  if (!process.argv.slice(2).length) {
49
78
  program.outputHelp();
50
- }
79
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuhul-es",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "main": "src/index.js",
5
5
  "bin": {
6
6
  "kuhul-es": "bin/kuhul-es.js"
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "commander": "^14.0.2",
24
- "kuhul-es": "^1.0.7"
24
+ "kuhul-es": "^1.0.9"
25
25
  }
26
26
  }