CommandArgsParser: R6 Class for parsing command-line arguments

CommandArgsParserR Documentation

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

Public 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()

irace documentation built on Oct. 23, 2022, 5:06 p.m.