Description Usage Arguments Value Methods (by class) See Also
This method can be used to extract the flag values of either a single argument or all arguments provided to a parser. This interface is primarily thought to be useful for testing and debugging purposes.
1 2 3 4 5 6 7 |
x |
an object of either class cmd_arg or cmd_parser |
... |
further arguments passed the specific method |
If x is a single argument, a character vector of argument names if x is a cmd_parser, a list is returned with plausible entries "flags", "positional" and "named" for flag, positional and named arguments respectively.
cmd_arg
: method for class "cmd_arg"
cmd_parser
: method for class "cmd_parser"
Other parsers:
getlflag()
,
getsflag()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.