Building a CLI for All of Cloudflare

New Cloudflare command tool drops; devs fight over bots, TypeScript, and open‑source

TLDR: Cloudflare launched a preview of a new “cf” command tool aiming to control all its services, powered by a TypeScript‑driven generator. The comments erupted over TypeScript vs C, “build for humans not bots,” and demands for open‑source, a single‑file install, and clearer permission checks—because convenience without clarity burns devs.

Cloudflare just teased a rebuilt command tool—think a universal remote for everything Cloudflare—now in a technical preview you can try with Node’s package manager. The company says more and more “agents” (yes, AI helpers) are calling their APIs, and they’re betting on a new TypeScript‑based system to auto‑generate commands and docs so the tool can cover all products faster. Translation: one command line to rule them all, powered by a lot of TypeScript, and available today via npx cf. Wrangler docs and the Cloudflare blog have the details.

But the comments? A full‑blown C vs TypeScript cage match. One user flatly declared “typescript sucks,” crowning C the real world language. Another fired back that tools should be built for humans, not bots, dragging Cloudflare’s past Terraform tool as “unusable.” Meanwhile, practical folks piled on: “Is it open source?” “Can we get a single binary without installing Node?” and “Please add a cf permissions check so I don’t find out the hard way.” One dev even joked the missing permissions “smacked me in the face.” There were memes about Cloudflare’s “lingua franca” line, puns about baking a Bun‑powered binary, and a chorus chanting quality over quantity. Verdict: excitement for an all‑in‑one CLI, but the crowd wants transparency, fewer install hurdles, and proof this won’t be another half‑baked tool built for robots instead of real people.

Key Points

  • Cloudflare released a technical preview of a new CLI experience (“cf”) that will evolve into the next Wrangler, aiming to cover all Cloudflare products.
  • The preview can be tried via npx cf or installed globally with npm install -g cf; it currently supports a limited subset of products.
  • Cloudflare is testing versions that cover the entire Cloudflare API and will refine command outputs for both agents and human users.
  • To scale and stay in sync, Cloudflare built a system to generate commands, configs, bindings, SDKs, and docs, moving away from manual updates.
  • A new TypeScript-based schema can define APIs, CLI commands, and context to generate multiple interfaces and also produce OpenAPI.

Hottest takes

typescript sucks and in my opinion its way worse than the more commonly used lingua franca of computing
the reason for that (and the target audience) should not be ai agents. It should be a good experience for humans!
Is it open source (npmjs side doesn't point to repo)? And in general will it be available as a single binary
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.