english-optimizer-cli 1.0.2 → 1.1.0
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/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50,11 +50,12 @@ const logger_1 = require("./history/logger");
|
|
|
50
50
|
const custom_1 = require("./prompts/custom");
|
|
51
51
|
const display_1 = require("./utils/display");
|
|
52
52
|
const PACKAGE_NAME = 'english-optimizer-cli';
|
|
53
|
+
const PACKAGE_VERSION = require('../package.json').version;
|
|
53
54
|
const program = new commander_1.Command();
|
|
54
55
|
program
|
|
55
56
|
.name('fuck-abc')
|
|
56
57
|
.description('CLI tool to help non-native English speakers improve their writing using AI')
|
|
57
|
-
.version(
|
|
58
|
+
.version(PACKAGE_VERSION);
|
|
58
59
|
program
|
|
59
60
|
.command('start', { isDefault: true })
|
|
60
61
|
.description('Start interactive optimization mode')
|