chef / chef/mixlib-cli

Required only if specific flag has been set

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.