CfCommand
import { Type, MetaInfo } from "~/components";
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 is the command without the cf prefix, such as deploy or auth whoami.
headingLevel sets the heading level for the command name.
这篇文档对你有帮助吗?
谢谢你的反馈!