[
https://issues.apache.org/jira/browse/WHIRR-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042179#comment-13042179
]
Andrei Savu commented on WHIRR-311:
-----------------------------------
Good do commit or we need a way to separate them (visual separation on CLI
output)?
> 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
> Attachments: 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