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

Throw more errors for problematic designs #7

Open
4 tasks
WesCossick opened this issue Feb 13, 2019 · 0 comments
Open
4 tasks

Throw more errors for problematic designs #7

WesCossick opened this issue Feb 13, 2019 · 0 comments

Comments

@WesCossick
Copy link
Member

WesCossick commented Feb 13, 2019

Here are some designs that would cause issues:

  • If an option overwrites a flag (or vice versa) as the merged spec goes down the command chain
  • If a flag has the same name as an option (or vice versa)
  • If a shorthand is more than one character
  • If values array contains anything other than string elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant