Skip to content
New issue

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

quick fixes to handle CLI args errors #306

Merged
merged 5 commits into from
Apr 5, 2020

Conversation

brodycj
Copy link
Owner

@brodycj brodycj commented Apr 5, 2020

with CLI lib tests in tests/with-injection/cli/command/action-error


P.S. This was tested from the command line with the following commands:

  • ./bin/cli.js --view
  • ./bin/cli.js name1 name2

demonstrates correct behavior in this case
reproduces issue 305 in lib/cli-command.js
which fails at this point, reproducing issue 119
(extra arguments silently ignored)
@brodycj brodycj added the bug Something isn't working label Apr 5, 2020
@brodycj brodycj self-assigned this Apr 5, 2020
@brodycj brodycj merged commit b2297b5 into master Apr 5, 2020
@brodycj brodycj deleted the quick-fixes-to-handle-cli-args-errors branch April 5, 2020 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix error message in case of missing name extra arguments silently ignored
1 participant