static async validateCommandArguments(command) {
    const args = Object.values(command.constructor.getDefinedArgs());

    const results = [];
    for (const argDef of args) {
      const argValue = command[argDef.name];
      results.push(this.validateArgument(argDef, argValue, command));
    }

    await Promise.all(results);
  }
/**
   * Validates values of a command's arguments.
   * @param  {Command}  command the command to validate
   */
Validates values of a command's arguments.
@param  {Command}  command the command to validate
Validates values of a command ' s arguments . @param { Command } command the command to validate
static async validateCommandArguments(command) {
    const args = Object.values(command.constructor.getDefinedArgs());
    const results = [];
    for (const argDef of args) {
      const argValue = command[argDef.name];
      results.push(this.validateArgument(argDef, argValue, command));
    }
    await Promise.all(results);
  }
static async validateCommandArguments ( command ) { const args = Object . values ( command . constructor . getDefinedArgs ( ) ) ; const results = [ ] ; for ( const argDef of args ) { const argValue = command [ argDef . name ] ; results . push ( this . validateArgument ( argDef , argValue , command ) ) ; } await Promise . all ( results ) ; }
Validates values of a command's arguments.
Validates values of a command ' s arguments .