vg-coder-cli 1.0.4 → 1.0.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.
package/bin/vg-coder.js CHANGED
@@ -4,5 +4,8 @@
4
4
  * VG Coder CLI Entry Point
5
5
  */
6
6
 
7
- // Import and run the CLI
8
- require('../src/index');
7
+ const VGCoderCLI = require('../src/index');
8
+
9
+ // Create and run CLI
10
+ const cli = new VGCoderCLI();
11
+ cli.run();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vg-coder-cli",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "🚀 CLI tool to analyze projects, concatenate source files, count tokens, and export HTML with syntax highlighting and copy functionality",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -3,6 +3,7 @@ const path = require('path');
3
3
  const fs = require('fs-extra');
4
4
  const chalk = require('chalk');
5
5
  const ora = require('ora');
6
+ const packageJson = require('../package.json');
6
7
 
7
8
  const ProjectDetector = require('./detectors/project-detector');
8
9
  const FileScanner = require('./scanner/file-scanner');
@@ -25,7 +26,7 @@ class VGCoderCLI {
25
26
  this.program
26
27
  .name('vg-coder')
27
28
  .description('CLI tool để phân tích dự án, nối file mã nguồn, đếm token và xuất HTML')
28
- .version('1.0.0');
29
+ .version(packageJson.version);
29
30
 
30
31
  // Analyze command
31
32
  this.program
Binary file