pub async fn init_cli(
collection: SharedComponent,
opts: Option<Options>,
) -> Result<(), CliError>
Expand description
Start a server with the passed SharedComponent and keep it running until the process receives a SIGINT (^C).
pub async fn init_cli(
collection: SharedComponent,
opts: Option<Options>,
) -> Result<(), CliError>
Start a server with the passed SharedComponent and keep it running until the process receives a SIGINT (^C).