| Package | Description |
|---|---|
| org.apache.commons.cli |
Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface.
|
| Modifier and Type | Method | Description |
|---|---|---|
CommandLine.Builder |
CommandLine.Builder.addArg(String arg)
Adds left-over unrecognized option/argument.
|
|
CommandLine.Builder |
CommandLine.Builder.addOption(Option option)
Adds an option to the command line.
|
|
static CommandLine.Builder |
CommandLine.builder()
Creates a new builder.
|
|
CommandLine.Builder |
CommandLine.Builder.setDeprecatedHandler(Consumer<Option> deprecatedHandler)
Sets the deprecated option handler.
|
Copyright © 2002-2025 The Apache Software Foundation. All rights reserved.Apache Commons CLI | Issue management | Source repository