Login

00b5e2 CLI

For you and your scripts. One command to install, then deploy, follow logs and add domains without opening the dashboard.

curl -fsSL https://00b5e2.com/install.sh | bash
  • macOS
  • Linux
  • Windows: irm https://00b5e2.com/install.ps1 | iex

01 what you can do

Everything the dashboard does

Deploy, logs, variables, domains, databases and tokens. Every command can answer in JSON, so scripts can read it.

Deploy

Ship the current folder to development, or to production when you say so.

terminal
$ 00b5e2 deploy
$ 00b5e2 deploy --prod

Logs

Follow requests and errors live, or search the last hours.

terminal
$ 00b5e2 logs --follow
$ 00b5e2 logs --since 2h

Variables

Set and list variables per environment. Secrets are never printed.

terminal
$ 00b5e2 env set API_KEY
$ 00b5e2 env ls --prod

Domains

Add a domain and get the records to paste. HTTPS is automatic.

terminal
$ 00b5e2 domains add noa.studio
$ 00b5e2 domains verify noa.studio

Databases

Create a database, open a shell, take a backup.

terminal
$ 00b5e2 db create
$ 00b5e2 db shell db

Tokens

Create a scoped token for a script or an agent, and revoke it.

terminal
$ 00b5e2 tokens create ci
$ 00b5e2 tokens revoke ci

02 scripting and ci

Made for scripts

Every command answers in JSON when you ask, exits with a code you can trust and runs with a token that can only do what you allowed.

JSON output

Every command prints JSON when you ask, so a script reads fields instead of parsing text.

00b5e2 deploy --json | jq .url

Exit codes

0 when it worked, 1 when it failed, 2 when it is not allowed. A pipeline stops on the first failure.

00b5e2 deploy || exit 1

Tokens in CI

Create a token that can only deploy to development and save it as a CI secret. Revoke it and nothing else breaks.

00b5e2 tokens create ci --scope deploy
terminal
$ 00b5e2 deploy --json
{
"id": "dpl_128",
"project": "my-site",
"env": "development",
"status": "live",
"url": "https://my-site.00b5e2.dev"
}
.github/workflows/deploy.yml
# deploy every push to development
- name: deploy to 00b5e2
run: |
curl -fsSL https://00b5e2.com/install.sh | bash
00b5e2 deploy --json
env:
TOKEN_00B5E2: ${{ secrets.TOKEN_00B5E2 }}

03 commands

Every command

The ones you will use most. 00b5e2 help lists all of them, and each one can answer in JSON.

commandwhat it does
00b5e2 loginLogin from the terminal, or pass a token in CI.
00b5e2 initCreate a project from the current folder.
00b5e2 servicesAdd services, open or close them, link them to a database.
00b5e2 deployDeploy to development, or to production when you ask.
00b5e2 rollbackPut the previous deployment back live.
00b5e2 logsShow logs, or follow them live.
00b5e2 envList, set and remove variables per environment.
00b5e2 domainsAdd, verify and remove domains.
00b5e2 dbCreate databases, open a shell, take backups.
00b5e2 tokensCreate and revoke scoped tokens for scripts and agents.
00b5e2 mcpRun the MCP server locally for an agent.

Read the CLI docs