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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5.0
    • CLI-1.x
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: