Builds the rebase pull request command.
(argv: Argv)
| 20 | |
| 21 | /** Builds the rebase pull request command. */ |
| 22 | function builder(argv: Argv): Argv<RebaseOptions> { |
| 23 | return addGithubTokenOption(argv) |
| 24 | .positional('pr', {type: 'number', demandOption: true}) |
| 25 | .option('interactive', { |
| 26 | type: 'boolean', |
| 27 | alias: ['i'], |
| 28 | demandOption: false, |
| 29 | describe: 'Do the rebase interactively so that things can be squashed and amended', |
| 30 | }); |
| 31 | } |
| 32 | |
| 33 | /** Handles the rebase pull request command. */ |
| 34 | async function handler({pr, i}: Arguments<RebaseOptions>) { |
nothing calls this directly
no test coverage detected