Building a CLI for all of Cloudflare
Apr 13, 2026Matt “TK” Taylor, Dimitri Mitropoulos, Dan Carter

Summary
This post introduces a new schema-driven code generation pipeline that uses TypeScript types to define APIs, CLI commands, and context, enabling the generation of various interfaces including OpenAPI schemas, SDKs, Terraform providers, and CLI commands. It also announces a technical preview of a unified CLI tool named `cf` (formerly Wrangler) and the open beta release of Local Explorer, a feature for introspecting and managing simulated local resources (KV, R2, D1, Durable Objects, Workflows) used by Workers during local development.
More from the API Definition and Developer Experience trail
- Introducing cf: the agentic CLI for the entire Cloudflare API
- Introducing Forge: the open source pipeline for generating SDKs, CLIs, docs, and more
- Code Mode: give agents an entire API in 1,000 tokens
- Lessons from building an automated SDK pipeline
- Query Cloudflare Radar and our docs using ChatGPT plugins