[ 
https://issues.apache.org/jira/browse/FELIX-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750561#action_12750561
 ] 

Guillaume Nodet commented on FELIX-1547:
----------------------------------------

Good work !

I'm just a bit concerned about the way the command is populated:

I think if we add the blueprint-bundle in the classpath, we should be able to 
leverage the conversion mechanism built into the BlueprintCommand class.
Another idea would be to use the original action preparator:
  
https://svn.apache.org/repos/asf/felix/trunk/gogo/commands/src/main/java/org/apache/felix/gogo/commands/basic/DefaultActionPreparator.java

I think it's not currently possible because there's no field / setter for it in 
the BlueprintCommand class, but it should be easy to add.  The default value 
would be the existing one, and this patch would set it to the 
DefaultActionPreparator.  I think this would remove the nicer help system too 
unfortunately, so maybe something in between could be done: implementing a new 
preparator that would delegate to either the DefaultActionPreparator for 
conversion and the BlueprintActionPreparator for the help system.

> OS shell level admin commands for Karaf
> ---------------------------------------
>
>                 Key: FELIX-1547
>                 URL: https://issues.apache.org/jira/browse/FELIX-1547
>             Project: Felix
>          Issue Type: New Feature
>          Components: Karaf
>    Affects Versions: karaf-1.0.0
>            Reporter: David Bosschaert
>         Attachments: karaf-admin-1.patch
>
>
> Karaf has admin commands to create new instances from within its shell. 
> Examples are
>   admin:create
>   admin:list
>   admin:start
> etc...
> It would be good if (some of) these commands were available from the OS-level 
> command line - outside of the Karaf container.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to