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

CLI Parser is not very extension friendly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: CLI-1.x
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: