Class PluginBasedCommandHelpPrinter

  • public class PluginBasedCommandHelpPrinter
    extends Object
    A helper class that encapsulate printing of usage tests for a given command
    • Constructor Detail

      • PluginBasedCommandHelpPrinter

        public PluginBasedCommandHelpPrinter()
    • Method Detail

      • printUsage

        public void printUsage​(PluginBasedCommand command,
                               PrintStream stream)
        Prints the text with usage information for the given command to the provided stream.

        This method divides command options into multiple categories: global options (common to all commands), common options for this command and options for every plugin-based subcommand.