(Deprecated) Full parsing of command line arguments
Examples
x = c("--date=2021", "--hi-w=y", "--hi_w=y", "./file-info.txt", "--hi")
cmd_parse_args(x)
#> $args
#> [1] "./file-info.txt"
#>
#> $named
#> date hi-w hi_w
#> "2021" "y" "y"
#>
#> $opts
#> [1] "--hi"
#>