WranglerCommand
The WranglerCommand component is used 90 times
on 8 pages.
See all examples of pages that use WranglerCommand
Used 90 times.
Pages
- /workers/wrangler/commands/certificates/ - Source
- /workers/wrangler/commands/general/ - Source
- /workers/wrangler/commands/secrets-store/ - Source
- /workers/wrangler/commands/workers-for-platforms/ - Source
- /workers/wrangler/commands/workers/ - Source
Partials
The WranglerCommand component documents the available options for a given command.
This is generated using the Wrangler version in the cloudflare-docs repository ↗.
import { WranglerCommand } from "~/components";import { WranglerCommand } from "~/components";
<WranglerCommand command="deploy" description={"Deploy a [Worker](/workers/)"}/>
<WranglerCommand command="d1 execute" />You can add or replace help text for specific flags using the ExtraFlagDetails component:
import { WranglerCommand, ExtraFlagDetails } from "~/components";
<WranglerCommand command="deploy"> <ExtraFlagDetails key="dry-run"> Additional details about the dry-run flag that will be appended to the original help text. Here is a [link](https://cloudflare.com) for more information. </ExtraFlagDetails> <ExtraFlagDetails key="compatibility-date" mode="replace"> Custom help text that completely replaces the original description for this flag. </ExtraFlagDetails></WranglerCommand>commandstringrequired- The name of the command, i.e
d1 execute.
- The name of the command, i.e
headingLevelboolean(default: 2) optional- The heading level that the command name should be added at on the page, i.e
2for ah2.
- The heading level that the command name should be added at on the page, i.e
descriptionstringoptional- A description to render below the command heading. If not set, defaults to the value specified in the Wrangler help API.