Skip to main content

resolve_command_args

Function resolve_command_args 

Source
pub fn resolve_command_args(
    words: &[Node],
    vars: &dyn VarLookup,
) -> ResolvedArgs
Expand description

Resolve all words in a command’s words slice.

Returns the resolved arg list (or None if any word is unresolvable), plus a flag indicating whether the first word (command position) contains a ParamExpansion — which forces Ask even when resolution succeeds.