ai-project-bootstrap
Docs / CLI reference / generate

generate

The default command. No subcommand runs the wizard, or replays a --config, --preset or --archetype.

npx ai-project-bootstrap                                   # interactive
npx ai-project-bootstrap my-app --yes                       # accept defaults
npx ai-project-bootstrap --name ./apps/my-app               # create ./apps/my-app
npx ai-project-bootstrap --config ai-project.config.json --out .
npx ai-project-bootstrap --preset startup-mvp --yes
npx ai-project-bootstrap --dry-run
npx ai-project-bootstrap --list-modules

Flags

Flag
Meaning
-o, --out <dir>
Target directory. Defaults to the project slug
--name <name>
Project name or path, skipping the first question
--config <file>
Replay a saved selection instead of asking
--preset <id>
Start from a curated stack
--archetype <id>
Start from a full app starter
-y, --yes
Accept defaults for every question
--dry-run
Print the file list without writing anything
--force
Write into a non-empty directory
--skip <ids>
Comma-separated builder ids to skip
--list-modules
List every available technology and exit
Three flags that cannot be combined

--preset, --archetype and --config are all ways of pre-filling the selection. Passing more than one is an error, not a precedence rule.

Name and location

The project name doubles as its location. my-app lands in ./my-app; ./apps/my-app creates that folder, parents and all, with the project named my-app inside. --out overrides the location without touching the name.

On this page
FlagsName and location
Source: README.md — Usage