zudo-doc
GitHub repository

Type to search...

to open search from anywhere

create-zudo-doc CLI

Created Mar 15, 2026Updated Jun 14, 2026Takeshi Takatsudo

Complete CLI reference for the create-zudo-doc project scaffolder.

Usage

create-zudo-doc [project-name] [options]

When run without flags, the CLI launches an interactive wizard. All options can be specified via flags for non-interactive (CI/agent) usage.

You can also use the Setup Preset Generator to interactively build a configuration and copy it as a JSON preset or CLI command.

Options

Project

FlagDescriptionDefault
--name <name>Project name (or first positional arg)my-docs
--lang <code>Default language codeen
--github-url <url>GitHub repository URL (drives header link + source link)
--pm <manager>Package manager: pnpm, npm, yarn, bunpnpm
--[no-]installInstall dependencies after scaffoldingprompt

Color Scheme

FlagDescriptionDefault
--color-scheme-mode <mode>single or light-darklight-dark
--scheme <name>Color scheme (single mode)Dracula
--light-scheme <name>Light scheme (light-dark mode)Default Light
--dark-scheme <name>Dark scheme (light-dark mode)Default Dark
--default-mode <mode>light or dark (light-dark mode)dark
--[no-]respect-system-preferenceRespect OS color scheme preferencetrue

Available Color Schemes

Single-mode schemes (--color-scheme-mode single)

Used with --scheme <name>. The default is Dracula.

Dark schemes:

Name
Default Dark
Dracula
Catppuccin Mocha
GitHub Dark
Nord
TokyoNight
Gruvbox Dark
Atom One Dark
Rose Pine
Solarized Dark
Material Ocean
Monokai Pro
Everforest Dark
Kanagawa Wave
Night Owl
Ayu Dark
VS Code Dark+
Doom One
Challenger Deep
Catppuccin Frappe
Catppuccin Macchiato
Gruvbox Dark Hard
Rose Pine Moon
GitHub Dark Dimmed
Ayu Mirage
Material Darker
Material Dark
Monokai Remastered
Monokai Vivid
Monokai Soda
Solarized Dark Higher Contrast
Gruvbox Material Dark
Kanagawa Dragon

Light schemes:

Name
Default Light
GitHub Light
Catppuccin Latte
Solarized Light
Rose Pine Dawn
Atom One Light
Everforest Light
Gruvbox Light
Ayu Light

Light-dark pairings (--color-scheme-mode light-dark)

Used with --light-scheme and --dark-scheme. The defaults are Default Light (light) and Default Dark (dark).

Pairing labelLight schemeDark scheme
DefaultDefault LightDefault Dark
GitHubGitHub LightGitHub Dark
CatppuccinCatppuccin LatteCatppuccin Mocha
SolarizedSolarized LightSolarized Dark
Rosé PineRose Pine DawnRose Pine
Atom OneAtom One LightAtom One Dark
EverforestEverforest LightEverforest Dark
GruvboxGruvbox LightGruvbox Dark
AyuAyu LightAyu Dark

The pairing label is used in the interactive wizard and the Setup Preset Generator. When using CLI flags directly, specify the individual light and dark scheme names.

Features

FlagDescriptionDefault
--[no-]i18nMulti-language supportoff
--[no-]searchPagefind full-text searchon
--[no-]sidebar-filterReal-time sidebar filteringon
--[no-]claude-resourcesClaude Code docs generationoff
--[no-]claude-skillsShip zudo-doc-* Claude Code skills (design-system, translate, version-bump)off
--[no-]design-token-panelInteractive tabbed panel for tweaking spacing, font, size, and color tokensoff
--[no-]sidebar-resizerDraggable sidebar widthoff
--[no-]sidebar-toggleShow/hide desktop sidebaroff
--[no-]versioningMulti-version documentation supportoff
--[no-]doc-historyDocument edit historyoff
--[no-]body-foot-utilRight-aligned strip below each doc: doc history trigger + View source on GitHub linkoff
--[no-]llms-txtGenerate llms.txt for LLM consumptionoff
--[no-]skill-symlinkerSymlink documentation skillsoff
--[no-]tauriTauri desktop app (Mode 1) — macOS offline reader with in-page searchoff
--[no-]tauri-devTauri dev wrapper (Mode 2) — configurable desktop dev wrapper for any projectoff
--[no-]footer-nav-groupNavigation links in the footeroff
--[no-]image-enlargeClick-to-enlarge for oversized markdown imageson
--[no-]footer-copyrightCopyright notice in the footeroff
--[no-]changelogChangelog pageoff
--[no-]tag-governanceVocabulary-aware tag audit + suggest scriptson
--[no-]doc-tagsPer-tag and tag-index browsing routes (docs/tags/...)off
--[no-]footer-taglistGrouped tag index in the footer (requires tagGovernance)off

Preset

FlagDescription
--preset <path>Load settings from a JSON preset file (use "-" for stdin)

The --preset flag accepts the JSON output from the Setup Preset Generator. When a preset is loaded, all prompts are skipped (same as --yes). Individual CLI flags override preset values.

General

FlagDescription
-y, --yesUse defaults for unspecified options, skip all prompts
-h, --helpShow help message

Supported Languages

The --lang flag accepts any of the following language codes:

CodeLanguage
enEnglish
jaJapanese
zh-cnChinese (Simplified)
zh-twChinese (Traditional)
koKorean
esSpanish
frFrench
deGerman
ptPortuguese

The default language determines the locale used for root pages (/docs/...). When i18n is enabled, a secondary language is added automatically (English when the default is non-English, Japanese when the default is English).

Examples

Interactive mode

pnpm create zudo-doc

Non-interactive with all defaults

pnpm create zudo-doc my-docs --yes

Japanese site with Dracula theme

pnpm create zudo-doc my-docs --lang ja --scheme Dracula --no-i18n --pm pnpm --install

Light/dark mode with custom schemes

pnpm create zudo-doc my-docs \
  --color-scheme-mode light-dark \
  --light-scheme "GitHub Light" \
  --dark-scheme "GitHub Dark" \
  --default-mode dark \
  --yes

Using a preset file

Generate a preset JSON from the Setup Preset Generator, save it to a file, then pass it to the CLI:

pnpm create zudo-doc --preset setup.json --install

Or pipe JSON directly via stdin:

cat setup.json | pnpm create zudo-doc --preset - --install

CI/automation usage

pnpm create zudo-doc my-docs \
  --lang en \
  --scheme Nord \
  --no-i18n \
  --search \
  --no-claude-resources \
  --pm pnpm \
  --install \
  --yes

Programmatic API

The package also exports a programmatic API. The options object accepts the same fields as the JSON preset, plus an install option:

import { createZudoDoc } from "create-zudo-doc";

await createZudoDoc({
  projectName: "my-docs",
  defaultLang: "en",
  colorSchemeMode: "light-dark",
  lightScheme: "GitHub Light",
  darkScheme: "GitHub Dark",
  defaultMode: "dark",
  respectPrefersColorScheme: true,
  features: [
    "search",
    "sidebarFilter",
    "sidebarResizer",
    "sidebarToggle",
    "docHistory",
    "footerCopyright",
  ],
  packageManager: "pnpm",
  install: true,
});

Revision History

Takeshi TakatsudoCreated: 2026-03-15T19:02:13+09:00Updated: 2026-06-14T00:23:10Z

AI Assistant

Ask a question about the documentation.