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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0
    • 2.0
    • CLI-2.x
    • None
    • Operating System: other
      Platform: Other

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: