@ahmadubaidillah/cli 1.1.0

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 (3) hide show
  1. package/README.md +80 -0
  2. package/dist/bin.js +34867 -0
  3. package/package.json +35 -0
package/README.md ADDED
@@ -0,0 +1,80 @@
1
+ # @ahmadubaidillah/cli 🚀
2
+
3
+ The official Command Line Interface for **DevForge**, the elite modular boilerplate ecosystem.
4
+
5
+ ## 📦 Installation
6
+
7
+ You don't need to install this globally. Simply use `npx`:
8
+
9
+ ```bash
10
+ npx @ahmadubaidillah/cli --help
11
+ ```
12
+
13
+ Or if you are a Bun user:
14
+
15
+ ```bash
16
+ bunx @ahmadubaidillah/cli --help
17
+ ```
18
+
19
+ ## 🛠 Commands
20
+
21
+ ### `create`
22
+
23
+ Scaffold a new project using one of our high-end templates.
24
+
25
+ ```bash
26
+ npx @ahmadubaidillah/cli create my-app
27
+ ```
28
+
29
+ **Options:**
30
+
31
+ - `-a, --with-agents`: Include the premium AI agent system.
32
+
33
+ ### `add`
34
+
35
+ Inject a new plugin/module into an existing DevForge project.
36
+
37
+ ```bash
38
+ npx @ahmadubaidillah/cli add auth
39
+ ```
40
+
41
+ ### `list`
42
+
43
+ List all officially supported plugins and templates.
44
+
45
+ ```bash
46
+ npx @ahmadubaidillah/cli list
47
+ ```
48
+
49
+ ### `gain`
50
+
51
+ View your LLM token savings and efficiency score (Powered by RTK-Filter).
52
+
53
+ ```bash
54
+ npx @ahmadubaidillah/cli gain --history
55
+ ```
56
+
57
+ ### `doctor`
58
+
59
+ Run a diagnostic on your current project to ensure it meets DevForge architectural standards.
60
+
61
+ ```bash
62
+ npx @ahmadubaidillah/cli doctor
63
+ ```
64
+
65
+ ## 🧠 Premium Agents
66
+
67
+ To activate premium agents, you will need an activation key. When running `create --with-agents`, you will be prompted to enter your key or set the `DEVFORGE_AGENT_KEY` environment variable.
68
+
69
+ ## 🏗 Development
70
+
71
+ If you are contributing to this CLI:
72
+
73
+ 1. Clone the root DevForge repo.
74
+ 2. Run `bun install`.
75
+ 3. Build the packages: `bun run build`.
76
+ 4. Test locally: `bun run src/bin.ts --help`.
77
+
78
+ ---
79
+
80
+ **Build fast. Build lean. Build with DevForge.**