public class PicocliCompleter extends Object implements jline.console.completer.Completer
completionCandidates
defined
on the options and positional parameters of the command (or the enum values of the type if the ArgSpec has an enum type).Constructor and Description |
---|
PicocliCompleter(picocli.CommandLine.Model.CommandSpec spec)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
complete(String buffer,
int cursor,
List<CharSequence> candidates) |
public PicocliCompleter(picocli.CommandLine.Model.CommandSpec spec)
spec
- The command specpublic int complete(String buffer, int cursor, List<CharSequence> candidates)
complete
in interface jline.console.completer.Completer