@flaredev/cli 0.1.0 → 0.1.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 CHANGED
@@ -1,47 +1,47 @@
1
- # @flaredev/cli
2
-
3
- The `flare` command for [Flare](https://flare-docs.codetotech.com), a
4
- batteries-included fullstack framework on Cloudflare Workers (vinext, D1,
5
- Drizzle, Better Auth, R2). It scaffolds apps, generates resources with an admin
6
- dashboard and REST API, runs migrations and deploys.
7
-
8
- ## Install
9
-
10
- ```sh
11
- npm install -g @flaredev/cli # or: pnpm add -g @flaredev/cli
12
- ```
13
-
14
- Or with the install scripts (they check for Node.js 22+ and use npm or pnpm):
15
-
16
- ```sh
17
- # macOS / Linux
18
- curl -fsSL https://flare-docs.codetotech.com/install.sh | bash
19
- ```
20
-
21
- ```powershell
22
- # Windows PowerShell
23
- irm https://flare-docs.codetotech.com/install.ps1 | iex
24
- ```
25
-
26
- Or skip the install entirely:
27
-
28
- ```sh
29
- npm create flare-framework@latest my-app
30
- npx @flaredev/cli create my-app
31
- ```
32
-
33
- ## Use
34
-
35
- ```sh
36
- flare create shop
37
- cd shop
38
- flare gen resource Product --fields "name:string, price:int, sku:string!"
39
- flare migrate
40
- flare dev
41
- flare deploy
42
- ```
43
-
44
- Run `flare --help` for every command, or read the
45
- [CLI reference](https://flare-docs.codetotech.com/reference/cli/).
46
-
47
- Requires Node.js 22 or later.
1
+ # @flaredev/cli
2
+
3
+ The `flare` command for [Flare](https://flare-docs.codetotech.com), a
4
+ batteries-included fullstack framework on Cloudflare Workers (vinext, D1,
5
+ Drizzle, Better Auth, R2). It scaffolds apps, generates resources with an admin
6
+ dashboard and REST API, runs migrations and deploys.
7
+
8
+ ## Install
9
+
10
+ ```sh
11
+ npm install -g @flaredev/cli # or: pnpm add -g @flaredev/cli
12
+ ```
13
+
14
+ Or with the install scripts (they check for Node.js 22+ and use npm or pnpm):
15
+
16
+ ```sh
17
+ # macOS / Linux
18
+ curl -fsSL https://flare-docs.codetotech.com/install.sh | bash
19
+ ```
20
+
21
+ ```powershell
22
+ # Windows PowerShell
23
+ irm https://flare-docs.codetotech.com/install.ps1 | iex
24
+ ```
25
+
26
+ Or skip the install entirely:
27
+
28
+ ```sh
29
+ npm create flare-framework@latest my-app
30
+ npx @flaredev/cli create my-app
31
+ ```
32
+
33
+ ## Use
34
+
35
+ ```sh
36
+ flare create shop
37
+ cd shop
38
+ flare gen resource Product --fields 'name:string, price:int, sku:string!'
39
+ flare migrate
40
+ flare dev
41
+ flare deploy
42
+ ```
43
+
44
+ Run `flare --help` for every command, or read the
45
+ [CLI reference](https://flare-docs.codetotech.com/reference/cli/).
46
+
47
+ Requires Node.js 22 or later.