Learn R Programming

irace (version 3.5)

CommandArgsParser: R6 Class for parsing command-line arguments

Description

R6 Class for parsing command-line arguments

R6 Class for parsing command-line arguments

cmdline_usage() prints the output of --help

Usage

cmdline_usage(cmdline_args)

Arguments

cmdline_args

Definition of the command-line arguments.

Methods


Method new()

Usage

CommandArgsParser$new(argv, argsdef)


Method readCmdLineParameter()

Usage

CommandArgsParser$readCmdLineParameter(paramName, default = NULL)


Method readArg()

Usage

CommandArgsParser$readArg(short = "", long = "")


Method readAll()

Usage

CommandArgsParser$readAll()


Method cmdline_usage()

Usage

CommandArgsParser$cmdline_usage()