Class HelpCommand

  • All Implemented Interfaces:
    Command

    public class HelpCommand
    extends Object
    Show help for drasyl commands and flags.
    • Constructor Detail

      • HelpCommand

        public HelpCommand()
    • Method Detail

      • log

        protected Logger log()
      • help

        protected void help​(org.apache.commons.cli.CommandLine cmd)
      • execute

        public void execute​(org.apache.commons.cli.CommandLine cmd)
      • getDescription

        public String getDescription()
      • helpTemplate

        protected void helpTemplate​(String name,
                                    String header,
                                    String footer)
      • helpTemplate

        protected void helpTemplate​(String name,
                                    String header)
      • getOptions

        protected org.apache.commons.cli.Options getOptions()
      • setLogLevel

        protected void setLogLevel​(org.apache.commons.cli.CommandLine cmd)
      • getDrasylConfig

        protected DrasylConfig getDrasylConfig​(org.apache.commons.cli.CommandLine cmd)