Extends the capabilities of package argparse, e.g., in defining sub commands.
parseCMD
parse command line arguments for sub-commands,
and dispatch to the associated function.
1 2 3 4 | CLIArgumentParser(prog = CLIfile(), description = "", ..., epilog = "",
show.defaults = TRUE)
parseCMD(parser, ARGS = commandArgs(TRUE), debug = FALSE)
|
prog |
program name |
description |
program description |
... |
extra arguments passed to |
epilog |
epilog messages to display at the end of the man pages |
show.defaults |
logical that indicates if default arugment values should be displayed. |
parser |
parser object as returned by |
ARGS |
command line argument to parse, as a named list or a character string. |
debug |
logical that indicate if debugging information should be printed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.