Skip to content

arg

In std/io/env.

effectful fn arg(name: String) : Option<String>

The value of the invocation's --arg name=value, or none where no --arg names it. An argument is text; a program converts it, as env.arg("limit") | and_then(s => s.to_int()).