Yargs command builder for the command.
(argv: Argv)
| 18 | |
| 19 | /** Yargs command builder for the command. */ |
| 20 | function builder(argv: Argv): Argv<Options> { |
| 21 | return argv.option('check', { |
| 22 | type: 'boolean', |
| 23 | default: process.env['CI'] ? true : false, |
| 24 | description: 'Run the formatter to check formatting rather than updating code format', |
| 25 | }); |
| 26 | } |
| 27 | |
| 28 | /** Yargs command handler for the command. */ |
| 29 | async function handler({check}: Arguments<Options>) { |
nothing calls this directly
no outgoing calls
no test coverage detected