UNPKG

changesets-gitlab

Version:

[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/un-ts/changesets-gitlab/ci.yml?branch=main)](https://github.com/un-ts/changesets-gitlab/actions/workflows/ci.yml?query=branch%3Amain) [![CodeRabbit Pull Request Revie

22 lines 734 B
#!/usr/bin/env node import './env.js'; import { program } from 'commander'; import { comment } from './comment.js'; import { main } from './main.js'; import { cjsRequire, getOptionalInput } from './utils.js'; const run = async () => { program.version(cjsRequire('../package.json').version); program.command('comment').action(async () => { await comment(); }); program.command('main', { isDefault: true }).action(() => main({ published: getOptionalInput('published'), onlyChangesets: getOptionalInput('only_changesets'), })); return program.showHelpAfterError().parseAsync(); }; run().catch((err) => { console.error(err); process.exitCode = 1; }); //# sourceMappingURL=cli.js.map