Uses of Class
picocli.CommandLine.Model.OptionSpec.Builder
Packages that use CommandLine.Model.OptionSpec.Builder
Package
Description
Provides classes and interfaces for the main picocli command line parsing and
autocompletion functionality.-
Uses of CommandLine.Model.OptionSpec.Builder in picocli
Methods in picocli that return CommandLine.Model.OptionSpec.BuilderModifier and TypeMethodDescriptionCommandLine.Model.OptionSpec.builder(CommandLine.Model.IAnnotatedElement source, CommandLine.IFactory factory) CommandLine.Model.OptionSpec.builder(CommandLine.Model.OptionSpec original) Returns a Builder initialized from the specifiedOptionSpec.CommandLine.Model.OptionSpec.Builder.fallbackValue(String fallbackValue) Sets the fallback value for this option: the value that is assigned for options with an optional parameter if the option was specified on the command line without parameter, and returns this builder.CommandLine.Model.OptionSpec.Builder.help(boolean help) Sets whether this option disables validation of the other arguments, and returns this builder.Replaces the option names with the specified values.CommandLine.Model.OptionSpec.Builder.negatable(boolean negatable) Sets whether a negative version for this boolean option is automatically added, and returns this builder.CommandLine.Model.OptionSpec.Builder.order(int order) Sets the position in the options list in the usage help message at which this option should be shown, and returns this builder.protected CommandLine.Model.OptionSpec.BuilderCommandLine.Model.OptionSpec.Builder.self()Returns this builder.CommandLine.Model.OptionSpec.toBuilder()Returns a new Builder initialized with the attributes from thisOptionSpec.CommandLine.Model.OptionSpec.Builder.usageHelp(boolean usageHelp) Sets whether this option allows the user to request usage help, and returns this builder.CommandLine.Model.OptionSpec.Builder.versionHelp(boolean versionHelp) Sets whether this option allows the user to request version information, and returns this builder.