create-astro help info add --typescript flag (#6294)

* create-astro help info add --typescript flag

* changeset

* changeset
This commit is contained in:
李瑞丰 2023-02-22 00:33:52 +08:00 committed by GitHub
parent f218188b25
commit d0dbee872f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'create-astro': patch
---
`create-astro` help info add `--typescript` flag

View file

@ -47,6 +47,7 @@ May be provided in place of prompts
| `--no` (`-n`) | Skip all prompt by declining defaults. |
| `--dry-run` | Walk through steps without executing. |
| `--skip-houston` | Skip Houston animation. |
| `--typescript <option>` | TypeScript option: `strict` / `strictest` / `relaxed`. |
[examples]: https://github.com/withastro/astro/tree/main/examples
[typescript]: https://github.com/withastro/astro/tree/main/packages/astro/tsconfigs

View file

@ -14,6 +14,7 @@ export function help() {
['--no (-n)', 'Skip all prompt by declining defaults.'],
['--dry-run', 'Walk through steps without executing.'],
['--skip-houston', 'Skip Houston animation.'],
['--typescript <option>', 'TypeScript option: strict | strictest | relaxed.'],
],
},
});