Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | #!/usr/bin/env node import {Cerba} from './cerba'; import * as yargs from 'yargs'; yargs .scriptName('cerba') .option('cwd', { alias: 'C', type: 'string', description: 'Provide path to take action', }) .option('main', { type: 'string', description: 'Target a file directly', }) .option('name', { type: 'string', description: 'Pick a package from config', }) .option('scope', { type: 'string', description: 'Set the scope of all packages', }) .command( 'build', 'builds all the packages', () => {}, async argv => { const c = new Cerba(argv); return c.build(); } ) .command( 'build-package', 'builds a single package', () => {}, async argv => { const c = new Cerba(argv); return c.buildPackage(); } ) .demandCommand(1).argv; |