You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/22 19:26:40 UTC

[jira] [Resolved] (KARAF-1029) Add completer support on option values

     [ https://issues.apache.org/jira/browse/KARAF-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos resolved KARAF-1029.
-------------------------------------

    Resolution: Fixed

Committed on trunk

                
> Add completer support on option values
> --------------------------------------
>
>                 Key: KARAF-1029
>                 URL: https://issues.apache.org/jira/browse/KARAF-1029
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Ioannis Canellos
>             Fix For: 3.0.0
>
>
> Currently, Karaf console provides completion on the option name.
> As discussed with Ioannis, it could be interesting to add completer support for option values.
> For instance, mycommand --config where the user can specify a configuration PID in the config option, it could be helpful to have completion for the PID.
> The proposal is to use a new annotation for option, for instance:
> @Option
> @Completer(type = ConfigCompleter.class)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira