Command Reference

Complete list of all available CLI commands.

CommandDescription
leash loginSign in with Google (opens browser)
leash logoutSign out and clear stored credentials
leash whoamiShow current authenticated user and plan
leash initBootstrap an app and write .leash/config.json (commit this to git)
leash devRun 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 typesGenerate leash-secrets.d.ts typing process.env from configured keys
leash deployDeploy current directory (auto-detects framework, auto-syncs secrets)
leash deploy --html <file>Deploy a single HTML file as a static site
leash appsList 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 listList organizations you belong to
leash org use <slug>Switch the active organization
leash versionShow CLI version