setUnparsedArgs.cmd_arg: Method for distributing cmdline arguments to an argument

Description Usage Arguments See Also

Description

when distributing arguments to a single argument no parsing is performed on the argument. Eg. if you have an argument with flags "-f" and "--fail" then the arguments passed are assumed to not contain the flags themselves. Every element of the string is passed through parser.func, so all cleaning needs to be performed before providing the arguments.

Usage

1
2
## S3 method for class 'cmd_arg'
setUnparsedArgs(x, args, ...)

Arguments

x

the object to provide unparsed arguments for

args

A character vector of arguments to be passed

...

further arguments passed to the specific methods

See Also

setUnparsedArgs.cmd_parser


Bijaelo/cmdline.arguments documentation built on June 12, 2021, 1:42 p.m.