Uses of Class
org.jline.shell.CommandDescription.Builder
Packages that use CommandDescription.Builder
Package
Description
Clean shell API for building interactive command-line applications with JLine.
-
Uses of CommandDescription.Builder in org.jline.shell
Methods in org.jline.shell that return CommandDescription.BuilderModifier and TypeMethodDescriptionCommandDescription.Builder.argument(ArgumentDescription argument) Adds an argument description.CommandDescription.Builder.arguments(List<ArgumentDescription> arguments) Sets all argument descriptions.static CommandDescription.BuilderCommandDescription.builder()Creates a new builder.CommandDescription.Builder.command(boolean command) Sets whether this description represents a command.CommandDescription.Builder.errorIndex(int errorIndex) Sets the error index.CommandDescription.Builder.errorPattern(Pattern errorPattern) Sets the error pattern.CommandDescription.Builder.highlighted(boolean highlighted) Sets whether the command should be highlighted.CommandDescription.Builder.mainDescription(List<org.jline.utils.AttributedString> mainDescription) Sets the main description.Adds an option with its description.Sets all options.CommandDescription.Builder.subcommand(boolean subcommand) Sets whether this description represents a subcommand.CommandDescription.Builder.valid(boolean valid) Sets whether this description is valid.