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

Allow services to register new CLI commands

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • cli, core
    • 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
          29 kB
          Andrei Savu
        2. WHIRR-311.patch
          32 kB
          Andrei Savu

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: