WranglerCLI
The WranglerCLI component is used 0 times on 0 pages.
See all examples of pages that use WranglerCLI
Used 0 times.
Pages
Partials
The WranglerCLI component validates your Wrangler command & wraps it in the PackageManagers component.
This is generated using the Wrangler version in the cloudflare-docs repository ↗.
import { WranglerCLI } from "~/components";npx wrangler deploy --name my-worker --containers-rollout immediate src/index.mjspnpm wrangler deploy --name my-worker --containers-rollout immediate src/index.mjsyarn wrangler deploy --name my-worker --containers-rollout immediate src/index.mjsimport { WranglerCLI } from "~/components";
<WranglerCLI command="deploy" positionals={["src/index.mjs"]} flags={{ name: "my-worker", "containers-rollout": "immediate", }}/>-
commandstring required- The name of the command, i.e
d1 execute.
- The name of the command, i.e
-
positionalsstring[]- Any positional argument values, i.e
{["src/index.mjs]}"for the optional[SCRIPT]positional argument ondeploy.
- Any positional argument values, i.e
-
flagsRecord<string, any>- Any named argument values, i.e
name: "my-worker"for the optionalnameargument ondeploy.
- Any named argument values, i.e
-
showArgsboolean default (false)- Show the available arguments in a
Detailscomponent below the command.
- Show the available arguments in a
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark