Technology

Cloudflare Unifies Dev Tools with New Wrangler CLI

Cloudflare overhauls its Wrangler CLI to unify management of its 100+ products, introducing a new schema system and a local development introspection tool.

StartupHub.ai Staff

By StartupHub.ai Staff, Editorial team

2 min read

Screenshot of the Cloudflare Wrangler CLI command prompt.
The new Cloudflare Wrangler CLI aims for unified product management.Credit: Cloudflare
Contents(3)

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.

This new schema-driven pipeline aims to eliminate manual, error-prone processes and ensure consistency across different developer touchpoints. It allows for the definition of interactive CLI commands that combine local development with API requests, and RPC APIs for Workers bindings.

Consistency and Context Engineering

A core focus for the revamped Wrangler is command consistency. By enforcing rules at the schema layer, such as always using 'get' for information retrieval and '--force' for confirmation overrides, Cloudflare aims to reduce agent confusion.

The daily brief

Get the free daily brief with the day's AI news, new AI startups and funding rounds every morning.

Join 64,000 other subscribers.

The CLI will also provide clearer distinctions between local development resources and remote Cloudflare services, crucial for avoiding discrepancies in agent behavior.

Local Explorer Enters Open Beta

Alongside the technical preview of the new Wrangler, Cloudflare is releasing Local Explorer in open beta. This new feature, integrated into Wrangler and the Cloudflare Vite plugin, allows developers to inspect simulated local resources used by their Workers.

Local Explorer provides a user-friendly interface for interacting with local instances of KV, R2, D1, and Durable Objects. This mirrors the functionality available via the Cloudflare API and dashboard but operates entirely locally, enhancing the local development workflow.

Previously, inspecting local data required reverse-engineering or third-party tools. Now, developers can easily view and manipulate local data, mirroring the remote API structure. This local mirror is accessible via a local API endpoint, allowing agents to manage local resources seamlessly.

Cloudflare is actively seeking developer feedback on the technical preview, encouraging users to share desired commands and configurations via their Discord server.

Mentioned in this story

Markets

CloudflareNYSE:NET

Sources

Get the free daily brief every morning

Every morning the day's AI news, new AI startups and new funding rounds. Free and takes a few minutes to read, unsubscribe at any time.

Join 64,000 other subscribers.

TopicsCloudflareWranglerCLIDeveloper ToolsCloudflare WorkersLocal DevelopmentAPI

StartupHub.ai Staff

Written by

StartupHub.ai Staff

Editorial team

The staff writers of StartupHub.ai, ranging from investment analysts to avid AI tool users, early adopters and critical enthusiasts. Backgrounds span engineering, business and the arts. We hold every piece to rigorous standards of research and review.

Test your Agent Readiness now

Paste your website. How well ChatGPT, Claude and the other agents can read and use a site, in about a minute, free.

Watch

The videos behind the news, one flip at a time

The feed mixes the videos from our articles with startup demos and you flip through them like TV channels for free with no signup.