java.lang.Object
com.github.theword.queqiao.tool.command.SubCommand
com.github.theword.queqiao.tool.command.subCommand.HelpCommand

public class HelpCommand extends SubCommand
  • Constructor Details

    • HelpCommand

      public HelpCommand()
  • Method Details

    • getName

      public String getName()
      获取命令名称
      Specified by:
      getName in class SubCommand
      Returns:
      help
    • getDescription

      public String getDescription()
      获取命令描述
      Specified by:
      getDescription in class SubCommand
      Returns:
      获取命令帮助
    • onExecute

      protected void onExecute(Object commandReturner, List<String> args)
      执行命令 获取所有命令使用方法
      Specified by:
      onExecute in class SubCommand
      Parameters:
      commandReturner - 命令执行者
      args - 命令参数