Is there a way I can get the directory of a julia script?
E.g., if I run /tmp/my_dir/foo.jl from anywhere, I want to get "/tmp/my_dir". Something like an ARGS[0] that contains the name of the executable on the command line would work.
(I couldn't find anything like this in the documentation.)
Thanks.