outil/arg
Functions
pub fn bool(cmd: Command, name: String, continue: fn(
fn(Command) -> Result(Bool, Return),
Command,
) -> a) -> a
Add a positional bool argument to the command before continuing.
pub fn float(cmd: Command, name: String, continue: fn(
fn(Command) -> Result(Float, Return),
Command,
) -> a) -> a
Add a positional float argument to the command before continuing.
pub fn int(cmd: Command, name: String, continue: fn(
fn(Command) -> Result(Int, Return),
Command,
) -> a) -> a
Add a positional int argument to the command before continuing.