Skip to content

CfCommand

The CfCommand component is used 13 times on 1 pages.

See all examples of pages that use CfCommand

Used 13 times.

Pages

    Partials

    The CfCommand component documents one Cloudflare CLI command using metadata from the version of cf installed in the cloudflare-docs repository ↗︎.

    Import

    import { CfCommand } from "~/components";

    Usage

    import { CfCommand } from "~/components";
    
    <CfCommand command="deploy" />
    <CfCommand command="auth whoami" headingLevel={3} />

    Arguments

    command string required is the command without the cf prefix, such as deploy or auth whoami.

    headingLevel number (default: 2) optional sets the heading level for the command name.

    Was this helpful?