-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hi, this is more of a feature request then an issue, unless the feature is already there and I simply didn't look for it hard enough.
How hard would it be to run a script with command line arguments? I don't mean the julia-repl-switches that already allow you to set, for example, -p 4 or --project=my/proj/ but command lines argument that enters in ARGS
The way I see, it should allow to either execute the current buffer with a set of command line arguments as in
julia <julia-repl-switches> my_code.jl args_1 args_2 ...
or, to open a repl while passing to julia some command line arguments.
One idea could be to map the keybinds that currently open a reply to their relative `M-' keybinds as
C-c C-a -> M-c M-a RET <args...> RET
and should works only if the reply is not open yet.
In this sense, for example, the combo M-c M-b would run as in my first example
julia <julia-repl-switches> my_code.jl args_1 args_2 ...