public class CommandUsage extends Object
Constructor and Description |
---|
CommandUsage() |
CommandUsage(int columnSize) |
CommandUsage(int columnSize,
Comparator<? super OptionMetadata> optionComparator) |
Modifier and Type | Method and Description |
---|---|
void |
usage(String programName,
String groupName,
String commandName,
CommandMetadata command)
Display the help on System.out.
|
void |
usage(String programName,
String groupName,
String commandName,
CommandMetadata command,
StringBuilder out)
Store the help in the passed string builder.
|
void |
usage(String programName,
String groupName,
String commandName,
CommandMetadata command,
UsagePrinter out) |
public CommandUsage()
public CommandUsage(int columnSize)
public CommandUsage(int columnSize, @Nullable Comparator<? super OptionMetadata> optionComparator)
public void usage(@Nullable String programName, @Nullable String groupName, String commandName, CommandMetadata command)
public void usage(@Nullable String programName, @Nullable String groupName, String commandName, CommandMetadata command, StringBuilder out)
public void usage(@Nullable String programName, @Nullable String groupName, String commandName, CommandMetadata command, UsagePrinter out)
Copyright © 2012–2023. All rights reserved.