Skip to content

CfCommand

Last updated View as MarkdownAgent setup

The CfCommand component is used 0 times on 0 pages.

See all examples of pages that use CfCommand

Used 0 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?