code: function (name) {
      if (!name || !_.isString(name)) {
        var err = new Error('Please pass a valid string as name!');
        debug(err);
        throw err;
      }
  
      return _.filter(this.commands, function (cmd) {
        return cmd.name === name;
      });
    }
docs: Returns the command modules by command name.
  @param {String} name The command name.
  @returns {Array}