Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1029

Add completer support on option values

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.5, 3.0.0
    • karaf
    • None

    Description

      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)

      Attachments

        Activity

          People

            iocanel Ioannis Canellos
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: