@icarusmx/creta 1.4.0 → 1.4.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.
Files changed (2) hide show
  1. package/lib/cli/index.js +3 -3
  2. package/package.json +1 -1
package/lib/cli/index.js CHANGED
@@ -9,9 +9,6 @@ import { CretaCodeSession } from '../session.js'
9
9
  import { greetUser } from '../utils/greeting.js'
10
10
 
11
11
  async function executeMainMenu() {
12
- // Greet user (ask name if first time, or show stats if returning)
13
- await greetUser()
14
-
15
12
  const menu = new MenuBuilder(MAIN_MENU_CONFIG)
16
13
 
17
14
  while (true) {
@@ -75,6 +72,9 @@ export async function handleCommand(command, args = []) {
75
72
  export async function runCLI(args = []) {
76
73
  const [command, ...rest] = args
77
74
 
75
+ // Greet user (ask name if first time, or show stats if returning)
76
+ await greetUser()
77
+
78
78
  if (!command) {
79
79
  await executeMainMenu()
80
80
  return 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icarusmx/creta",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Salgamos de este laberinto.",
5
5
  "type": "module",
6
6
  "bin": {