Class AbstractCommand

    • Constructor Detail

    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Command
        Returns the name of the command.
        Specified by:
        getName in interface Command
        Returns:
        the command's name
      • getUsageHelp

        public String getUsageHelp()
        Description copied from interface: Command
        Returns usage help for the command. This should be a simple one-line string describing basic usage. e.g. '[options] <file>'. Do not include the name of the command in this string.
        Specified by:
        getUsageHelp in interface Command
        Returns:
        the command's usage help
      • getHelp

        public String getHelp()
        Description copied from interface: Command
        Gets full help text for the command, e.g. a longer description and one line per option.
        Specified by:
        getHelp in interface Command
        Returns:
        the command's help text