UNPKG

fastify-cli

Version:

Run a fastify route with one command!

20 lines (13 loc) 485 B
Usage: fastify generate <FOLDER> Sets up project with `npm init -y` and generates a sample Fastify project in the <FOLDER>. Specify `.` to create files in the current working directory. OPTS --esm use the ESM template --integrate overwrite it when the target directory is the current directory (.) --lang=ts, --lang=typescript use the TypeScript template --standardlint for JavaScript template, optionally includes linter to fix code style issues