Fastify
Scaffold a Fastify API via the official fastify-cli generate command
Primary commands
bash
npx scafix create fastify
npx scafix create fastify --no-typescriptSupported customizations
| Option | CLI flags | Type / values | Default | Notes |
|---|---|---|---|---|
| Language | --typescript--no-typescript | ts TypeScriptjs JavaScript | ts | Choose a TypeScript or JavaScript Fastify scaffold. |
--yes defaults
| Key | value |
|---|---|
| language | ts |
Notes
- Fastify scaffolding always runs through the official
fastify-cli generatecommand. - The selected package manager is used for dependency installation after the scaffold is generated.
Shared flow reminder
- Shared flags such as
--name,--directory,--package-manager,--git, and--debugapply here as well. - If required values are omitted and a TTY is available, Scafix prompts for them before calling the stack adapter.
- See CLI Reference for the shared command surface used by
scafix.
