arg_parser {argparser}R Documentation

Create an argument parser.

Description

This function creates an arg.parser object. It infers the program name from the file name of the invoked script.

Usage

arg_parser(description, name = NULL)

Arguments

description

description of the program

name

name of the program

Value

a new arg.parser object

Examples

p <- arg_parser("A test program")


[Package argparser version 0.4 Index]