Class Help

    • Constructor Detail

      • Help

        public Help​(com.beust.jcommander.JCommander jc,
                    org.slf4j.Logger console)
    • Method Detail

      • setProgramName

        public void setProgramName​(String programName)
      • run

        public int run()
        Description copied from interface: Command
        Runs this Command.
        Specified by:
        run in interface Command
        Returns:
        a return code for the process, 0 indicates success.
      • printGenericHelp

        public void printGenericHelp()
      • getExamples

        public List<String> getExamples()
        Description copied from interface: Command
        Returns a list of example uses. Lines starting with '#' will not have the executable name added when formatting.
        Specified by:
        getExamples in interface Command
        Returns:
        a list of String examples