function parseArgs(string, definitions) {
  // parse args using the provided definitions
  return commandLineArgs(definitions, string.split(/\s+/g))
}
Parses any args found in the provided string using the given definitions.

@param {String} string
@param {Array} definitions - object containing the possible option definitions to look for

definitions: [{
  name: {String}, - the full name of the arg, used as arg name in extracted args
  alias: {String} - the short name of the arg, e.g. l, v, etc
}]