function validateArg(arg, cmdArg) {
      return !(arg === undefined && cmdArg.required === true);
    }
Run a raw command string, e.g. foo -bar
against a given list of commands,
and if there is a match, parse the
results.

@param {String} cmd
@param {Array} cmds
@return {Object}
@api public