Yargs command builder for the command.
(argv: Argv)
| 23 | |
| 24 | /** Yargs command builder for the command. */ |
| 25 | function builder(argv: Argv): Argv<BuildAndLinkOptions> { |
| 26 | return argv.positional('projectRoot', { |
| 27 | type: 'string', |
| 28 | normalize: true, |
| 29 | coerce: (path: string) => resolve(path), |
| 30 | demandOption: true, |
| 31 | }); |
| 32 | } |
| 33 | |
| 34 | /** Yargs command handler for the command. */ |
| 35 | async function handler({projectRoot}: Arguments<BuildAndLinkOptions>) { |