fleetbo-cockpit-cli 1.0.86 โ 1.0.88
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 +43 -19
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -494,28 +494,52 @@ if (command === 'alex') {
|
|
|
494
494
|
process.exit(1);
|
|
495
495
|
}
|
|
496
496
|
|
|
497
|
+
// ============================================================
|
|
498
|
+
// BLOC 1 : ALEX WELCOME
|
|
499
|
+
// Remplace de "process.stdout.write(' '.repeat(60) + '\r');"
|
|
500
|
+
// jusqu'AVANT "const rl = readline.createInterface"
|
|
501
|
+
// ============================================================
|
|
502
|
+
|
|
497
503
|
process.stdout.write(' '.repeat(60) + '\r');
|
|
498
|
-
|
|
499
|
-
// 1. IDENTITY
|
|
500
|
-
console.log('\n\x1b[32m๐ค Alex is online.\x1b[0m');
|
|
501
|
-
console.log('\x1b[90m Your JS stays the brain. I forge the native muscle.\x1b[0m');
|
|
502
|
-
|
|
503
|
-
// 2. FORGE CAPABILITIES
|
|
504
|
-
console.log('\n\x1b[36mโก WHAT I CAN FORGE:\x1b[0m');
|
|
504
|
+
|
|
505
505
|
console.log('');
|
|
506
|
-
console.log('
|
|
507
|
-
console.log('
|
|
508
|
-
console.log(' \x1b[1m
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
console.log('\
|
|
512
|
-
console.log('\x1b[90m
|
|
506
|
+
console.log('\x1b[90m โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ\x1b[0m');
|
|
507
|
+
console.log('\x1b[90m โ\x1b[0m \x1b[90mโ\x1b[0m');
|
|
508
|
+
console.log('\x1b[90m โ\x1b[0m \x1b[1m\x1b[36mโก ALEX\x1b[0m \x1b[90mโ System Architect ยท Fleetbo OS\x1b[0m \x1b[90mโ\x1b[0m');
|
|
509
|
+
console.log('\x1b[90m โ\x1b[0m \x1b[90mโ\x1b[0m');
|
|
510
|
+
console.log('\x1b[90m โ\x1b[0m \x1b[90mYour JS stays the brain. I forge the metal.\x1b[0m \x1b[90mโ\x1b[0m');
|
|
511
|
+
console.log('\x1b[90m โ\x1b[0m \x1b[90mโ\x1b[0m');
|
|
512
|
+
console.log('\x1b[90m โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ\x1b[0m');
|
|
513
|
+
|
|
514
|
+
// FORGE CAPABILITIES
|
|
513
515
|
console.log('');
|
|
514
|
-
console.log('
|
|
515
|
-
console.log('
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
console.log('\
|
|
516
|
+
console.log(' \x1b[36m CAPABILITIES\x1b[0m');
|
|
517
|
+
console.log(' \x1b[90m โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ\x1b[0m');
|
|
518
|
+
console.log(' \x1b[1m ๐ท Hardware\x1b[0m\x1b[90m Camera ยท Scanner ยท GPS ยท Biometrics\x1b[0m');
|
|
519
|
+
console.log(' \x1b[1m ๐ฌ High-Perf\x1b[0m\x1b[90m Video Feed ยท Swipe Deck ยท Audio\x1b[0m');
|
|
520
|
+
console.log(' \x1b[1m ๐๏ธ Sovereign\x1b[0m\x1b[90m Form + Photo + Save-to-Cloud\x1b[0m');
|
|
521
|
+
console.log(' \x1b[1m ๐ฅ๏ธ Fleetbo View\x1b[0m\x1b[90m Full native tab (120 FPS)\x1b[0m');
|
|
522
|
+
console.log(' \x1b[90m โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ\x1b[0m');
|
|
523
|
+
|
|
524
|
+
// TRIGGER WORDS (Critical โ Alex won't generate code without them)
|
|
525
|
+
console.log('');
|
|
526
|
+
console.log(' \x1b[36m TRIGGER WORDS\x1b[0m \x1b[90m(required to activate code generation)\x1b[0m');
|
|
527
|
+
console.log('');
|
|
528
|
+
console.log(' \x1b[33m forge\x1b[0m \x1b[90mยท\x1b[0m \x1b[33mcreate\x1b[0m \x1b[90mยท\x1b[0m \x1b[33mupdate\x1b[0m \x1b[90mยท\x1b[0m \x1b[33mmodify\x1b[0m \x1b[90mยท\x1b[0m \x1b[33mfix\x1b[0m \x1b[90mยท\x1b[0m \x1b[33medit\x1b[0m');
|
|
529
|
+
console.log('');
|
|
530
|
+
console.log(' \x1b[90m Without a trigger word, Alex answers but does not generate code.\x1b[0m');
|
|
531
|
+
|
|
532
|
+
// EXAMPLES
|
|
533
|
+
console.log('');
|
|
534
|
+
console.log(' \x1b[36m EXAMPLES\x1b[0m');
|
|
535
|
+
console.log('');
|
|
536
|
+
console.log(' \x1b[33m โบ\x1b[0m \x1b[90m"\x1b[33mforge\x1b[90m a camera to scan receipts for my expense tracker"\x1b[0m');
|
|
537
|
+
console.log(' \x1b[33m โบ\x1b[0m \x1b[90m"\x1b[33mcreate\x1b[90m a form to add products with photos to my catalog"\x1b[0m');
|
|
538
|
+
console.log(' \x1b[33m โบ\x1b[0m \x1b[90m"\x1b[33mupdate\x1b[90m CloudCamera to save in the collection orders"\x1b[0m');
|
|
539
|
+
|
|
540
|
+
// READY
|
|
541
|
+
console.log('');
|
|
542
|
+
console.log(' \x1b[32m Alex โฏ\x1b[0m Describe your feature.');
|
|
519
543
|
console.log('');
|
|
520
544
|
|
|
521
545
|
const rl = readline.createInterface({
|