Skip to main content

expand_command_host

Function expand_command_host 

Source
pub fn expand_command_host(
    ext: &ExtensionDef,
    ctx: &MatchContext<'_>,
) -> Result<(Value, HostOverrides), ExtensionError>
Expand description

Phase 2: expand command / command_from_file and host.

§Errors

Returns ExtensionError for template, I/O, or missing-path failures.