code: function parseVargs(vargs) {
      var inOutParamStr = vargs.shift() || '';
      // if next arg is object, shift it off as options
      var options = (vargs.length && typeof(vargs[0]) === 'object') ? vargs.shift() : { };
      var taskDefArr = vargs; // rest are for the tasks
      var defObj = {
        inOutParamStr: inOutParamStr,
        taskDefArr: taskDefArr,
        options: options
      };
      return defObj;
    }
docs: Parse the variable arguments into in/out params, options, tasks