code: function execPromise (fn) {
    return new Promise(function (resolve) {
      resolve(fn(process.argv.slice(2)))
    }).then(onSuccess, onError)
  }
docs: ===================================================================