Skip to content

Fastify

Scaffold a Fastify API via the official fastify-cli generate command

Primary commands

bash
npx scafix create fastify
npx scafix create fastify --no-typescript

Supported customizations

OptionCLI flagsType / valuesDefaultNotes
Language--typescript
--no-typescript
ts TypeScript
js JavaScript
tsChoose a TypeScript or JavaScript Fastify scaffold.

--yes defaults

Keyvalue
languagets

Notes

  • Fastify scaffolding always runs through the official fastify-cli generate command.
  • 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 --debug apply 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.

Released under the MIT License.