Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-311

Allow services to register new CLI commands

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: cli, core
    • Labels:
      None

      Description

      I believe it should be possible to define new CLI commands inside a service. I've changed the code to use Java SPI to discover the available commands. I had to move the following classes Command & AbastractClusterCommand from whirr-cli to whirr-core thanks to this maven "feature": http://jira.codehaus.org/browse/MNG-2758

        Attachments

        1. WHIRR-311.patch
          32 kB
          Andrei Savu
        2. WHIRR-311.patch
          29 kB
          Andrei Savu

          Issue Links

            Activity

              People

              • Assignee:
                savu.andrei Andrei Savu
                Reporter:
                savu.andrei Andrei Savu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: