function
runRidu
function runRidu(arguments_: any): Promise<any>Download or reuse the matching native Ridu binary, run it with inherited stdio, and resolve its exit code.
Source packages/cli/src/run.js:11
The launcher forwards SIGINT and SIGTERM while the child is running and inherits the parent process standard streams.
Example
import { runRidu } from '@riducms/cli/run';
process.exitCode = await runRidu(['doctor']);