## Uses of Class
picocli.CommandLine.ParseResult

- Packages that use CommandLine.ParseResult
  Package | Description
  --- | ---
  picocli | Provides classes and interfaces for the main picocli command line parsing and `autocompletion` functionality.

- - ### Uses of CommandLine.ParseResult in picocli

    Methods in picocli that return CommandLine.ParseResult
    Modifier and Type | Method and Description
    --- | ---
    `CommandLine.ParseResult` | CommandLine.ParseResult.Builder.`build()` Creates and returns a new `ParseResult` instance for this builder's configuration.
    `CommandLine.ParseResult` | CommandLine.`getParseResult()`
    `CommandLine.ParseResult` | CommandLine.`parseArgs(String... args)` Parses the specified command line arguments and returns a list of `ParseResult` with the options, positional parameters, and subcommands (if any) that were recognized and initialized during the parsing process.
    `CommandLine.ParseResult` | CommandLine.ParseResult.`subcommand()` Returns the `ParseResult` for the subcommand of this command that was matched on the command line, or `null` if no subcommand was matched.

    Methods in picocli with parameters of type CommandLine.ParseResult
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract R` | CommandLine.AbstractParseResultHandler.`handle(CommandLine.ParseResult parseResult)` Processes the specified `ParseResult` and returns the result as a list of objects.
    `protected List<Object>` | CommandLine.RunFirst.`handle(CommandLine.ParseResult parseResult)` Executes the top-level `Runnable` or `Callable` subcommand.
    `protected List<Object>` | CommandLine.RunLast.`handle(CommandLine.ParseResult parseResult)` Executes the most specific `Runnable` or `Callable` subcommand.
    `protected List<Object>` | CommandLine.RunAll.`handle(CommandLine.ParseResult parseResult)` Executes the top-level command and all subcommands as `Runnable` or `Callable`.
    `R` | CommandLine.IExceptionHandler2.`handleExecutionException(CommandLine.ExecutionException ex, CommandLine.ParseResult parseResult)` Handles a `ExecutionException` that occurred while executing the `Runnable` or `Callable` command and optionally returns a list of results.
    `R` | CommandLine.DefaultExceptionHandler.`handleExecutionException(CommandLine.ExecutionException ex, CommandLine.ParseResult parseResult)` This implementation always simply rethrows the specified exception.
    `R` | CommandLine.IParseResultHandler2.`handleParseResult(CommandLine.ParseResult parseResult)` Processes the `ParseResult` object resulting from successfully parsing the command line arguments and returns a return value.
    `R` | CommandLine.AbstractParseResultHandler.`handleParseResult(CommandLine.ParseResult parseResult)` Prints help if requested, and otherwise calls `CommandLine.AbstractParseResultHandler.handle(CommandLine.ParseResult)`.
    `static boolean` | CommandLine.`printHelpIfRequested(CommandLine.ParseResult parseResult)` Delegates to `CommandLine.printHelpIfRequested(List, PrintStream, PrintStream, Help.Ansi)` with `parseResult.asCommandLineList(), System.out, System.err, Help.Ansi.AUTO`.
    `CommandLine.ParseResult.Builder` | CommandLine.ParseResult.Builder.`subcommand(CommandLine.ParseResult subcommand)` Sets the specified `ParseResult` for a subcommand that was matched on the command line.

Copyright © 2020. All rights reserved.