Skip to content

WranglerNamespace

Last updated View as MarkdownAgent setup

The WranglerNamespace component documents the available commands for a given namespace.

This is generated using the Wrangler version in the cloudflare-docs repository ↗︎.

Import

import { WranglerNamespace } from "~/components";

Usage

import { WranglerNamespace } from "~/components";

<WranglerNamespace namespace="d1" />

<WranglerNamespace namespace="hyperdrive" cfNamespace="hyperdrive" />

Arguments

  • namespace string required
    • The namespace to pull the related commands from (d1, hyperdrive).
  • headingLevel number (default: 2) optional
    • The heading level that the commands should be added at on the page, i.e 2 for h2.
  • cfNamespace string optional
    • A reviewed Cloudflare CLI namespace without the cf prefix. Supplying this prop displays one shared CLI selector for the namespace. Explain differences between the command families in the surrounding page content.

Was this helpful?