Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-108

the ability to add validate to options that spanned multiple options

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.0
    • Component/s: CLI-2.x
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      26928

      Description

      I see two types of validation that would be helpful. First, the ability to
      validate an option based on the presence of other options. For instance, you
      might want option y to be required but only if option x is specified. Second,
      the ability to validate values for an option. For instance, you might have a
      File type option, but the file must exist in order for it to be valid.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daniel.spangler@gmail.com Daniel Spangler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: