@c9up/ream-cli-darwin-arm64 0.3.4 → 0.3.6
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 +32 -22
- package/package.json +1 -1
- package/ream +0 -0
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@ npm install -g @c9up/ream-cli
|
|
|
10
10
|
|
|
11
11
|
## Commands
|
|
12
12
|
|
|
13
|
-
Run `ream --help` (or `ream <command> --help`) for the authoritative,
|
|
14
|
-
up-to-date list.
|
|
13
|
+
Run `ream --help` (or `ream <command> --help`) for the authoritative,
|
|
14
|
+
always up-to-date list. What the binary itself defines:
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
17
|
# Scaffolding
|
|
@@ -19,44 +19,54 @@ ream new my-app # create a new Ream project
|
|
|
19
19
|
ream template kitchen-sink # install a project template from its upstream repo
|
|
20
20
|
|
|
21
21
|
# Development
|
|
22
|
-
ream dev # dev server
|
|
23
|
-
ream build #
|
|
22
|
+
ream dev # dev server + whatever builds the assets, under one Ctrl-C
|
|
23
|
+
ream build # assets, then TypeScript into dist/
|
|
24
24
|
ream start # run production (spawns node)
|
|
25
|
+
ream test # the suites declared in reamrc.ts
|
|
26
|
+
ream repl # a Node REPL with the application booted
|
|
25
27
|
|
|
26
28
|
# Code generation
|
|
27
|
-
ream make:controller order Order
|
|
28
|
-
ream make:service order Payment
|
|
29
|
-
ream make:entity order OrderItem
|
|
29
|
+
ream make:controller order Order # app/order/OrderController.ts
|
|
30
|
+
ream make:service order Payment # app/order/PaymentService.ts
|
|
31
|
+
ream make:entity order OrderItem # app/order/OrderItem.ts
|
|
30
32
|
ream make:validator order CreateOrder
|
|
31
|
-
ream make:provider Stripe
|
|
32
|
-
ream make:migration create_orders_table
|
|
33
|
-
ream make:seeder OrdersSeeder
|
|
34
33
|
ream make:module order Order # entity + controller + validator + migration
|
|
34
|
+
ream make:provider Stripe
|
|
35
|
+
ream make:command app:provision # commands/app-provision.ts, discovered automatically
|
|
36
|
+
ream make:middleware auth --stack router
|
|
37
|
+
ream make:event orderShipped
|
|
38
|
+
ream make:listener sendMail --event orderShipped
|
|
35
39
|
ream stubs:publish controller # copy a make: template into stubs/make/ to edit it
|
|
36
40
|
|
|
37
|
-
# Database
|
|
38
|
-
ream migrate # run pending migrations
|
|
39
|
-
ream migrate:rollback # roll back the last batch
|
|
40
|
-
ream migrate:status # show migration status
|
|
41
|
-
|
|
42
41
|
# Packages
|
|
43
42
|
ream add @c9up/atlas # install a package AND run its configure() hook
|
|
44
43
|
ream configure @c9up/photon # (re-)run a package's configure() hook
|
|
45
44
|
|
|
46
|
-
# Scheduling
|
|
47
|
-
ream schedule:list # list registered scheduled tasks
|
|
48
|
-
ream schedule:run <task> # run one task now (admin override)
|
|
49
|
-
|
|
50
45
|
# Integrations / tooling
|
|
51
|
-
ream mcp
|
|
52
|
-
ream
|
|
53
|
-
ream inspect #
|
|
46
|
+
ream mcp install # manage the Ream MCP server registration (.mcp.json)
|
|
47
|
+
ream generate:key # a fresh APP_KEY into .env
|
|
48
|
+
ream inspect # routes, providers, container bindings
|
|
49
|
+
ream list # every command — this binary's and the app's
|
|
54
50
|
|
|
55
51
|
# Diagnostics
|
|
56
52
|
ream doctor # environment health checks
|
|
57
53
|
ream info # version info
|
|
58
54
|
```
|
|
59
55
|
|
|
56
|
+
Every `make:` command takes `--dry-run` (print the plan as JSON, write nothing)
|
|
57
|
+
and `--force` (overwrite what is there).
|
|
58
|
+
|
|
59
|
+
Anything else is dispatched to the application's console kernel with its flags
|
|
60
|
+
intact, so a package's commands and the app's own run the same way:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
ream migrate # @c9up/ream, across every registered store
|
|
64
|
+
ream migration:run # @c9up/atlas
|
|
65
|
+
ream make:migration create_orders_table
|
|
66
|
+
ream schedule:list
|
|
67
|
+
ream provision --email you@example.com # the app's own
|
|
68
|
+
```
|
|
69
|
+
|
|
60
70
|
## Build from source
|
|
61
71
|
|
|
62
72
|
```bash
|
package/package.json
CHANGED
package/ream
CHANGED
|
Binary file
|