@icarusmx/creta 1.0.0 → 1.0.2
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/ascii-logo.txt +8 -0
- package/bin/creta.js +21 -5
- package/package.json +1 -1
package/ascii-logo.txt
ADDED
package/bin/creta.js
CHANGED
|
@@ -55,9 +55,17 @@ const ENUNCIADOS = [
|
|
|
55
55
|
const args = process.argv.slice(2)
|
|
56
56
|
const command = args[0]
|
|
57
57
|
|
|
58
|
-
//
|
|
59
|
-
console.log(
|
|
60
|
-
|
|
58
|
+
// ASCII Logo
|
|
59
|
+
console.log(`
|
|
60
|
+
█████████████████████████
|
|
61
|
+
█ █ █ █ █ █ █
|
|
62
|
+
█ C █ R █ E █ T █ A █ █ █
|
|
63
|
+
█ █ █ █ █ █ █
|
|
64
|
+
█████████████████████████
|
|
65
|
+
|
|
66
|
+
Bienvenido a la escuela de software de icarus.mx
|
|
67
|
+
Salgamos de este laberinto 🏛️
|
|
68
|
+
`)
|
|
61
69
|
|
|
62
70
|
if (!command) {
|
|
63
71
|
// Default behavior: show main menu
|
|
@@ -626,8 +634,16 @@ async function startMainMenuInteractive() {
|
|
|
626
634
|
process.stdout.write('\x1b[2J')
|
|
627
635
|
process.stdout.write('\x1b[H')
|
|
628
636
|
|
|
629
|
-
console.log(
|
|
630
|
-
|
|
637
|
+
console.log(`
|
|
638
|
+
█████████████████████████
|
|
639
|
+
█ █ █ █ █ █ █
|
|
640
|
+
█ C █ R █ E █ T █ A █ █ █
|
|
641
|
+
█ █ █ █ █ █ █
|
|
642
|
+
█████████████████████████
|
|
643
|
+
|
|
644
|
+
Bienvenido a la escuela de software de icarus.mx
|
|
645
|
+
Salgamos de este laberinto 🏛️
|
|
646
|
+
`)
|
|
631
647
|
console.log("Te ofrecemos las siguientes opciones")
|
|
632
648
|
console.log("Usa ↑/↓ para navegar, Enter para seleccionar, 'q' para salir\n")
|
|
633
649
|
|