@justin0713/opspilot 1.0.3 → 1.0.4
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/opspilot.js +3 -1
- package/package.json +1 -1
package/bin/opspilot.js
CHANGED
|
@@ -20,6 +20,8 @@ const fs = require('fs');
|
|
|
20
20
|
const path = require('path');
|
|
21
21
|
const os = require('os');
|
|
22
22
|
|
|
23
|
+
const PKG_VERSION = require('../package.json').version;
|
|
24
|
+
|
|
23
25
|
// ── Constants ────────────────────────────────────────────────────────────────
|
|
24
26
|
|
|
25
27
|
const IMAGE = 'opspilot/local:latest';
|
|
@@ -218,7 +220,7 @@ function cmdConfig() {
|
|
|
218
220
|
|
|
219
221
|
function printHelp() {
|
|
220
222
|
console.log(`
|
|
221
|
-
${BOLD}${CYAN}OpsPilot Local${RESET} — CLI
|
|
223
|
+
${BOLD}${CYAN}OpsPilot Local${RESET} — CLI v${PKG_VERSION}
|
|
222
224
|
|
|
223
225
|
${BOLD}Usage:${RESET}
|
|
224
226
|
opspilot <command> [options]
|
package/package.json
CHANGED