The WranglerNamespace component documents the available commands for a given namespace.
This is generated using the Wrangler version in the cloudflare-docs repository ↗︎.
import { WranglerNamespace } from "~/components";import { WranglerNamespace } from "~/components";
<WranglerNamespace namespace="d1" />
<WranglerNamespace namespace="hyperdrive" cfNamespace="hyperdrive" />namespacestringrequired- The namespace to pull the related commands from (
d1,hyperdrive).
- The namespace to pull the related commands from (
headingLevelnumber(default: 2) optional- The heading level that the commands should be added at on the page, i.e
2forh2.
- The heading level that the commands should be added at on the page, i.e
cfNamespacestringoptional- A reviewed Cloudflare CLI namespace without the
cfprefix. Supplying this prop displays one shared CLI selector for the namespace. Explain differences between the command families in the surrounding page content.
- A reviewed Cloudflare CLI namespace without the