DocNext CLI
Commands
Create
Create a new DocNext project with the specified name.
bash
npx docnext create <your-project-name>
Clean
Clean up the template and remove unnecessary files.
bash
npx docnext clean
Init
Initialize DocNext in an existing Next.js project! (Note: This overwrites the next.config.mjs)
bash
npx docnext init
Help
Display help for a specific command.
bash
npx docnext help
Options
-V, --version
: Output the version number of DocNext CLI.-y, --yes
: Bypass checks and automatic checks.-h, --help
: Display help for the command.