astro/packages/create-astro/src/actions/help.ts
Kacper Potyrała c87c16cfad
Add missing flags to help action (#6352)
* add missing flags to help action

* add proper changeset

---------

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-02-24 16:17:28 -06:00

24 lines
889 B
TypeScript

import { printHelp } from '../messages.js';
export function help() {
printHelp({
commandName: 'create-astro',
usage: '[dir] [...flags]',
headline: 'Scaffold Astro projects.',
tables: {
Flags: [
['--help (-h)', 'See all available flags.'],
['--template <name>', 'Specify your template.'],
['--install / --no-install', 'Install dependencies (or not).'],
['--git / --no-git', 'Initialize git repo (or not).'],
['--yes (-y)', 'Skip all prompt by accepting defaults.'],
['--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 <option>', 'TypeScript option: strict | strictest | relaxed.'],
],
},
});
}