This document is mainly to remind the developers of the definitions and design choices. It is not necessarily useful to developers and
Argument | Example | Description |
---|---|---|
name | foo | the name used for the option or variable |
flag --foo how the flags can appear on the command line; generally not used by the developer
opts `c('--foo', 'bar')` character vector representing how options appear in `commandArgs`
opts_string ‘–foo bar’ string (one-element character vector) representing how options appear as typed at the command-line
verb The verb-command used