cf-open

module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2026 License: MIT

README

cf-open

Open Cloudflare dashboard for your project from CLI.

Installation

go install github.com/mst-mkt/cf-open@latest

Usage

cf-open

This 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.

Options
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

Supported Resources

  • Workers
  • Workers Observability
  • Workers Cron Triggers
  • Queues
  • Workflows
  • Browser Rendering
  • VPC
  • R2 Object Storage
  • Worker KV
  • D1 SQL Databases
  • Pipelines
  • Vectorize
  • Secrets Store
  • Images

License

MIT License. See LICENSE for details.

References

Inspired by and references to

Directories

Path Synopsis
cmd
cf-open command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL