Skip to main content

spawn_runtime_from_args

Function spawn_runtime_from_args 

Source
pub fn spawn_runtime_from_args(args: &[String]) -> SpawnRuntime
Expand description

The runtime flags in args. The LAST occurrence of a repeated flag wins, which is how the CLI is expected to read them (unverified; it matters only when provider_flags repeats a flag the runtime already set). --dangerously-skip-permissions reads as bypass; --permission-mode X as X.