@toon-ui/cli 0.1.0-beta.0 → 0.1.1-beta.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/README.md +55 -0
  2. package/package.json +8 -2
package/README.md ADDED
@@ -0,0 +1,55 @@
1
+ # @toon-ui/cli
2
+
3
+ CLI tools for validating and inspecting ToonUI files.
4
+
5
+ ---
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ pnpm add -D @toon-ui/cli
11
+ ```
12
+
13
+ Or run it without adding to dependencies:
14
+
15
+ ```bash
16
+ pnpm dlx @toon-ui/cli validate example.toon
17
+ ```
18
+
19
+ ---
20
+
21
+ ## Commands
22
+
23
+ ### Validate a file
24
+
25
+ ```bash
26
+ toon-ui validate example.toon
27
+ ```
28
+
29
+ ### Inspect the parsed AST
30
+
31
+ ```bash
32
+ toon-ui inspect example.toon
33
+ ```
34
+
35
+ ---
36
+
37
+ ## Example input
38
+
39
+ ```toon
40
+ form "Crear producto":
41
+ field name text "Nombre" required
42
+ field price number "Precio" required
43
+ button primary "Crear producto" submit
44
+ ```
45
+
46
+ ---
47
+
48
+ ## What this package is for
49
+
50
+ Use the CLI when you want to:
51
+
52
+ - validate assistant-generated ToonUI in scripts
53
+ - inspect AST output during development
54
+ - debug grammar problems quickly
55
+
package/package.json CHANGED
@@ -1,8 +1,14 @@
1
1
  {
2
2
  "name": "@toon-ui/cli",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.1-beta.1",
4
4
  "description": "CLI utilities for validating and inspecting ToonUI files.",
5
- "keywords": ["toon-ui", "cli", "ai", "ui", "validation"],
5
+ "keywords": [
6
+ "toon-ui",
7
+ "cli",
8
+ "ai",
9
+ "ui",
10
+ "validation"
11
+ ],
6
12
  "homepage": "https://github.com/jefferson-lopez/toon-ui#readme",
7
13
  "bugs": {
8
14
  "url": "https://github.com/jefferson-lopez/toon-ui/issues"