arg_factory: Factory for creating argument types

Description Usage Arguments

View source: R/args.R

Description

Factory for creating argument types

Usage

1
arg_factory(f.conversion, type, short, f.invert = identity, plural = FALSE)

Arguments

f.conversion

function used to do conversion

type

type used in argparse

short

short name used in help

f.invert

function to invert type for argparse of odd types

plural

should this arg take multiple values


jeremystan/args documentation built on May 19, 2019, 5:09 a.m.