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