Builds the command.
(argv: Argv)
| 19 | |
| 20 | /** Builds the command. */ |
| 21 | function builder(argv: Argv) { |
| 22 | return argv |
| 23 | .positional('startingRef', { |
| 24 | description: 'The first ref in the range to select', |
| 25 | type: 'string', |
| 26 | demandOption: true, |
| 27 | }) |
| 28 | .positional('endingRef', { |
| 29 | description: 'The last ref in the range to select', |
| 30 | type: 'string', |
| 31 | default: 'HEAD', |
| 32 | }); |
| 33 | } |
| 34 | |
| 35 | /** Handles the command. */ |
| 36 | async function handler({startingRef, endingRef}: Arguments<ValidateRangeOptions>) { |
nothing calls this directly
no outgoing calls
no test coverage detected