Command Reference
Complete list of all available CLI commands.
| Command | Description |
|---|---|
| leash login | Sign in with Google (opens browser) |
| leash logout | Sign out and clear stored credentials |
| leash whoami | Show current authenticated user and plan |
| leash init | Bootstrap an app and write .leash/config.json (commit this to git) |
| leash dev | Run your dev server with org secrets injected as env vars |
| leash dev -- <command> | Run an explicit command (e.g. npm run start) with secrets injected |
| leash secrets types | Generate leash-secrets.d.ts typing process.env from configured keys |
| leash deploy | Deploy current directory (auto-detects framework, auto-syncs secrets) |
| leash deploy --html <file> | Deploy a single HTML file as a static site |
| leash apps | List all deployed apps with URLs and status |
| leash apps delete <name> | Delete a deployed app permanently |
| leash coupons redeem <code> | Redeem a coupon code for credits |
| leash org list | List organizations you belong to |
| leash org use <slug> | Switch the active organization |
| leash version | Show CLI version |