@code-pushup/cli
Version:
A CLI to run all kinds of code quality measurements to align your team with company goals
25 lines • 913 B
JavaScript
import { isCI } from '@code-pushup/utils';
export function yargsGlobalOptionsDefinition() {
return {
progress: {
describe: 'Show progress bar in stdout.',
type: 'boolean',
default: !isCI(),
defaultDescription: 'false in CI environment, otherwise true',
},
verbose: {
describe: 'When true creates more verbose output. This is helpful when debugging. You may also set CP_VERBOSE env variable instead.',
type: 'boolean',
default: false,
},
config: {
describe: 'Path to config file. By default it loads code-pushup.config.(ts|mjs|js).',
type: 'string',
},
tsconfig: {
describe: 'Path to a TypeScript config, to be used when loading config file.',
type: 'string',
},
};
}
//# sourceMappingURL=global.options.js.map