@icarusmx/creta 1.0.0 → 1.0.1
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 +11 -0
- package/bin/creta.js +29 -5
- package/package.json +1 -1
package/ascii-logo.txt
ADDED
package/bin/creta.js
CHANGED
|
@@ -55,9 +55,21 @@ 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
|
+
█ █ █ ███ █ ███ █ ███ █ ███ █
|
|
63
|
+
█ █ █ █ █ █
|
|
64
|
+
█ ███ █ ███ █ ███ █ ███ █ █ █
|
|
65
|
+
█ C R E T A █
|
|
66
|
+
█ ███ █ ███ █ ███ █ ███ █ █ █
|
|
67
|
+
█ █ █ █ █ █
|
|
68
|
+
█████████████████████████████
|
|
69
|
+
|
|
70
|
+
🏛️ Salgamos de este laberinto 🏛️
|
|
71
|
+
La escuela de software de icarus.mx
|
|
72
|
+
`)
|
|
61
73
|
|
|
62
74
|
if (!command) {
|
|
63
75
|
// Default behavior: show main menu
|
|
@@ -626,8 +638,20 @@ async function startMainMenuInteractive() {
|
|
|
626
638
|
process.stdout.write('\x1b[2J')
|
|
627
639
|
process.stdout.write('\x1b[H')
|
|
628
640
|
|
|
629
|
-
console.log(
|
|
630
|
-
|
|
641
|
+
console.log(`
|
|
642
|
+
█████████████████████████████
|
|
643
|
+
█ █ █ █ █ █
|
|
644
|
+
█ █ █ ███ █ ███ █ ███ █ ███ █
|
|
645
|
+
█ █ █ █ █ █
|
|
646
|
+
█ ███ █ ███ █ ███ █ ███ █ █ █
|
|
647
|
+
█ C R E T A █
|
|
648
|
+
█ ███ █ ███ █ ███ █ ███ █ █ █
|
|
649
|
+
█ █ █ █ █ █
|
|
650
|
+
█████████████████████████████
|
|
651
|
+
|
|
652
|
+
🏛️ Salgamos de este laberinto 🏛️
|
|
653
|
+
La escuela de software de icarus.mx
|
|
654
|
+
`)
|
|
631
655
|
console.log("Te ofrecemos las siguientes opciones")
|
|
632
656
|
console.log("Usa ↑/↓ para navegar, Enter para seleccionar, 'q' para salir\n")
|
|
633
657
|
|