@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.
Files changed (2) hide show
  1. package/bin/opspilot.js +3 -1
  2. 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 v1.0.0
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justin0713/opspilot",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "CLI installer for OpsPilot Local — self-hosted SSH operations platform",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/Albert0977/ShellShare#readme",