Modifier and Type | Method and Description |
---|---|
void |
CliUsageHelper.outputHelpSection(UsagePrinter out,
HelpSection section)
Outputs a help section
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCommandUsageGenerator.findHelpSections(CommandMetadata command,
List<HelpSection> preSections,
List<HelpSection> postSections)
Finds the help sections
|
protected void |
AbstractCommandUsageGenerator.findHelpSections(CommandMetadata command,
List<HelpSection> preSections,
List<HelpSection> postSections)
Finds the help sections
|
Modifier and Type | Class and Description |
---|---|
class |
BasicSection |
class |
DiscussionSection |
class |
ExamplesSection |
class |
ExitCodesSection |
class |
ProseSection |
class |
VersionSection |
Modifier and Type | Method and Description |
---|---|
HelpSection |
HelpSectionFactory.createSection(Annotation annotation)
Tries to create a section from the given annotation
|
HelpSection |
CommonSectionsFactory.createSection(Annotation annotation) |
static HelpSection |
HelpSectionRegistry.getHelpSection(Class<? extends Annotation> cls,
Annotation annotation) |
Modifier and Type | Method and Description |
---|---|
List<HelpSection> |
CommandMetadata.getHelpSections()
Gets the additional help sections
|
Constructor and Description |
---|
CommandMetadata(String name,
String description,
boolean hidden,
Iterable<OptionMetadata> globalOptions,
Iterable<OptionMetadata> groupOptions,
Iterable<OptionMetadata> commandOptions,
OptionMetadata defaultOption,
ArgumentsMetadata arguments,
Iterable<Accessor> metadataInjections,
Class<?> type,
List<String> groupNames,
List<Group> groups,
List<HelpSection> sections) |
Modifier and Type | Method and Description |
---|---|
int |
HelpSectionComparator.compare(HelpSection o1,
HelpSection o2) |
Copyright © 2012–2017. All rights reserved.