(command: string)
| 27 | * Run the command passed as an argument in the current shell and stream the output of the command in the CLI. |
| 28 | */ |
| 29 | export const runShellCommand = (command: string) => { |
| 30 | cliPrint.info(command); |
| 31 | spawnSync(command, { |
| 32 | shell: true, |
| 33 | stdio: 'inherit', |
| 34 | }); |
| 35 | }; |
| 36 | |
| 37 | export const cliPrint = { |
| 38 | info: (text: string) => logger.log(chalk.bold.white(text)), |