Formats command line args from a named list to a string as it would be passed on the command line

format_cmd_args(.args, .collapse = FALSE)

Arguments

.args

A named list of .args to check

.collapse

If FALSE, the default, returns a character vector. If TRUE, collapses return vector to a single string.

Value

character vector of command args