java.lang.Object
com.github.rvesse.airline.help.UsageHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Comparator
<CommandMetadata> Default comparator for commandsstatic final Comparator
<CommandGroupMetadata> static final Comparator
<Map.Entry<Integer, String>> Default comparator for exit codesstatic final Comparator
<HelpHint> Default comparator for help hintsstatic final Comparator
<OptionMetadata> Default comparator for options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
toGroupNames
(List<CommandGroupMetadata> groupPath)
-
Field Details
-
DEFAULT_HINT_COMPARATOR
Default comparator for help hintsCompares by class name of the implementation to give a predictable order in output. Where multiple instances of same implementation hint exists compares by identity hash codes of the instances.
-
DEFAULT_OPTION_COMPARATOR
Default comparator for optionsCompares against the user readable portion of the option name omitting any leading
-
characters -
DEFAULT_COMMAND_COMPARATOR
Default comparator for commandsCompares by alphabetical ordering
-
DEFAULT_COMMAND_GROUP_COMPARATOR
-
DEFAULT_EXIT_CODE_COMPARATOR
Default comparator for exit codesCompares by numerical sorting on the exit codes and then alphabetical sorting on the descriptions
-
-
Constructor Details
-
UsageHelper
public UsageHelper()
-
-
Method Details
-
toGroupNames
-