public interface CommandGroupUsageGenerator<T>
| Modifier and Type | Method and Description |
|---|---|
void |
usage(GlobalMetadata<T> global,
CommandGroupMetadata[] groups)
Generate the help and output it on standard out
|
void |
usage(GlobalMetadata<T> global,
CommandGroupMetadata[] groups,
OutputStream output)
Generate the help and output it to the stream
|
void usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups) throws IOException
global - Global Metadatagroups - Group path to the commandIOException - Thrown if there is a problem generating usage outputvoid usage(GlobalMetadata<T> global, CommandGroupMetadata[] groups, OutputStream output) throws IOException
global - Global metadatagroups - Group path to the commandoutput - Stream to output toIOException - Thrown if there is a problem generating usage outputCopyright © 2012–2022. All rights reserved.