publier new
Scaffold a new Publier site from a template
Overview
Scaffold a new Publier site from a template
Usage
publier new [OPTIONS] [NAME]Arguments
| Argument | Description |
|---|---|
[NAME] | Directory and package name of the new site (asked for when omitted) |
Options
| Option | Description | Choices |
|---|---|---|
--template <TEMPLATE> | Site template (asked for when omitted; `docs` under —yes) | docs, blog, company-site, full |
--theme <THEME> | Theme (asked for when omitted; `light` under —yes) | almond, aspen, atrium, broadsheet, canopy, catppuccin, dark, dusk, emerald, enterprise, folio, hearth, lattice, light, maple, marigold, meridian, monolith, neutral, nocturne, ocean, prism, purple, ruby, solar, vitepress |
--git | Initialize a git repository (asked for when neither this nor —no-git is given) | |
--no-git | Do not initialize a git repository | |
--install | Install dependencies with pnpm (asked for when neither this nor —no-install is given) | |
--no-install | Do not install dependencies | |
-y, --yes | Do not prompt; take the default for everything not given as a flag |