Package | Description |
---|---|
net.sf.mmm.util.cli.api |
Provides the API for utilities that help to build command-line-interfaces (CLI).
|
net.sf.mmm.util.cli.base |
Contains the base-implementation of utilities that help to build command-line-interfaces (CLI).
|
Modifier and Type | Field and Description |
---|---|
private CliOutputSettings |
AbstractMain.outputSettings |
Modifier and Type | Method and Description |
---|---|
CliOutputSettings |
AbstractMain.getOutputSettings()
This method gets the
output settings used for information and error messages. |
Modifier and Type | Method and Description |
---|---|
void |
CliParser.printHelp(Appendable target,
CliOutputSettings settings)
This method prints the help (program usage) generated from the annotations to the given
Appendable using
the given settings . |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractCliParser.CliOptionHelpInfo.append(StringBuilder syntaxBuilder,
String text,
int maxLength,
CliOutputSettings settings)
This method appends a single option to the syntax.
|
void |
AbstractCliParser.printHelp(Appendable appendable,
CliOutputSettings settings) |
private int |
AbstractCliParser.printHelpOptions(CliOutputSettings settings,
Map<CliOption,AbstractCliParser.CliOptionHelpInfo> option2HelpMap,
StringBuilder parameters,
Collection<CliOptionContainer> modeOptions)
Prints the options for the help usage output.
|
Constructor and Description |
---|
CliArgumentHelpInfo(CliArgumentContainer argument,
CliParserDependencies dependencies,
CliOutputSettings settings)
The constructor.
|
CliHelpWriter(Appendable appendable,
CliOutputSettings settings)
The constructor.
|
CliOptionHelpInfo(CliOptionContainer option,
CliParserDependencies dependencies,
CliOutputSettings settings)
The constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.