MCPcopy
hub / github.com/remkop/picocli / parseArgs

Method parseArgs

src/main/java/picocli/CommandLine.java:1551–1554  ·  view source on GitHub ↗

Expands any plain CommandLine#isExpandAtFiles() @-files in the specified command line arguments, then parses the arguments and returns a ParseResult with the options, positional parameters, and subcommands (if any) that were recognized and initialized during the parsing process. If

(String... args)

Source from the content-addressed store, hash-verified

1549 * @see #execute(String...)
1550 */
1551 public ParseResult parseArgs(String... args) {
1552 interpreter.parse(args);
1553 return getParseResult();
1554 }
1555 public ParseResult getParseResult() { return interpreter.parseResultBuilder == null ? null : interpreter.parseResultBuilder.build(); }
1556
1557 /** Returns the result of calling the user object {@code Callable} or invoking the user object {@code Method}

Calls 2

getParseResultMethod · 0.95
parseMethod · 0.45