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, toUsage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
usage
public 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
CommandGroupUsageGenerator
usage
in interface CommandGroupUsageGenerator<T>
global
- Global Metadatagroups
- Group path to the commandIOException
Copyright © 2012–2017. All rights reserved.