diff options
Diffstat (limited to 'packages/create-astro/README.md')
-rw-r--r-- | packages/create-astro/README.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/packages/create-astro/README.md b/packages/create-astro/README.md index 0c3982ed5..4a90b7eb4 100644 --- a/packages/create-astro/README.md +++ b/packages/create-astro/README.md @@ -26,5 +26,15 @@ npm init astro my-astro-project -- --template starter # yarn yarn create astro my-astro-project --template starter ``` +[Check out the full list][examples] of example starter templates, available on GitHub. -[Check out the full list](https://github.com/snowpackjs/astro/tree/main/examples) of example starter templates, available on GitHub. +### CLI Flags + +May be provided in place of prompts + +| Name | Description | +|:-------------|:----------------------------------------------------| +| `--template` | Specify the template name ([list][examples]) | +| `--commit` | Specify a specific Git commit or branch to use from this repo (by default, `main` branch of this repo will be used) | + +[examples]: https://github.com/snowpackjs/astro/tree/main/examples |