Skip to content

Why my fastify-cli's print different from the official one? #448

Open
@radiorz

Description

@radiorz

Environments:

  • windows 10
  • yarn 1.22.5
    I installed fastify-cli like this:
yarn global add fastify-cli

I use fastify in command and it return like this:

image

But the github print like this:

Fastify command line interface, available commands are:

  * 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.

The default command is start, you can hit

  fastify start plugin.js

to start plugin.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions