CLI & Tooling
rebase cloud
Everything to do with Rebase Cloud, which is in private beta. See the Rebase Cloud guide for what it is and what the beta does not include.
Every group answers --help, and --help never runs the command. Most commands
act on the linked project in .rebase/cloud.json; --project <id> operates on
one without linking.
Three options apply everywhere: --json for machine-readable output (also the
default when piped, except for deploy, or with REBASE_JSON=1), --url <origin> to target a
specific control plane (or REBASE_CLOUD_URL), and --project, -p <id>.
rebase cloud login # sign in through the browser: a link and a code, approved in the consolerebase cloud login --no-browser # print the link instead of opening it, e.g. over SSHrebase cloud login --email me@example.com # with your password insteadrebase cloud login --code # with an emailed 6-digit code: accounts made with Google, GitHub or LinkedInrebase cloud logout # sign outrebase cloud whoami # the current session, or what REBASE_TOKEN may dorebase cloud access-token # the bearer the CLI would send now, refreshed first; for scripts and the MCP serverrebase cloud tokens create --can deploy,logs # a token for CI, shown oncerebase cloud tokens create --can billing --org <id> # a token for an organization's billing--can takes deploy, logs, env, database and backups on one project
(--project, or the linked one), and billing, audit and
notifications on one organization: --org, else the project’s organization,
else the selected one. A token may hold only organization capabilities.
logs also covers usage. What each one reaches is in
CI and agents. When the control
plane marks an answer to a token as deprecated (a token from before billing
reading billing), the CLI prints the notice once on stderr, never in the
--json value.
With no flags, login signs in through the browser. It prints a short code and
a link to the console, opens the browser, and waits while you approve the
sign-in there. You are signed in to the console already, or you sign in with
any method it offers (password, Google, GitHub, LinkedIn). Check that the
browser shows the same code before you approve it. The link expires after ten
minutes and works once. Without a terminal, or with --json, the link and code
go to stderr and login keeps waiting, so an agent can hand the link to you. A
denied sign-in exits with access_denied, an expired one with expired_token.
With --email, login asks whether to use your password or a code the control
plane emails you. With two-factor authentication on, it then asks for your
authenticator code (or a recovery code); through the browser, approve from a
console session that used it. Without a terminal neither code can be typed: set
REBASE_TOKEN to an access token made in the console under Settings → Access
tokens. See Rebase Cloud.
Project link
Section titled “Project link”rebase cloud link # link this directory to a cloud project (picked from a list)rebase cloud link <slug> # link the project with that slug or id, as --project <slug> doesrebase cloud link [url] # or straight at a backend: no control plane, no login, and the rest of the family refuses until you unlinkrebase cloud unlink # remove the linkrebase cloud use [org] # select the active organizationrebase cloud open # open the dashboard in a browserThe organization commands (orgs, billing, usage org, activity,
projects create, tokens create --can billing) act on --org <id>, else the
organization cloud use selected, else the linked project’s organization. In
that last case they say which one they used. orgs delete never takes it from
the link: it needs --org or a selected organization.
Connect a self-hosted instance to Claude
Section titled “Connect a self-hosted instance to Claude”rebase cloud connect https://your-app.com # add it to your account; prints two variables, waits until it answersrebase cloud connect --list # the instances you added, and whether each is connectedrebase cloud connect --remove https://your-app.comThe Rebase connector (https://app.rebase.pro/mcp)
then reaches it beside your Cloud projects. connect prints
REBASE_PLATFORM_TOKEN_KEY and REBASE_PLATFORM_TOKEN_AUDIENCE; set them on
the server and restart it. In the project’s folder it offers to write them to
.env. Rerunning it is safe. --name names the instance, --org picks the
organization, --no-wait returns without waiting. Owners and admins.
Projects
Section titled “Projects”rebase cloud init --claim [--name <name>] # a live backend with no account, and a link to claim it within 72 hoursrebase cloud claim [--open] # that link again, and how long is leftrebase cloud projects listrebase cloud projects list --all-orgs # every organization you belong torebase cloud projects create [--link]rebase cloud projects info [id]rebase cloud projects transfer [id] --to-org <id|slug>rebase cloud projects delete [id]claim prints the claim link of the project init --claim provisioned in this
directory, and the time left before it is deleted unclaimed (Unclaimed: deleted in 41h). --open also opens it in a browser. The link is kept only on the
machine that ran init --claim, in ~/.rebase/credentials.json; the control
plane stores a hash of it and cannot print it again. Before answering, claim
asks the control plane whether the project’s own token still works. A claim
revokes that token, so once someone has claimed the project, claim refuses
with already_claimed instead of printing a dead link. It also refuses once the
window has ended (claim_expired), and in a directory with no claim link
(no_claim_link). rebase cloud status and rebase cloud whoami show the same
link while the project is unclaimed.
projects transfer moves a project into another organization, unchanged: the
same id, address, custom domains, database, storage, environment variables and
deployments. Only who owns it, who can see it and who pays for it change. You
must be owner or admin of both organizations and signed in with rebase cloud login;
an access token cannot move a project. The destination is billed from then on,
so one with no card on file (and not billed internally) refuses the move and
nothing changes. A project still waiting to be claimed moves by its claim link
instead. The console has the same action under the project’s Settings, in the
danger zone.
Deploy and observe
Section titled “Deploy and observe”rebase cloud deploy [app] [--source .] # deploy an app and stream build logsrebase cloud deploy [app] --preview [--preview-name <name>] # its own address; production untouchedrebase cloud previews [list|delete <name>]rebase cloud logs [--runtime] [-f] [--preview [name]] # build log, or what the app printsrebase cloud deployments list [--limit N|--all]rebase cloud rollback [id] [-y] # back to a successful deployrebase cloud cancel [-y] # cancel the in-flight buildrebase cloud start | stop | restart [-y] # stop and restart need -yrebase cloud sleep [status|on|off|wake] # sleep when idle; `on --after 15m|30m|1h|4h`rebase cloud status # one-glance project statusrebase cloud metrics # live CPU / memory / disk, realtime per instancerebase cloud debug [health|logs|…] # diagnose a deployment, read-onlydeploy with no app name deploys the backend. A backend bundle
deploy also uploads the project’s source — what git tracks, never a .env — so a
platform upgrade can rebuild it; --no-source skips that once, and cloud settings set --platform-rebuilds off stops it and deletes the stored copy. --allow-downgrade deploys an older release.
A platform upgrade can rebuild a managed app on a newer @rebasepro release
than your checkout pins. A deploy from that checkout would put the older admin
panel and driver back, so it is refused before anything is built, with the
command that fixes it (rebase upgrade --to <version>). rebase cloud status
says the same thing earlier: a Rebuilt on line, and in --json,
runtime.platformRebuiltVersion and frameworkDrift.
A followed deploy ends on a summary: each app it shipped with its URL, the
deployment id, how long it took, and whether the new version answers there. It
waits up to --live-timeout seconds (default 60; 0 skips the check) for a
backend’s /health and each static app’s address to answer. A failed deploy
ends on one line naming the app and the reason, and exits non-zero. The summary
prints even when piped; --json (or REBASE_JSON=1) prints one object instead,
with apps, hosts, live, liveChecks and durationMs. A host whose HTTPS
certificate is not issued yet is reported as not live, with that reason.
Before uploading, deploy parses the JavaScript of every static app it ships:
the .js/.mjs/.cjs files in its output and the inline <script> blocks in
its HTML. A syntax error stops the deploy with file:line:column (code
syntax_error under --json), and --no-verify skips the check. A successful
deploy ends with the way back, rebase cloud rollback. A static app deployed on
its own cannot be rolled back yet; see
Roll back.
--preview serves the build at https://<project>--<name>.rebase.website and
leaves production alone. A preview of the backend runs its own backend, on an
empty database of its own, with its static apps folded in. A static app cannot be
previewed on its own on Rebase Cloud yet: rebase cloud deploy <app> --preview
is refused with PREVIEW_STATIC_UNSERVED and publishes nothing. A backend
preview is billed as one more app unit at the default size while it exists, and
the deploy says what that comes to per month, from the control plane’s own quote
(cost under --json; only the rule and this link when the control plane cannot
price it); rebase cloud previews delete <name> stops it. rebase cloud previews
shows a preview the platform paused (its database grew past the preview limit) as
paused, with the reason (statusMessage under --json). A new preview address
can be refused with preview_cert_budget when the platform’s weekly budget of
preview certificates is spent; the message says until when.
See Preview a change.
rebase cloud logs prints the latest build log, and -f tails a build that is
still running. --runtime reads what the app prints instead, from every pod
behind it, each line naming its pod when more than one wrote:
rebase cloud logs --runtime -f # follow until Ctrl-C (exits 0)rebase cloud logs --runtime --since 15m --grep timeoutrebase cloud logs --runtime -f --level error # errors onlyrebase cloud logs --runtime --previous # a restarted container's last runrebase cloud logs --runtime --raw # the lines exactly as the pods wrote them--sincetakes a duration (30s,5m,1h) or an RFC3339 time.--tail <n>is the lines per pod to start from (the control plane caps it at 2000).--grepkeeps lines containing the text, in any case; write/re/flagsfor a regular expression.- With
--grepor--level, the filter searches every line the control plane returns for the window (each pod’s newest 2000), and--tailcounts matching lines: the newestnmatches per pod, 500 by default. When a pod had more lines in the window than that, the output says the older ones were not searched (filter.scanCappedunder--json). --level error|warn|info|debugkeeps lines at that severity or worse. It reads the structuredseveritya Rebase backend logs, a level word at the start of a plain line, or an error shape such asTypeError:. Lines with none are left out.- A structured line prints readably:
14:30:32.126 WARN [boot] Driver version skew … fix="bump …", and a request asGET /api/data/rooms/RCTF 404 16ms requestId=….--rawprints each line as the pod wrote it instead; plain-text lines print unchanged either way, and--jsonalways carries the original lines.
A follow polls every two seconds and prints each line once. It announces pods
that start, stop or restart. When a container restarts it also prints the last
lines of the instance that died, where the reason usually is. It waits while no
pod is running, and after a dropped connection it retries with backoff and
resumes where it left off. With --json, a follow prints one JSON object per
line (NDJSON): {"type":"line","ts","pod","text"} for each log line, and
{"type":"event","event":…} for the rest.
--preview <name> reads a preview instead of production. Use the preview’s
name, or the deployment id a preview deploy printed. On its own, --preview
reads the project’s only preview. A static preview has a build log but no
runtime log, because it runs no server.
Config
Section titled “Config”rebase cloud env list | set | unset | reveal | pullrebase cloud domains list | add <domain> | verify [domain] | remove <domain>rebase cloud extensions list | enable | disablerebase cloud settings show | set # name, branch, repo, subdomain, rebuildsrebase cloud app-key [rotate] # the app key init --claim wrote; owners and adminsrebase cloud service-key [rotate] # REBASE_SERVICE_KEY; owners and adminsrebase cloud service-key [rotate] --preview <name> # a backend preview's own keydomains add for a host the project already has, such as one a deploy
registered from rebase.json, prints that host’s DNS records and state as a
fresh add does; --json adds alreadyRegistered: true. A verified host is
served over HTTPS once its certificate is issued, a few minutes after
verification. Until then the ingress answers with a placeholder certificate,
and domains list, domains verify and status say
verified, certificate pending rather than live. The CLI finds this out with
one TLS handshake to each verified host; --json carries it as certificate
(ready, pending or unreachable, with a reason).
app-key lists the
key rebase cloud init --claim minted on the app and wrote into .env as
REBASE_API_TOKEN, by its prefix and never its value. Claiming the project
hands that key over and it stops expiring. app-key rotate mints a new one and
revokes every earlier agent key at once. It writes the new key into a .env
that already sets REBASE_API_TOKEN, and keeps it out of --json there. In
any other directory it prints the key once. Keys made in the app’s admin panel
are not touched. It runs with your login: no token capability grants it.
service-key
prints the generation of the project’s REBASE_SERVICE_KEY, when it was last
rotated, and whether the app is still restarting onto the newest one. It never
prints the key: that is env reveal REBASE_SERVICE_KEY. service-key rotate
issues a new key and restarts the app onto it. The old key works until the
restart has finished, and nothing after. It is refused while a deploy is
running, and it runs with your login. Claiming a project rotates its service
key too.
A backend preview has a service key of its own. Its first deploy makes it,
redeploys keep it, and production’s key answers 401 on the preview.
service-key --preview <name> prints it, as does env reveal REBASE_SERVICE_KEY --preview <name>. service-key rotate --preview <name>
writes a new one and restarts only that preview’s pod; the old key works until
the new pod is ready. It asks first, and --yes skips the question. Both ask
what env reveal asks: the organization’s owner or admin role, and for an
access token the env capability on a claimed project. Production’s key and
pod are not touched.
A backend preview starts from production’s variables, live keys included.
env set KEY=VALUE --preview gives previews their own value, env unset KEY --preview leaves the variable out of them, env reset KEY --preview hands
back production’s value, and env list --preview shows the differences.
Production is never changed by any of them.
env set KEY --stdin reads the value from standard input instead of the
command line, where ps and your shell history would show it:
read -rs STRIPE_KEY # paste the value; nothing is echoedprintf %s "$STRIPE_KEY" | rebase cloud env set STRIPE_KEY --stdin --secretOne trailing newline is dropped. The MCP server’s rebase_cloud_env_set sets
values this way.
env set KEY --prompt asks for the value at a hidden prompt on your terminal.
Nothing is echoed, and the value is stored as a secret, as with --stdin --secret. An agent can give you the command to run, so the value never goes
through the chat. Without a terminal it refuses (input_required) and points
at --stdin.
Organizations
Section titled “Organizations”rebase cloud orgs list | createrebase cloud orgs members [list] | invite <email> [--role admin|member] | remove <email|uid> | role <email|uid> <role>rebase cloud orgs invites [list] | revoke <id|email> | resend <id|email>rebase cloud activity [--project <id|slug>] [--action <area|action>] [--actor <email>] [--limit N] [--before <cursor>]members invite <email> adds someone who already has a Rebase account with a
verified email address, as the console’s Add member does. They have access at
once and nothing is emailed. Rebase Cloud does not send invitations yet, so a
person with no account gets no link: the command refuses with no_account and
asks you to have them sign up first, then run it again. A control plane that
serves invitations opens one instead and prints its link (single use, valid 7
days, accepted only by an account that has verified that address); invites
lists, revokes and resends those, and answers not_served elsewhere.
--role is admin or member (default). Nobody is added as owner: add them
as an admin, and an owner promotes them with members role <email> owner.
Adding members and invites need a rebase cloud login session;
REBASE_TOKEN is refused. Both take the owner or admin role; a member is told
so.
members remove asks first (--yes skips it); removing or demoting an owner
takes an owner, and the last owner stays. --org <id> picks an organization
other than the selected one.
Project access
Section titled “Project access”rebase cloud access [list]rebase cloud access invite <email> [--role admin|developer|viewer]rebase cloud access role <email|uid> <admin|developer|viewer>rebase cloud access remove <email|uid>rebase cloud access invites [list] | revoke <id|email> | resend <id|email>access manages who reaches one project, the linked one or --project. An
organization’s owners and admins are admin on every project it owns and its
members are developer; access gives someone a role on this project alone,
whether or not they belong to the organization. Their effective role is the
higher of the two, and access lists it with where it comes from. admin is
everything, access and settings included; developer deploys and uses Studio,
logs and the environment; viewer reads.
invite opens an invitation to the project (--role defaults to developer)
and prints its link: single use, valid 7 days, accepted only by an account
that has verified that address. role and remove change or remove the
project’s own role and ask first (--yes skips it); someone who reaches the
project through the organization is removed with orgs members remove.
Losing admin on a project also takes back the admin role Open admin
panel gave that person inside the app, and ends their sessions there. Every
change needs a rebase cloud login session and admin on the project; a
control plane without project access answers not_served.
activity is the selected organization’s audit log, newest first: who
deployed, rolled back, set, deleted or revealed an environment variable (by
name, never by value), changed a domain, created, restored or downloaded a
backup, changed a project’s compute, stopped or deleted a project, changed a
member’s role, or created or revoked an access token. --action takes an area
(deploy, deploy_hook, env, domain, backup, pitr, database,
extension, storage, project, org, member, invite, token) or a full action
such as env.set. A page holds up to 100 entries (--limit, default 50); the
output prints the --before cursor for the next one. --json is one value,
{ org, events, nextCursor }. It needs the organization’s owner or admin role.
A token reads it only with the audit capability on the organization
(rebase cloud tokens create --can audit). The console’s Activity page
shows the same log.
Databases
Section titled “Databases”rebase cloud db list | create | info | connect | testrebase cloud db query [sql] [--file <path>]rebase cloud db backup list | create | restore | status | downloadrebase cloud db pitr status | restore | cutover | discarddb connect opens a local port that is the managed database (no public
endpoint) until Ctrl-C; --reveal adds the password. Owner or admin only.
db query runs SQL on the managed database and prints each statement’s
result, with no local psql: it opens the same tunnel for the length of one
query. A file of several statements runs as one script and stops at the first
error; no transaction is added, so wrap the file in BEGIN/COMMIT to make it
all-or-nothing. COPY … FROM STDIN is refused. Owner or admin only. With
--json it prints { projectId, results: [{ command, rowCount, rows }] }.
db connect, db query and db backup take --database <key> for one of
the project’s other databases, the key of
a database("<key>") declaration. Without it they act on the default one.
Guests
Section titled “Guests”Every signInAnonymously() in a test, a bot or an abandoned visit leaves a row
in the project’s users. These commands count those rows and remove them, so
nobody has to click through them one by one.
rebase cloud guests # how many, and the ones last seen longest agorebase cloud guests --older-than 30d --limit 100 # the ones not seen for 30 daysrebase cloud guests delete <id> # one guest; asks firstrebase cloud guests prune --older-than 30d # dry run: how many would gorebase cloud guests prune --older-than 30d --yes # deletes themprune takes an age with a unit: 45m, 12h, 30d or 2w. Without --yes it
counts and deletes nothing. It works through a project of any size in small
batches.
Only guests can go. A guest is a row with is_anonymous set, no password and no
linked identity, and the app applies that rule in the statement that deletes the
row, so the command cannot reach an account, even one that signed up a moment
after it was listed. delete refuses an account with NOT_ANONYMOUS.
Last seen is when the guest’s session was last issued or refreshed, or when the guest was created if it has no refresh token left. A guest who keeps coming back is not old, however long ago it was created. A deleted guest’s refresh tokens and any other auth rows go with it.
Rows in your own tables follow their foreign key:
| The column | What happens to the row |
|---|---|
Optional link (ON DELETE SET NULL, the default) |
Kept, with the link emptied |
Required link (ON DELETE RESTRICT, the default) |
Kept, and the guest with it: the guest is reported as skipped, with GUEST_REFERENCED |
onDelete: "cascade" |
Deleted with the guest |
No foreign key (a userSelect field, a plain id) |
Kept, holding an id that no longer exists |
Check which of your links cascade before you pass --yes: it cannot be undone.
The command goes through the console’s Studio proxy, which holds the app’s key, so the key never reaches your
machine. It takes an organization owner or admin, on a project whose Studio access is on
(rebase cloud settings set --studio on). A project on an older runtime is told it needs a newer one.
rebase users guests --project <slug> is the same command in the project family.
Resources
Section titled “Resources”What the platform holds for the project, against what its code declares.
rebase cloud resources # each database and bucket: declared? provisioned?rebase cloud resources prune database <key> # remove one the code no longer declaresA deploy never removes a provisioned database when its declaration goes — that would be data deleted by a push. It keeps, binds and bills it until somebody prunes it by name.
Compute
Section titled “Compute”What the project reserves, and what that costs.
rebase cloud compute # the current reservation and its monthly costrebase cloud compute set # change itcompute set takes --cpu, --memory, --replicas, --spot,
--db-instances, --db-cpu, --db-memory,
--storage, --autoscale-max, --autoscale-cpu-target and --no-autoscale.
--scale-to-zero is retired: every backend runs at least one instance, so
true is refused and false is ignored with a warning. There are no plan
tiers: everything is priced per resource. See
Rebase Cloud.
Storage, notifications, clusters, billing and usage
Section titled “Storage, notifications, clusters, billing and usage”rebase cloud storage # list storage bucketsrebase cloud storage create # provision platform-managed storagerebase cloud storage attach # attach your own S3-compatible bucketrebase cloud notifications [list] | add <url> | test <id> | remove <id> # deploy, backup, billing and usage events to Slack, Discord or any URLrebase cloud clusters list | add | verify | registry | open | close # the clusters tenants run on; `add` registers one from a kubeconfigrebase cloud billing # the billing account and card on filerebase cloud billing setup # attach a card, one-time, opens a browserrebase cloud billing checkout # a Stripe session for one projectrebase cloud billing invoices [--limit N] # issued invoices, newest first, with Stripe's hosted pagerebase cloud billing upcoming # a preview of each subscription's next invoicerebase cloud usage [--month YYYY-MM] # requests used this month against the allowance, and the overage so farrebase cloud usage org # every project of the selected organization, with the totalnotifications add <url> sends the linked project’s events to a URL. --events
takes a comma-separated list of deploy.failed (the default),
deploy.succeeded, deploy.rolled_back, backup.unhealthy,
billing.payment_failed, usage.threshold and preview.paused. --format slack sends
{ "text" } alone instead of the event JSON, which also carries a text. The URL
is a positional argument because --url names the control plane. add prints
the signing secret once; --json returns { projectId, webhook, secret }.
test <id> exits 1 with code delivery_failed when the receiver did not accept
the test event. Listing is open to any member of the organization; add, test
and remove need the owner or admin role. A token manages them with the
notifications capability on the organization, within the same role rule. See
Cloud notifications.
clusters registry <cluster-id> --repository <host/project/repo> --push-service-account <email> --pull-key-file <key.json> gives a customer’s
own cluster an image registry of its own, used for that cluster alone. Without
one, such a cluster uses the platform’s shared registry, and every deploy to it
says so in its log. With one, builds push to that repository with a token for
that account, pods pull with that key alone, and a rollback accepts the
project’s images there. Images
the project built in the shared repository before stay pullable and stay
rollback targets. The three values go together; --clear forgets them. The key
is sealed when it is written and never read back. Like the rest of clusters,
it needs the platform-admin role. The operator creates the repository and both
accounts with Terraform (saas/infra/gcp/registry-linked-clusters.tf).
clusters add --platform-capacity registers capacity Rebase operates: projects
placed in its region deploy there once its baseline is ready. It does not offer
the region to customers. --open-to-customers does, at registration, or later
clusters open <id-or-name>; clusters close <id-or-name> stops offering it.
Operators can deploy to a closed cluster. Leave a cluster closed while its
base domain is shared with another cluster: until the wildcard record moves, its
hostnames resolve only through explicit records (ingress.<baseDomain>,
s3.<baseDomain> and one per project), and clusters add prints which records
to add. When the domain is shared, open warns that the wildcard record must
already point at the cluster. It does not ask, so it works from a script.
billing invoices and billing upcoming read the same Stripe data as the
console’s Billing page, and are open to the organization’s owners and admins
only. A token reaches them, and the rest of billing, with the billing
capability on the organization; a token made before that capability keeps
working for one release, with a warning on each answer. Amounts in --json are in the currency’s minor unit (cents), exactly as
Stripe sends them. Draft invoices are not listed; the preview is computed by
Stripe and its metered lines keep growing until the period closes.
usage reads what the linked project (or --project) has used in a calendar
month, in UTC: requests against the included allowance, 5xx errors, the overage
so far in euros and, for the month in progress, where it is heading at this
pace (an estimate). The overage is the overage report’s own calculation, the
one that tells Stripe what to bill, and lands on the following month’s invoice.
usage org lists every project of the organization selected with rebase cloud use, and the total. Any member of the organization can read it. A token reads
it with the logs capability on the project; usage org lists the projects the
token holds that on.
--month takes a past month. The answer carries caveats, each with a code: storage_not_measured
(object storage reads 0), multi_pod_undercount (requests served while two or
more app pods run are not counted), partial_days, metering_off,
overage_billing_off, not_billed, billed_next_month, pre_claim_days (a
project claimed from an agent counts only the days from the claim on) and
autoscale_not_charged (pods ran above --replicas and this platform does not
charge them yet). An autoscaled project’s answer also carries autoscale:
extraPodSeconds above the floor, amountEur at its rates, and charged.
Deploy hooks, alerts and the rest
Section titled “Deploy hooks, alerts and the rest”rebase cloud deploy-hooks [list] | create [--name <name>] [--branch <branch>] | revoke <id> # secret URLs a git host or CI calls to deployrebase cloud alerts [list] [--all] | ack <id> | snooze <id> --hours <1-168> # the project's incidentsrebase cloud deploy --git [<branch>] # build on the control plane from the connected repositoryrebase cloud metrics --runtime # requests, errors and latency, per surfacerebase cloud metrics --history [--series cpu_millicores|memory_bytes|event_loop_delay_ms|requests_<surface>|errors_<surface>] [--minutes <n>]rebase cloud domains primary <domain> # make a verified domain the canonical onerebase cloud domains redirect <domain> [--off] # answer it with a 308 to the primary, path and query keptrebase cloud settings set --studio on|offrebase cloud orgs rename <name> [--slug <slug>]rebase cloud orgs delete # refused while the organization has projectsrebase cloud billing email <address> # where invoices gorebase cloud clusters baseline <id> [--install] # platform adminsdomains redirect is per domain and off by default, so a project serving an api. host beside its site keeps both; it takes effect while the domain is verified and another one is primary, and never applies to a domain an app is served on. deploy-hooks create prints the hook’s URL once. deploy --git cannot be combined with the flags of a local build, and on the managed runtime it needs --eject, because the control plane builds from source. settings set --studio is the switch the project commands (rebase data, rebase users, …) need on for --project: they reach the app through the console’s Studio proxy. A command whose control-plane route is not deployed yet answers not_served and names it. Destructive commands ask first and refuse with confirmation_required when nobody can answer: pass --yes.