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
[CLI]: No warning shows up if an unknown command is supplied #377
Comments
Hi @jamesgeorge007 Thanks for jumping in on this. Our Yargs handling needs a lot of TLC. Would you be able to spend a bit more time with me to 1) outline our desired constraints and error handling and 2) implement from there? This is effectively a duplicate of PR #136 Please read that thread for background context. Also, Ben Coe is a friend and core contributor on Yargs who’s offered to help answer questions and give direction. Anytime! In? |
Yeah sure 👍 |
@jamesgeorge007 Apologies for dropping the ball on communication here. At the time of this discussion, Peter had attempted to add .strict() to our commands — we thought it was working but then realized it broke a few commands (e.g. All previous and current work + history is here: #136 I’m going to cc you now so you’ll be included on the thread. Also, I’m writing up a comment to Ben Coe with the current issues. If you have any yargs implementation experience, please feel free to dive in! Closing this out to move over to the PR. |
@thedavidprice I'm heavily caught up at the moment, regardless I would love to lend a helping hand as I find time. |
@jamesgeorge007 All good an understood! We'll be here when you're time frees up -- and looking forward to it. |
Leverage the
strict()
method as part ofyargs
API to handle unknown commands.The text was updated successfully, but these errors were encountered: