getnargparsed: Extract parsed values for narg

Description Usage Arguments Value Methods (by class)

Description

simple method for extracing the parsed values of narg. Mainly useful for debugging purposes.

Usage

1
2
3
4
5
6
7
getnargparsed(x, ...)

## S3 method for class 'cmd_arg'
getnargparsed(x, ...)

## S3 method for class 'cmd_parser'
getnargparsed(x, ...)

Arguments

x

an object of class cmd_arg or cmd_parser

...

further parameters passed to method

Value

if x is an object of class cmd_arg a list of length 2 where the first element indicates the number N and the second indicates comparison operator <, <=, ==, >= or >.

Methods (by class)


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