index.js
function youtubeuploader(o) {
  var o = o||{}, cmd = 'youtubeuploader'+flags(o);
  var stdio = o.log || o.stdio==null? STDIO:o.stdio;
  if(stdio===STDIO) return Promise.resolve({stdout: cp.execSync(cmd, {stdio})});
  return new Promise((fres, frej) => cp.exec(cmd, {stdio}, (err, stdout, stderr) => {
    return err? frej(err):fres({stdout, stderr});
  }));
}
function youtubeuploader(o) {
  var o = o||{}, cmd = 'youtubeuploader'+flags(o);
  var stdio = o.log || o.stdio==null? STDIO:o.stdio;
  if(stdio===STDIO) return Promise.resolve({stdout: cp.execSync(cmd, {stdio})});
  return new Promise((fres, frej) => cp.exec(cmd, {stdio}, (err, stdout, stderr) => {
    return err? frej(err):fres({stdout, stderr});
  }));
}
function youtubeuploader ( o ) { var o = o || { } , cmd = 'youtubeuploader' + flags ( o ) ; var stdio = o . log || o . stdio == null ? STDIO : o . stdio ; if ( stdio === STDIO ) return Promise . resolve ( { stdout : cp . execSync ( cmd , { stdio } ) } ) ; return new Promise ( ( fres , frej ) => cp . exec ( cmd , { stdio } , ( err , stdout , stderr ) => { return err ? frej ( err ) : fres ( { stdout , stderr } ) ; } ) ) ; }
Invoke "youtubeuploader".
@param {object} o upload options.
Invoke youtubeuploader .