fleetbo-cockpit-cli 1.0.136 → 1.0.138
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 +6 -5
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -621,9 +621,9 @@ if (command === 'alex') {
|
|
|
621
621
|
console.log('');
|
|
622
622
|
console.log('\x1b[36mEXAMPLES\x1b[0m');
|
|
623
623
|
console.log('');
|
|
624
|
-
console.log('\x1b[33m›\x1b[0m \x1b[90m"\x1b[33mforge\x1b[90m a camera to scan receipts for my expense tracker"\x1b[0m');
|
|
625
|
-
console.log('\x1b[33m›\x1b[0m \x1b[90m"\x1b[33mcreate\x1b[90m a form to add products with photos to my catalog"\x1b[0m');
|
|
626
|
-
console.log('\x1b[33m›\x1b[0m \x1b[90m"\x1b[33mupdate\x1b[90m CloudCamera to save in the collection orders"\x1b[0m');
|
|
624
|
+
console.log('\x1b[33m›\x1b[0m \x1b[90m"\x1b[33mforge\x1b[90m a camera module to scan receipts for my expense tracker"\x1b[0m');
|
|
625
|
+
console.log('\x1b[33m›\x1b[0m \x1b[90m"\x1b[33mcreate\x1b[90m a form module to add products with photos to my catalog"\x1b[0m');
|
|
626
|
+
console.log('\x1b[33m›\x1b[0m \x1b[90m"\x1b[33mupdate\x1b[90m the CloudCamera module to save in the collection orders"\x1b[0m');
|
|
627
627
|
|
|
628
628
|
// READY
|
|
629
629
|
console.log('');
|
|
@@ -661,9 +661,10 @@ if (command === 'alex') {
|
|
|
661
661
|
else {
|
|
662
662
|
if (inputBuffer.trim() !== "") {
|
|
663
663
|
if (!hintShown) {
|
|
664
|
-
// 1ère ligne vide →
|
|
664
|
+
// 1ère ligne vide → affiche le hint, attend la 2ème
|
|
665
665
|
hintShown = true;
|
|
666
|
-
|
|
666
|
+
rl.setPrompt("\x1b[90m ↵ again to send\x1b[0m");
|
|
667
|
+
rl.prompt();
|
|
667
668
|
} else {
|
|
668
669
|
// 2ème ligne vide → soumet
|
|
669
670
|
hintShown = false;
|