[
https://issues.apache.org/jira/browse/WHIRR-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Savu updated WHIRR-311:
------------------------------
Resolution: Fixed
Fix Version/s: 0.6.0
Status: Resolved (was: Patch Available)
I've just committed this. Thanks Tom for feedback.
> Allow services to register new CLI commands
> -------------------------------------------
>
> Key: WHIRR-311
> URL: https://issues.apache.org/jira/browse/WHIRR-311
> Project: Whirr
> Issue Type: Improvement
> Components: cli, core
> Reporter: Andrei Savu
> Assignee: Andrei Savu
> Fix For: 0.6.0
>
> Attachments: WHIRR-311.patch, WHIRR-311.patch
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira