We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run 'npx gatsby --help' (as suggested by https://www.gatsbyjs.org/tutorial/part-zero/) the help text displays the wrong command name:
Usage: gatsby.js [options] Commands: gatsby.js develop...
Usage: gatsby.js [options]
Commands: gatsby.js develop...
When I then install the cli globally the help text output (with or without the use of npx) changes to:
Usage: index.js [options] Commands: index.js develop...
Usage: index.js [options]
Commands: index.js develop...
run 'npx gatsby --help' run 'npm install -g gatsby-cli' run 'gatsby --help'
The help text should contain the command name 'gatsby' (without the extension .js).
The help text contains the command name 'gatsby.js' (when npx is used) or 'index.js' (after the global installation of gatsby-cli).
Node 8.9.4, npm 5.10.0, gatsby 2.4.11.
The text was updated successfully, but these errors were encountered:
I can't reproduce this, working as expected. Same as #5838 I'll take a look into this.
Sorry, something went wrong.
Merged in #12186
yogeshkotadiya
No branches or pull requests
Description
When I run 'npx gatsby --help' (as suggested by https://www.gatsbyjs.org/tutorial/part-zero/) the help text displays the wrong command name:
When I then install the cli globally the help text output (with or without the use of npx) changes to:
Steps to reproduce
run 'npx gatsby --help'
run 'npm install -g gatsby-cli'
run 'gatsby --help'
Expected result
The help text should contain the command name 'gatsby' (without the extension .js).
Actual result
The help text contains the command name 'gatsby.js' (when npx is used) or 'index.js' (after the global installation of gatsby-cli).
Environment
Node 8.9.4, npm 5.10.0, gatsby 2.4.11.
The text was updated successfully, but these errors were encountered: