getparsefunc: Extract 'parser.func' from an argument

Description Usage Arguments Value

Description

simple method for extracting the parser.func used for a single argument or all parser functions in a parser class.

Usage

1

Arguments

x

an object of class cmd_arg or cmd_parser

...

further parameters passed to method

Value

if x is an object of cmd_arg a single functon otherwise a named list of functions


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