create-fastify-app
Version:
A Fastify application generator
40 lines (29 loc) • 812 B
Plain Text
Usage: node server.js [opts]
-f, --file
[env: FASTIFY_FILE]
Fastify Appication start
-p, --port
[env: FASTIFY_PORT or PORT]
Port to listen on (default to 3000)
-a, --address
[env: FASTIFY_ADDRESS]
Address to listen on
-l, --log-level
[env: FASTIFY_LOG_LEVEL]
Log level (default to fatal)
-P, --pretty-logs
[env: FASTIFY_PRETTY_LOGS]
Prints pretty logs
-o, --options
[env: FASTIFY_OPTIONS]
Use custom options
-r, --prefix
[env: FASTIFY_PREFIX]
Set the prefix
--body-limit
[env: FASTIFY_BODY_LIMIT]
Defines the maximum payload, in bytes, the server is allowed to accept
-T, --plugin-timeout
The maximum amount of time that a plugin can take to load (default to 10 seconds).
-h, --help
Show this help message