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

Better handling for some positional edge cases or invalid setups #14

Open
2 tasks
maxlandon opened this issue Jan 5, 2023 · 0 comments
Open
2 tasks
Labels
enhancement New feature or request positionals

Comments

@maxlandon
Copy link
Member

Currently there are two cases in which the command scan should return an error and does not:

  • When two slices have no maximum requirements.
  • No max on slice where there is another field after it, and no global requirement.

Other than that, there is still some edge cases for positional parsing.
Most cases work fine, and are covered by tests.

@maxlandon maxlandon added enhancement New feature or request positionals labels Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request positionals
Projects
None yet
Development

No branches or pull requests

1 participant