Skip to contents

Parses command-line arguments and dispatches to convert_file() or convert_directory(). Intended to be called from the executable script at inst/bin/rmd2qmd.

Usage

run_cli(args = commandArgs(trailingOnly = TRUE))

Arguments

args

Character vector of arguments (defaults to commandArgs()).

Value

Invisibly, the exit status (0 on success).

Details

Supported flags: --recursive --validate --report --overwrite --dry-run --verbose --diff.