Uses of Class
picocli.CommandLine.ParseResult.Builder
Packages that use CommandLine.ParseResult.Builder
Package
Description
Provides classes and interfaces for the main picocli command line parsing and
autocompletion functionality.-
Uses of CommandLine.ParseResult.Builder in picocli
Methods in picocli that return CommandLine.ParseResult.BuilderModifier and TypeMethodDescriptionCommandLine.ParseResult.Builder.add(CommandLine.Model.ArgSpec arg, int position) Adds the specifiedOptionSpecorPositionalParamSpecto the list of options and parameters that were matched on the command line.CommandLine.ParseResult.Builder.addOption(CommandLine.Model.OptionSpec option) Adds the specifiedOptionSpecto the list of options that were matched on the command line.CommandLine.ParseResult.Builder.addPositionalParam(CommandLine.Model.PositionalParamSpec positionalParam, int position) Adds the specifiedPositionalParamSpecto the list of parameters that were matched on the command line.CommandLine.ParseResult.Builder.addUnmatched(String arg) Adds the specified command line argument to the list of unmatched command line arguments.CommandLine.ParseResult.Builder.addUnmatched(Stack<String> args) Adds all elements of the specified command line arguments stack to the list of unmatched command line arguments.CommandLine.ParseResult.builder(CommandLine.Model.CommandSpec commandSpec) Creates and returns a newParseResult.Builderfor the specified command spec.CommandLine.ParseResult.Builder.expandedArgs(Collection<String> expandedArgs) Sets the specified command line arguments after @-files were expanded; these are the arguments that were actually parsed.CommandLine.ParseResult.Builder.originalArgs(String[] originalArgs) Sets the specified original command line arguments that were passed to theCommandLine.parseArgs(String...)method, before @-file expansion.CommandLine.ParseResult.Builder.subcommand(CommandLine.ParseResult subcommand) Sets the specifiedParseResultfor a subcommand that was matched on the command line.