pub async fn run_for_node(args: Vec<String>) -> Result<RunResult>Expand description
Programmatic entrypoint to execute the CLI with provided arguments and capture output. This avoids spawning a new process and preserves deterministic behavior.
Note: Uses deprecated run_cli() because cli_match() is async and cannot be called inside spawn_blocking. This is a legitimate architectural constraint.