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


Reply via email to