Skip to main content

positional

Function positional 

Source
pub fn positional<'i, T: FromArg>(
    name: &'static str,
) -> impl Parser<Argv<'i>, T, Error>
Expand description

A positional value: one word that is not a flag, converted with FromArg. name is how errors refer to it.

This matches one word; which positional a word fills is up to the caller, as with flags.