Open Cloudflare dashboard for your project from CLI.
go install github.com/mst-mkt/cf-open/cmd/cf-open@latestcf-openThis command reads Wrangler configuration (e.g., wrangler.jsonc or wrangler.toml) to list resources related to your project. You can select the resource you want to open, and its dashboard will open in your browser.
$ cf-open
? Select a resource to open:
▸ Worker: worker-name
Observability: worker-name
R2: bucket-name
D1: database-name (database-id)If there is only one resource, it will open directly.
| Option | Description |
|---|---|
-c, --wrangler-config |
Path to the wrangler configuration file. Supports JSONC and TOML formats. |
--account-id |
Cloudflare account ID |
-a, --all |
Open all resources in the browser |
-p, --print |
Print URL to stdout instead of opening in browser |
-v, --version |
Print the version number |
- Workers
- Workers Observability
- Workers Cron Triggers
- Queues
- Workflows
- Browser Rendering
- VPC
- R2 Object Storage
- Worker KV
- D1 SQL Databases
- Pipelines
- Vectorize
- Secrets Store
- Images
MIT License. See LICENSE for details.
Inspired by and references to