@icarusmx/creta 1.5.11 → 1.5.12
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/bin/creta.js
CHANGED
|
@@ -71,6 +71,13 @@ const ENUNCIADOS = [
|
|
|
71
71
|
const args = process.argv.slice(2)
|
|
72
72
|
const command = args[0]
|
|
73
73
|
|
|
74
|
+
// Initialize user state on every run (creates ~/.creta/user.json on first run)
|
|
75
|
+
// Skip for utility commands that don't need state tracking
|
|
76
|
+
const utilityCommands = new Set(['reset', 'privacy', 'privacidad', 'help', 'ayuda'])
|
|
77
|
+
if (!utilityCommands.has(command)) {
|
|
78
|
+
UserState.updateLastSeen()
|
|
79
|
+
}
|
|
80
|
+
|
|
74
81
|
// Check if this is a command help request (Phase 2: Desarrollador mode)
|
|
75
82
|
if (command && isCommandHelpRequest(args)) {
|
|
76
83
|
const executor = new CommandHelpExecutor(args)
|
|
@@ -41,6 +41,14 @@ export class ExercisesExecutor {
|
|
|
41
41
|
file: "aws-billing-detective.md",
|
|
42
42
|
lines: 588,
|
|
43
43
|
topics: ["AWS", "CLI", "Cost Management", "DevOps"]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 5,
|
|
47
|
+
title: "curl + Pipes - Processing APIs in Real Time",
|
|
48
|
+
description: "Quick API insights without Postman or browser",
|
|
49
|
+
file: "curl-and-pipes.md",
|
|
50
|
+
lines: 844,
|
|
51
|
+
topics: ["curl", "APIs", "Piping", "REST", "JSON"]
|
|
44
52
|
}
|
|
45
53
|
]
|
|
46
54
|
}
|