CLI
The pitlane CLI wraps Cloudflare platform operations for Remix apps. It reads Cloudflare resources from the platform() plugin in vite.config.ts.
Pitlane does not replace Vite+ lifecycle commands. Use vp dev, vp check, vp test, and vp build for application work.
Database
pitlane db generate
pitlane db push
pitlane db migrate
pitlane db migrate --remote
pitlane db reset
pitlane db seedUse database commands for D1 schema generation, local migrations, remote migrations, reset, and seed flows.
Secrets
pitlane secrets push
pitlane secrets listpitlane secrets push reads .env, compares it with deployed Cloudflare secret names, and pushes changes. Cloudflare secret values are write-only.
Resources
pitlane resources list
pitlane resources create
pitlane resources linkResource provisioning is explicit. pitlane resources create reads platform() and creates the configured D1, KV, R2, and queue resources. Cron triggers are generated into Wrangler config and applied during deploy.
Deploy
pitlane deploy
pitlane deploy --dry-runpitlane deploy builds the app, applies pending remote migrations, deploys with Wrangler, and prints the live URL.
Setup
pitlane setuppitlane setup writes .github/workflows/deploy.yml using pitlane-tools/deploy-action. When gh is available and authenticated, it can help initialize the repository, create a GitHub remote, configure Cloudflare credentials, and write the workflow.
Auth
pitlane login
pitlane whoamiAuthentication delegates to Wrangler so Pitlane uses the same Cloudflare identity as the rest of your Cloudflare tooling.