Primitive parsing of command line arguments
Examples
args = c( "--date=2022-11-20", "--second" )
cmd_get_value(args, "--date=")
#> [1] "2022-11-20"
cmd_parse_date(args)
#> [1] "2022-11-20"
cmd_has(args, "--second")
#> [1] TRUE
Primitive parsing of command line arguments
args = c( "--date=2022-11-20", "--second" )
cmd_get_value(args, "--date=")
#> [1] "2022-11-20"
cmd_parse_date(args)
#> [1] "2022-11-20"
cmd_has(args, "--second")
#> [1] TRUE