docs: document CLI flags and add help

This commit is contained in:
2025-07-01 22:41:40 -04:00
parent 90f3230a85
commit 219895fb76
2 changed files with 18 additions and 0 deletions

View File

@@ -49,6 +49,15 @@ npx react-crafter awesome-project
During setup you'll select either JavaScript or TypeScript. React Crafter then calls `create-vite` with the matching template (`react` or `react-ts`) so you won't see any additional prompts.
## CLI Flags
React Crafter supports a few command line options:
- `--typescript` scaffold the project using the TypeScript template without a prompt.
- `-V, --version` output the CLI version.
- `-h, --help` display usage information.
## Commands
Heres a summary of the commands you can use after setting up your project: