Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.action((cwd) => { dir = workingDir(dir, cwd); })
.parse(process.argv);
initializeProxy();
const publishOpts: PublishOptions = {
dir,
interactive: true,
dryRun: program.dryRun,
dryRunResume: program.fromDryRun,
};
if (program.target) publishOpts.publishTargets = program.target.split(',');
publishOpts.makeOptions = await getMakeOptions();
await api.publish(publishOpts);
})();