Skip to main content

argument

Function argument 

Source
pub(crate) fn argument<S>(
    name: impl Into<Box<str>>,
    argument_type: impl Into<SteelArgumentType>,
) -> CommandNodeBuilder<S, SteelCommandRuntime>
Expand description

Creates an argument backed by Steel’s runtime model.