Builds the command.
(argv: Argv)
| 16 | |
| 17 | /** Builds the command. */ |
| 18 | function builder(argv: Argv) { |
| 19 | return argv.positional('pr', { |
| 20 | description: 'The pull request number', |
| 21 | type: 'number', |
| 22 | demandOption: true, |
| 23 | }); |
| 24 | } |
| 25 | |
| 26 | /** Handles the command. */ |
| 27 | async function handler({pr}: Arguments<CheckTargetBranchesOptions>) { |
nothing calls this directly
no outgoing calls
no test coverage detected