What problem does it solve?
The CLI helps teams scaffold, bootstrap, and upgrade documentation projects quickly, reducing setup time and boilerplate.
Core Features & Use Cases
- Init: bootstrap a new project for Next.js, TanStack Start, Nuxt, SvelteKit, or Astro with sensible defaults and optional i18n and API scaffolding.
- Upgrade: safely upgrade the farming-labs/docs packages across frameworks, ensuring compatibility and alignment with templates.
- Create your own theme: generate and wire in custom themes for consistent branding across docs.
- API reference scaffolding: optionally scaffold API route handlers and reference docs to enable auto-generated references.
Quick Start
Use the farming-labs/docs CLI to bootstrap or upgrade a docs project by running the appropriate init or upgrade commands with optional flags such as --template, --name, --theme, --entry, --api-reference, and --api-route-root.