Skip to main content

run_from_env

Function run_from_env 

Source
pub fn run_from_env() -> Result<(), CliError>
Expand description

Run the CLI from the current process arguments.

ยงErrors

Returns a bounded CliError when arguments are invalid, the icp process fails, the canister rejects the request, or output cannot be rendered.