From c87c16cfaddea3a05af87c3258d57ef1a31516f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Potyra=C5=82a?= Date: Fri, 24 Feb 2023 23:17:28 +0100 Subject: [PATCH] Add missing flags to help action (#6352) * add missing flags to help action * add proper changeset --------- Co-authored-by: Nate Moore --- .changeset/purple-crews-agree.md | 5 +++++ packages/create-astro/src/actions/help.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/purple-crews-agree.md diff --git a/.changeset/purple-crews-agree.md b/.changeset/purple-crews-agree.md new file mode 100644 index 000000000000..17f257e8f746 --- /dev/null +++ b/.changeset/purple-crews-agree.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