Intake icon indicating copy to clipboard operation
Intake copied to clipboard

getSuggestions CommandArgs parameter

Open nikosgram opened this issue 10 years ago • 1 comments

It would be very useful to have the parameter CommandArgs to method getSuggestions in Provider class.

Example:

/**
 * Get a list of suggestions for the given parameter and user arguments.
 *
 * <p>If no suggestions could be enumerated, an empty list should
 * be returned.</p>
 *
 * @param arguments The arguments
 * @param prefix What the user has typed so far (may be an empty string)
 * @return A list of suggestions
 */
List<String> getSuggestions(CommandArgs arguments, String prefix);

nikosgram avatar Jul 02 '15 03:07 nikosgram

:+1:

ewized avatar Jul 02 '15 03:07 ewized