fleetbo-cockpit-cli 1.0.95 → 1.0.97
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/cli.js +8 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// 🥷 SILENCIEUX ABSOLU : S'exécute en 0.1ms pour tuer la plomberie de NPM
|
|
4
|
+
// \x1b[1A remonte d'une ligne, \x1b[2K efface la ligne. On le fait 4 fois pour écraser le bloc npm.
|
|
5
|
+
process.stdout.write("\x1b[1A\x1b[2K".repeat(4));
|
|
6
|
+
console.clear();
|
|
7
|
+
|
|
2
8
|
const { spawn, execSync } = require('child_process');
|
|
3
9
|
const fs = require('fs');
|
|
4
10
|
const path = require('path');
|
|
@@ -1013,7 +1019,8 @@ else {
|
|
|
1013
1019
|
'➜ Network', // Cache l'URL réseau
|
|
1014
1020
|
'press h + enter',
|
|
1015
1021
|
'> vite', // Au cas où npm force l'affichage
|
|
1016
|
-
'> fleetbo'
|
|
1022
|
+
'> fleetbo',
|
|
1023
|
+
'> npx fleetbo-cockpit-cli@latest'
|
|
1017
1024
|
];
|
|
1018
1025
|
|
|
1019
1026
|
// On filtre les lignes pour ne garder que le vrai code/debug
|