fluxy-bot 0.1.2 → 0.1.3
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/cli.js +2 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -13,6 +13,7 @@ const CONFIG_PATH = path.join(DATA_DIR, 'config.json');
|
|
|
13
13
|
const BIN_DIR = path.join(DATA_DIR, 'bin');
|
|
14
14
|
const CF_PATH = path.join(BIN_DIR, 'cloudflared');
|
|
15
15
|
|
|
16
|
+
const pkg = JSON.parse(fs.readFileSync(path.join(ROOT, 'package.json'), 'utf-8'));
|
|
16
17
|
const [, , command] = process.argv;
|
|
17
18
|
|
|
18
19
|
// ── UI helpers ──
|
|
@@ -97,7 +98,7 @@ class Stepper {
|
|
|
97
98
|
function banner() {
|
|
98
99
|
console.log(`
|
|
99
100
|
${c.cyan}${c.bold}╔═══════════════════════════════╗
|
|
100
|
-
║ FLUXY
|
|
101
|
+
║ FLUXY v${pkg.version.padEnd(13)}║
|
|
101
102
|
╚═══════════════════════════════╝${c.reset}
|
|
102
103
|
${c.dim}Self-hosted AI bot${c.reset}`);
|
|
103
104
|
}
|