Skip to content

Conversation

@KyleAMathews
Copy link
Contributor

Our little helper to show help when someone put in an unknown command wasn't accounting for the built-in command from commander --version and -V.

@benstepp
Copy link
Contributor

Don't show help when calling --version

Sounds like the perfect description for a test case

@KyleAMathews
Copy link
Contributor Author

@benstepp I tried adding a test for this but when I called gatsby with --version, babel-node captured that and returned its version. I couldn't find a way around this. If you can think of an easy work-around for this, great, otherwise I guess it'll have to go untested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants