UNPKG

@code-pushup/cli

Version:

A CLI to run all kinds of code quality measurements to align your team with company goals

12 lines 565 B
#! /usr/bin/env node import { hideBin } from 'yargs/helpers'; import { cli } from './lib/cli.js'; // FIXME: this is a hot fix for github action running in node 18 instead of node 20 // eslint-disable-next-line import/no-unassigned-import import './lib/polyfills.js'; // bootstrap Yargs, parse arguments and execute command await cli(hideBin(process.argv)).argv; // we need to explicitly exit with successful code otherwise we risk hanging process in certain situations // eslint-disable-next-line n/no-process-exit process.exit(0); //# sourceMappingURL=index.js.map