Required only if specific flag has been set
Open
Nobody has claimed this yet.
Triage: Feature Request
- Dominant language
- Ruby
- Stars
- 118
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Is there a way to enforce :required only if a specific flag has been given ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating mixlib-cli's argument specification and required-option handling, then clarify how a flag should make another option required and define tests for both flag-present and flag-absent cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100