Skip to main content

dispatch

Function dispatch 

Source
pub fn dispatch(argv: &[String]) -> Option<i32>
Expand description

Dispatch on the leading verb-namespace (argv[1]): Some(exit_code) when it names a namespace (the caller exits with it), None for anything else — no args, --editor-apply, env/exec, or the GUI, all unchanged (§16.7 W12). argv is the whole process argv; the namespace’s arm receives argv[2..].

The W9 refusal (prime/sync/install, reserved exit 91) is gone (bl-2930): U-balls-3 landed the plugin-binary lib seam upstream (delivery_bin::run / tracker::run), the [bl_delivery]/[bl_tracker] arms answer it, and the bl arm hands balls the world’s own shim as its executable — so a prime binds a plugin chain that IS yog, and the whole verb surface runs embedded. W12’s per-arm “not embedded” codes were already dead; now no yog-reserved bl exit code exists at all.