Use the non-interactive spawn create options when a script needs to create a project without opening the selection prompts. A project name and template are required.
Preview a command#
spawn create --name my-api --template backend-api --framework fastapi --extras ruff,pytest --license mit --no-git --no-uv --dry-run--dry-run validates the resolved configuration and prints it without creating the destination directory. Use the same options without --dry-run to generate the project.
Use a JSON configuration#
{
"name": "my-api",
"template": "backend-api",
"framework": "fastapi",
"provider": null,
"cli_type": null,
"data_type": null,
"extras": ["ruff", "pytest"],
"license": "mit",
"git": false,
"uv": false,
"claude_md": false
}spawn create --config spawn.json --dry-runThe configuration file takes precedence over individual options. An explicit --no-git or --no-uv supplied alongside --config is ignored with a warning. The --yes / -y option skips the optional GitHub publishing prompt; it does not accept arbitrary project defaults.
The custom structure workflow remains interactive in v1.2.0 and is not available as a --template value.
For the complete, release-verified options, defaults, template slugs, and schema, see the spawn create reference and Configuration.