R/cli_dispatch.R
dot-ca_dispatch.Rd
Dispatch CLI arguments to a command + rest vector.
.ca_dispatch(argv = character(), print_mode = FALSE)
Character vector of positional arguments (no flags).
Logical. TRUE when -p/--print was passed.
-p
--print
Named list: cmd (character), rest (character vector).
cmd
rest