jimmycuadra/lita-keyword-arguments

Provide option to reject unrecognized flags

collinvandyck opened this issue · 2 comments

Would be great if there were the ability to throw an error or provide some sort of signal to the client of this code that there were some arguments that were provided but weren't supplied in the schema.

So for example if I specified that my lita plugin wanted to support --user and the user actually typed in -usr, i'd like to be able to detect that.

Ideally this would be an option we could configure lita-keyword-arguments with so that it would not break existing behavior.

👍

I like that idea. PRs implementing this are welcome. In the meantime, I will leave this issue open as a feature request.