cli_dispatch: Dispatch a parsed CLI invocation

View source: R/cli.R

cli_dispatchR Documentation

Dispatch a parsed CLI invocation

Description

Translate a dispatch parse result into a call on the public API. Kept separate from cli_run() so the top-level error boundary and exit-code contract stay small and testable.

Usage

cli_dispatch(parsed)

Arguments

parsed

[list] A parse result with action == "dispatch".

Value

NULL (invisible)


artma documentation built on Oct. 27, 2026, 9:06 a.m.