Skip to content
This repository was archived by the owner on Oct 17, 2024. It is now read-only.

Add mandatory parameter to addMultiOption #273

Closed

Conversation

bryanoltman
Copy link

Adds a mandatory parameter to the addMultiOption method to indicate that a value (or values) must be provided by the user. This matches the existing behavior of addOption's mandatory parameter and does not change the default behavior of addMultiOption.

I did not bump the version in the pubspec as it's currently on a WIP version, please let me know if this was incorrect.

Fixes dart-lang/core#100


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@bryanoltman bryanoltman changed the title Add mandatory parameter to `addMultiOption Add mandatory parameter to addMultiOption May 2, 2024
@mosuem
Copy link
Contributor

mosuem commented Oct 14, 2024

Closing as the dart-lang/args repository is merged into the dart-lang/core monorepo. Please re-open this PR there!

@mosuem mosuem closed this Oct 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Allow multiOption to be mandatory
3 participants