Commands
login, logout, whoami, link and unlink are shortcuts for auth … and project …. stechbd <namespace> <command> --help describes any command without running it.
| Command | What it does |
|---|---|
stechbd edge deploy:prod | Ship the working tree to production. |
stechbd edge logs | Follow the build to its end. Exits 1 if it failed. |
stechbd edge deploy:preview --domain=preview.example.com | Build a preview beside production, named after the branch. |
stechbd preview rm <name> | Remove a preview. |
stechbd edge ls | List deployments, where each went and what it was built from. |
stechbd edge rollback | Return to the previous production release, after asking. |
stechbd edge promote '#42' | Put a tested preview live, as the same artifact. |
stechbd env pull | Write .env.local with its scopes kept. |
stechbd env add SIGNING_KEY --secret | Add a value read from stdin, for example cat key.pem piped in, so the secret stays out of shell history. |
stechbd domain ls | List every hostname and what it serves. |
stechbd app create web --project blog | Create an application deployed from this directory. |
stechbd server ls | List every machine and the room left on it. |
stechbd token create ci --permission app.deploy | Create a token for CI. The secret is printed once. |
stechbd datastore create main --engine postgres --version 16 | Create a managed database. Then run stechbd datastore link main. |
stechbd backup drill <run> | Prove that an archive restores, into a scratch database. |
stechbd app usage | Show what this month cost, and how much of it was watched. |
stechbd fleet summary | Show every application and server in one line. |
- DeployShip the working tree to production, follow the build, and list, roll back or promote releases.
- PreviewsBuild a branch beside production, give it a hostname, and remove it when you are done.
- EnvironmentPull variables into .env.local, and add a secret from stdin so it stays out of shell history.
- DomainsList every hostname, and what each one serves.
- ApplicationsCreate an application deployed from this directory, and see what this month cost.
- Servers and fleetList every machine and the room left on it, or see every application and server in one line.
- TokensCreate a token for CI. Its secret is printed once.
- Database and backupsCreate a managed database, and prove that a backup archive restores.
- Raw APIReach any panel endpoint with this machine's credential, the way gh api reaches GitHub.