deployai 0.1.0-beta.12 → 0.1.0-beta.13
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 +12 -3
- package/dist/index.js +1294 -212
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,19 +45,28 @@ Node 20 or newer. No other setup: the CLI talks to https://deployai.co.il.
|
|
|
45
45
|
| `deployai logout` | Cancels the token on DeployAI and removes it from this computer. |
|
|
46
46
|
| `deployai whoami` | Shows the logged in user. |
|
|
47
47
|
| `deployai link [project]` | Links this folder to a project (slug, id or name). `--create "<name>"` makes a new project. With no name it never links on its own: in a terminal it asks first, an agent gets the exact `link <slug>` command. |
|
|
48
|
-
| `deployai deploy -m "<message>"` | Runs the check, packs the source and uploads it.
|
|
49
|
-
| `deployai versions` | Lists versions: number, live or not, status ("replaced by a newer upload" for one that never built), date, size, message, and
|
|
48
|
+
| `deployai deploy -m "<message>"` | Runs the check, packs the source and uploads it, then waits for the build. At a terminal it asks whether to put it live right away or show the preview first. `--live` puts it live after the build without asking (only on the owner's yes), `--no-wait` returns after the upload. |
|
|
49
|
+
| `deployai versions` | Lists versions: number, live or not, status ("replaced by a newer upload" for one that never built), date, size, message, and the `sql vN` command when its SQL waits for approval. |
|
|
50
50
|
| `deployai rollback v5` | Puts version 5 back live, with no rebuild. |
|
|
51
|
-
| `deployai promote v5` | Puts version 5 live. |
|
|
51
|
+
| `deployai promote v5` | Puts version 5 live. New database changes (SQL) are shown and run first, after a yes; SQL that removes data needs the database name typed. An agent passes `--approve-sql <code>` only after the owner said yes, and never for SQL that removes data. |
|
|
52
|
+
| `deployai sql v5` | The database changes version 5 runs before it goes live. |
|
|
52
53
|
| `deployai status` | Site state, address, live version, the newest version when it is not live yet (with the promote command once it is ready), and queue. |
|
|
53
54
|
| `deployai deploy --guest` | No login needed: puts the site live as a temporary site with a claim link. More below. |
|
|
54
55
|
| `deployai pull` | Downloads the code of the linked site's live version into this empty folder. Needs login. |
|
|
56
|
+
| `deployai pull --history` | The same, with the site's history as git commits, one per version up to the live one, oldest first. |
|
|
57
|
+
| `deployai migrate scan <url>` | Scans the old site you are moving: every page's address, title and description, the platform, and on WordPress its posts as Markdown. Up to 300 pages, `--max <n>` up to 1,000. Writes into `.deployai/migration/<host>/` only. |
|
|
58
|
+
| `deployai migrate media` | Downloads the old site's files at their old paths, resumable (25 MB a file, 1 GB a move). |
|
|
59
|
+
| `deployai migrate redirects` | Writes `public/_redirects` only for old addresses that cannot stay. |
|
|
60
|
+
| `deployai migrate verify <preview>` | Checks every old address on the preview: moved, missing, an error, or a lost title or description. |
|
|
61
|
+
| `deployai migrate status <stage> [note]` | For a managed move: reports the stage (and a note like the preview address) to the request, so the board and the owner's status page update. |
|
|
62
|
+
| `deployai blocks [inbox\|blog]` | Adds one of DeployAI's building blocks to an existing site, never over a file, with a guide in `.deployai/blocks/<key>.md`. With no key it lists them. |
|
|
55
63
|
| `deployai claim` | Prints this folder's temporary site keep link again. `--email <address>` mails it, with a reminder before the delete. |
|
|
56
64
|
| `deployai samples [name] [folder]` | Lists the six sample sites, or downloads one. More below. |
|
|
57
65
|
| `deployai start <id>` | The one line copied on the DeployAI site. Prepares this folder, then prints the steps for your agent. No login needed. More below. |
|
|
58
66
|
| `deployai speed <url>` | Google PageSpeed test of a page: lab results, real visitor data when Google has it and the biggest opportunities. `--desktop` tests a desktop load. |
|
|
59
67
|
| `deployai addons` | The marketplace add-ons of the linked site: which it has, which are done and which is next. Works once the DeployAI marketplace is open; the server checks that the site has each add-on. |
|
|
60
68
|
| `deployai addon next` | Prints the next add-on of the site for your agent. `deployai addon run <name>` prints one by name. |
|
|
69
|
+
| `deployai addons run` | Runs every add-on the site has that is not done, one after the other, with no ask between them. |
|
|
61
70
|
| `deployai addon done <runId>` | Saves the report of a finished add-on (`--status done\|failed\|skipped`, `--report .deployai/addon-report.json`) and prints the next one. |
|
|
62
71
|
| `deployai telemetry status\|on\|off` | Shows exactly what is sent, or turns it on or off. |
|
|
63
72
|
|