We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
option
When using argResults['foo'] there's a check for mandatory option:
argResults['foo']
if (option.mandatory && !_parsed.containsKey(name)) { throw ArgumentError('Option $name is mandatory.'); }
But the new strictly typed argResults.option('foo') doesn't have this check.
argResults.option('foo')
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
No branches or pull requests
When using
argResults['foo']
there's a check for mandatory option:But the new strictly typed
argResults.option('foo')
doesn't have this check.The text was updated successfully, but these errors were encountered: