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

CLI Parser is not very extension friendly

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.2
    • CLI-1.x
    • None

    Description

      The Parser class is not really extension friendly.

      • cmd is private, should either be protected or have a getter/setter pair
      • options and requiredOptions should have getter/setters (requiredOptions depends on options)
      • processProperties is private, should be protected
      • processOptions is private, should be protected

      Attachments

        1. parser.patch
          5 kB
          Henning Schmiedehausen

        Activity

          People

            Unassigned Unassigned
            henning Henning Schmiedehausen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: