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

Method parse

src/main/java/picocli/CommandLine.java:1533–1535  ·  view source on GitHub ↗

Expands any plain CommandLine#isExpandAtFiles() @-files in the specified command line arguments, then parses the arguments and returns a list of CommandLine objects representing the top-level command and any subcommands (if any) that were recognized and initialized during the parsing

(String... args)

Source from the content-addressed store, hash-verified

1531 * @deprecated use {@link #parseArgs(String...)} instead
1532 */
1533 @Deprecated public List<CommandLine> parse(String... args) {
1534 return interpreter.parse(args);
1535 }
1536 /** Expands any {@linkplain CommandLine#isExpandAtFiles() @-files} in the specified command line arguments, then
1537 * parses the arguments and returns a {@code ParseResult} with the options, positional
1538 * parameters, and subcommands (if any) that were recognized and initialized during the parsing process.

Calls

no outgoing calls