create-fornix 0.0.1 → 0.0.2
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/README.md +37 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# create-fornix
|
|
2
|
+
|
|
3
|
+
CLI-first Astro + Cloudflare project generator with AI-powered scaffolding.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx create-fornix my-site
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
See the [main README](../../README.md) for full documentation.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# AI mode (default)
|
|
15
|
+
npx create-fornix my-site
|
|
16
|
+
|
|
17
|
+
# Recipe mode
|
|
18
|
+
npx create-fornix my-site --recipe saas --yes
|
|
19
|
+
|
|
20
|
+
# Manual mode
|
|
21
|
+
npx create-fornix my-site --manual
|
|
22
|
+
|
|
23
|
+
# Add/remove blocks
|
|
24
|
+
fornix add pricing-table
|
|
25
|
+
fornix remove pricing-table
|
|
26
|
+
|
|
27
|
+
# Project health
|
|
28
|
+
fornix doctor
|
|
29
|
+
fornix status
|
|
30
|
+
|
|
31
|
+
# MCP server
|
|
32
|
+
fornix mcp serve
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## License
|
|
36
|
+
|
|
37
|
+
MIT
|
package/dist/index.js
CHANGED
|
@@ -4608,5 +4608,10 @@ var main = defineCommand8({
|
|
|
4608
4608
|
});
|
|
4609
4609
|
|
|
4610
4610
|
// src/index.ts
|
|
4611
|
+
var KNOWN_COMMANDS = /* @__PURE__ */ new Set(["create", "add", "remove", "list", "status", "doctor", "mcp"]);
|
|
4612
|
+
var firstArg = process.argv[2];
|
|
4613
|
+
if (firstArg && !firstArg.startsWith("-") && !KNOWN_COMMANDS.has(firstArg)) {
|
|
4614
|
+
process.argv.splice(2, 0, "create");
|
|
4615
|
+
}
|
|
4611
4616
|
runMain(main);
|
|
4612
4617
|
//# sourceMappingURL=index.js.map
|