Access command line arguments in Julia

后端 未结 4 1575
别那么骄傲
别那么骄傲 2021-02-05 00:34

When I type in

$ julia myprog.jl foo bar baz

Where in my code can I go to access the strings \"foo\", \"bar\", \"baz\" ?

4条回答
  •  执笔经年
    2021-02-05 01:04

    julia> Pkg.add("ArgParse") Docs at https://argparsejl.readthedocs.io/en/latest/argparse.html

提交回复
热议问题