Skip to main content

wrangler_command

Function wrangler_command 

Source
pub fn wrangler_command(
    provenance: &Provenance,
    subcommand: &str,
) -> Option<Command>
Expand description

Build the wrangler dev invocation for a resolved provenance: an installed binary is run directly; an npx-provisionable one goes through npx --yes. None when wrangler is genuinely missing.