create-astro-fleet
v0.1.0
Published
Scaffold a new Astro Fleet monorepo or add a site to an existing one.
Maintainers
Readme
create-astro-fleet
Scaffold an Astro Fleet monorepo, or add a new site to an existing one.
Usage
Bootstrap a new fleet (interactive):
npm create astro-fleet
# or
bunx create-astro-fleetAdd a site to the current fleet:
bunx create-astro-fleet add acme.com saasNon-interactive:
bunx create-astro-fleet ./my-fleet --domain acme.com --preset saasCommands
| Command | Purpose |
| ---------------------------- | ------------------------------------------------- |
| init [dir] (default) | Download the fleet template, scaffold first site |
| add <domain> [preset] | Add a site to the fleet containing the CWD |
| help | Show help |
Presets
corporate— navy + gold, serif headings. Consulting, finance, law.saas— dark + neon, geometric sans. Developer tools, B2B SaaS.warm— cream + amber, display serif. Restaurants, wellness, retail.
Options
init
--template <source>— giget source, defaultgithub:indivar/astro-fleet#v2.2.0(pinned to a specific fleet release tag; bumped inside the CLI when a new template ships)--domain <name>— skip the first-site domain prompt--preset <name>— skip the preset prompt--keep-demos— keep the three demo sites as reference--install— install dependencies after scaffold without prompting--no-install— skip dependency install without prompting
When neither --install nor --no-install is passed, the CLI asks interactively. The package manager is auto-detected from npm_config_user_agent (so bunx create-astro-fleet uses Bun, npm create astro-fleet uses npm, etc.), falling back to Bun.
add
--preset <name>— defaultcorporate
License
MIT
