Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ Will print an help:
```
Fastify command line interface, available commands are:

* start start a server
* generate generate a new project
* readme generate a README.md for the plugin
* version the current fastify-cli version
* docs starts an interactive terminal session to view the fastify docs for the fastify version installed. navigate with arrow keys
* help help about commands
* start start a server
* generate generate a new project
* generate-plugin generate a new plugin project
* readme generate a README.md for the plugin
* print-routes prints the representation of the internal radix tree used by the router, useful for debugging.
* version the current fastify-cli version
* docs starts an interactive terminal session to view the fastify docs for the fastify version installed. navigate with arrow keys
* help help about commands

Launch 'fastify help [command]' to know more about the commands.

Expand Down
5 changes: 5 additions & 0 deletions help/generate-plugin.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Usage: fastify generate-plugin <FOLDER>

Sets up plugin project with `npm init -y` and
generates a sample Fastify plugin project
in the <FOLDER>. Specify `.` to create files in the current working directory.
15 changes: 8 additions & 7 deletions help/help.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
Fastify command line interface available commands are:

* start start a server
* generate generate a new project
* readme generate a README.md for the plugin
* print-routes prints the representation of the internal radix tree used by the router, useful for debugging.
* version the current fastify-cli version
* docs starts an interactive terminal session to view the fastify docs for the fastify version installed. navigate with arrow keys
* help help about commands
* start start a server
* generate generate a new project
* generate-plugin generate a new plugin project
* readme generate a README.md for the plugin
* print-routes prints the representation of the internal radix tree used by the router, useful for debugging.
* version the current fastify-cli version
* docs starts an interactive terminal session to view the fastify docs for the fastify version installed. navigate with arrow keys
* help help about commands

Launch 'fastify help [command]' to learn more about each command.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"dotenv": "^8.2.0",
"fastify": "^3.0.0",
"generify": "^4.0.0",
"help-me": "^1.1.0",
"help-me": "^2.0.0",
"is-docker": "^2.0.0",
"make-promises-safe": "^5.0.0",
"pino-colada": "^2.0.1",
Expand Down