Cloudflare is taking a significant step to consolidate its sprawling developer tooling with an ambitious overhaul of its Cloudflare Wrangler CLI. The company, boasting over 100 products and nearly 3,000 API operations, aims to make its entire API surface accessible via a unified command-line interface.
This initiative addresses a long-standing challenge: many Cloudflare products lacked dedicated CLI commands, despite developers' preference for such tools. The new Wrangler is designed to be the central point for configuring and managing all Cloudflare services, aligning with the growing trend of infrastructure-as-code.
Rethinking Command Generation
To achieve this scale, Cloudflare has developed a new system for generating not just CLI commands, but also SDKs, configuration files, and documentation. This system moves beyond the limitations of OpenAPI schemas, leveraging a custom TypeScript-based schema to define APIs, CLI arguments, and the necessary context for generating diverse interfaces.
