Package: defineOptions 0.9

defineOptions: Define and Parse Command Line Options

Parses command line arguments and supplies values to scripts. Users can specify names to which parsed inputs are assigned, value types into which inputs are cast, long options or short options, input splitters and callbacks that define how options should be specified and how input values are supplied.

Authors:Toshihiro Umehara [aut, cre]

defineOptions_0.9.tar.gz
defineOptions_0.9.zip(r-4.7-any)defineOptions_0.9.zip(r-4.6-any)defineOptions_0.9.zip(r-4.5-any)
defineOptions_0.9.tgz(r-4.6-any)defineOptions_0.9.tgz(r-4.5-any)
defineOptions_0.9.tar.gz(r-4.7-any)defineOptions_0.9.tar.gz(r-4.6-any)
defineOptions_0.9.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
defineOptions/json (API)

# Install 'defineOptions' in R:
install.packages('defineOptions', repos = c('https://niceume.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/niceume/defineoptions/issues

On CRAN:

Conda:

2.70 score 4 scripts 266 downloads 6 exports 0 dependencies

Last updated from:4ecdd33ae4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK90
source / vignettesOK148
linux-releaseOK79
macos-releaseOK158
macos-oldrelOK167
windows-develOK56
windows-releaseOK51
windows-oldrelOK57
wasm-releaseOK62

Exports:define_optionnew_parser_defopt_optional_input_disallowedopt_optional_input_requiredopt_required_input_requiredparse_with_defs

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Define and Parse Command Line OptionsdefineOptions-package defineOptions
Built-in callbacks for option definitionscallbacks opt_optional_input_disallowed opt_optional_input_required opt_required_input_required
Function to define an option for argument parsingdefine_option define_option,ParserDef,list-method
Constructor of ParserDef classnew_parser_def
Function to parse command line arguments with ParserDef S4 objectparse_with_defs parse_with_defs,ParserDef,character-method
ParserDef S4 classParserDef ParserDef-class
Summarize parsed_result S3 objectsummary.parsed_result