@docubook/cli
v0.4.0
Published
DocuBook CLI tool that helps you initialize, update, and deploy documentation directly from your terminal.
Maintainers
Readme
@docubook/cli
Modern CLI tool for scaffolding DocuBook documentation projects.
Features
- ✨ Auto-detect Package Manager - Automatically detects npm, yarn, pnpm, or bun from invocation
- 🎨 Modern TUI - Beautiful terminal UI with dark theme and neon accents
- 📦 Template Selection - Choose from multiple documentation templates
- ⚡ Fast Setup - Minimal prompts, sensible defaults
- 🔧 Fully Configurable - Customize everything after scaffolding
Installation
npm install -g @docubook/cliOr use directly with npx:
npx @docubook/clioutput command :

Usage
Create a new project
# Using npm
npx @docubook/cli my-docs
# Using bun
bunx @docubook/cli my-docs
# Using pnpm
pnpm dlx @docubook/cli my-docs
# Using yarn
yarn dlx @docubook/cli my-docsThe CLI will:
- Auto-detect your package manager
- Prompt you to select a template
- Create your project
- Install dependencies
Available Templates
- Next.js - Vercel : Next.js and Vercel deployment (optimized for vercel).
- Next.js - standalone : Next.js standalone with Docker image (optimized for coolify, etc.).
- React Router : Client-side app with React Router (coming soon)
Package Manager Detection
The CLI automatically detects which package manager you're using:
npx @docubook/cli→ npmbunx @docubook/cli→ bunpnpm dlx @docubook/cli→ pnpmyarn dlx @docubook/cli→ yarn
License
MIT
