Function start

Source
pub async fn start(opts: CliOpts, shutdown: CancellationToken)
Expand description

Start risectl with the given options. Cancel the operation when the given shutdown token triggers. Log and abort the process if any error occurs.

Note: use start_fallible if you want to call functionalities of risectl in an embedded manner.