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

CommandLine.getXXX and CommandLine.hasXXX should accept an Option as a parameter

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: CLI-1.x
    • Labels:
      None

      Description

      Currently there is some searching and String matching to find a matching option for the hasXXX and getXXX it would be nice to pass in an Option instance directly, this would also allow further improvements (e.g. infer the type of an option), prevents exhaustive search for matching option as well as type-safety.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                britter Benedikt Ritter
                Reporter:
                laeubi Christoph Läubrich
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: