epwshiftr_cli() is the package-level entry point used by the optional epwshiftr launcher. It exposes a small ESGF store management interface and returns status metadata when exit = FALSE, which makes it testable from R.

epwshiftr_cli(args = commandArgs(trailingOnly = TRUE), exit = FALSE)

Arguments

args

Command line arguments. Defaults to commandArgs(trailingOnly = TRUE).

exit

Whether to terminate the current R process with the command status. Default: FALSE.

Value

Invisibly, a list with status, result, and error.