@abloatai/cli 0.36.0 → 0.37.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.
- package/README.md +21 -9
- package/dist/cli.cjs +464 -3125
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @abloatai/cli
|
|
2
2
|
|
|
3
|
-
The `ablo` command
|
|
4
|
-
rest of the terminal surface. Bundled to a single `dist/cli.cjs` by tsup, published
|
|
5
|
-
separately from the SDK so installing `@abloatai/ablo` never downloads the CLI's tooling.
|
|
3
|
+
The `ablo` command line: set up Ablo, connect your database, and push your schema from the terminal.
|
|
6
4
|
|
|
7
5
|
```sh
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
npx ablo init # scaffold ablo/ with a starter schema
|
|
7
|
+
npx ablo login # authorize in your browser, set up your keys
|
|
8
|
+
npx ablo connect # connect your database
|
|
9
|
+
npx ablo push # upload your schema; your rows stay in your database
|
|
10
|
+
npx ablo dev # push, then keep watching for changes
|
|
11
|
+
npx ablo status # see what your key acts on and whether writes will work
|
|
11
12
|
```
|
|
12
13
|
|
|
13
|
-
`npx ablo`
|
|
14
|
-
|
|
14
|
+
Run `npx ablo --help` for the full command list, or `npx ablo docs` to read the guides.
|
|
15
|
+
|
|
16
|
+
## Installing
|
|
17
|
+
|
|
18
|
+
`npx ablo` works with nothing installed: it ships inside [`@abloatai/ablo`](https://www.npmjs.com/package/@abloatai/ablo), which resolves this package and fetches it on first run. Add it to a project for pinned, offline runs:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
npm i -D @abloatai/cli
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## What it does
|
|
25
|
+
|
|
26
|
+
The CLI drives your Ablo project against the `@abloatai/ablo` SDK. Your schema lives in `ablo/`; `push` and `dev` send it to Ablo, and your rows stay in your own database.
|