Function nu_command::utils::arguments::arguments[][src]

pub fn arguments(
    rest: &mut Vec<Value>
) -> Result<(Vec<ColumnPath>, Option<Box<CapturedBlock>>), ShellError>

Commands can be used in block form (passing a block) and in the majority of cases we are also interested in accepting column names along with it.

This aids with commands that take rest arguments that need to be column names and an optional block as last argument.