From 24186af73eebc78b247b3f05d8bbac3e1b9192c2 Mon Sep 17 00:00:00 2001 From: SerekKiri Date: Fri, 24 Feb 2023 00:35:16 +0100 Subject: [PATCH 1/2] add missing flags to help action --- packages/create-astro/.changeset/sharp-camels-suffer.md | 5 +++++ packages/create-astro/src/actions/help.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 packages/create-astro/.changeset/sharp-camels-suffer.md diff --git a/packages/create-astro/.changeset/sharp-camels-suffer.md b/packages/create-astro/.changeset/sharp-camels-suffer.md new file mode 100644 index 000000000000..17f257e8f746 --- /dev/null +++ b/packages/create-astro/.changeset/sharp-camels-suffer.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Add missing flags to help command diff --git a/packages/create-astro/src/actions/help.ts b/packages/create-astro/src/actions/help.ts index 1c972aaca02e..c03735b18b01 100644 --- a/packages/create-astro/src/actions/help.ts +++ b/packages/create-astro/src/actions/help.ts @@ -7,6 +7,7 @@ export function help() { headline: 'Scaffold Astro projects.', tables: { Flags: [ + ['--help (-h)', 'See all available flags.'], ['--template ', 'Specify your template.'], ['--install / --no-install', 'Install dependencies (or not).'], ['--git / --no-git', 'Initialize git repo (or not).'], @@ -14,6 +15,8 @@ export function help() { ['--no (-n)', 'Skip all prompt by declining defaults.'], ['--dry-run', 'Walk through steps without executing.'], ['--skip-houston', 'Skip Houston animation.'], + ['--ref', 'Choose astro branch (default: latest).'], + ['--fancy', 'Enable full unicode support for Windows.'], ['--typescript