karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-1029) Add completer support on option values
Date Mon, 21 Nov 2011 09:22:51 GMT
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é
             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

       

Mime
View raw message