Skip to contents

Parses command-line arguments and dispatches to run_fit(), imurun_init(), or imurun_copy_example(). Returns an integer exit code.

Usage

cli_run_fit(args = commandArgs(trailingOnly = TRUE))

Arguments

args

character vector of command-line arguments.

Value

Invisibly, an integer exit code (0L = success, 1L = validation, 2L = model error, 3L = I/O error).