Karaf
  1. Karaf
  2. KARAF-1029

Add completer support on option values

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.5, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      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)

        Activity

        Jean-Baptiste Onofré created issue -
        Ioannis Canellos made changes -
        Field Original Value New Value
        Assignee Ioannis Canellos [ iocanel ]
        Ioannis Canellos made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ioannis Canellos made changes -
        Fix Version/s 2.2.5 [ 12317857 ]
        Jamie goodyear made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ioannis Canellos
            Reporter:
            Jean-Baptiste Onofré
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development