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:
@Completer(type = ConfigCompleter.class)
|Field||Original Value||New Value|
|Assignee||Ioannis Canellos [ iocanel ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||2.2.5 [ 12317857 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|