public abstract class AbstractCommandGroupUsageGenerator<T> extends AbstractUsageGenerator implements CommandGroupUsageGenerator<T>
DEFAULT_COLUMNS| Constructor and Description |
|---|
AbstractCommandGroupUsageGenerator() |
AbstractCommandGroupUsageGenerator(Comparator<? super HelpHint> hintComparator,
Comparator<? super OptionMetadata> optionComparator,
Comparator<? super CommandMetadata> commandComparator,
boolean includeHidden) |
| Modifier and Type | Method and Description |
|---|---|
void |
usage(GlobalMetadata<T> global,
CommandGroupMetadata[] groups)
Generate the help and output it on standard out
|
getCommandComparator, getOptionComparator, htmlize, includeHidden, sortArgumentsRestrictions, sortCommands, sortOptionRestrictions, sortOptions, toDefaultCommand, toDescription, toDescription, toSynopsisUsage, toUsage, toUsageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitusagepublic AbstractCommandGroupUsageGenerator()
public AbstractCommandGroupUsageGenerator(Comparator<? super HelpHint> hintComparator, Comparator<? super OptionMetadata> optionComparator, Comparator<? super CommandMetadata> commandComparator, boolean includeHidden)
public void usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups) throws IOException
CommandGroupUsageGeneratorusage in interface CommandGroupUsageGenerator<T>global - Global Metadatagroups - Group path to the commandIOException - Thrown if there is a problem generating usage outputCopyright © 2012–2022. All rights reserved.