Whirr
  1. Whirr
  2. WHIRR-311

Allow services to register new CLI commands

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development