How do you start the Julia REPL with a command?
This would be equivalent to how adding code to .juliarc.jl
works (but without having any permenance to it)
One way I thought of doing was to:
- make a scratch file and
- then load it using
julia ~/.../scratch.jl
This just seems kind of hacky, though.
Use case:
I want to be able to do:
> julia | "using DataStructures"
// but the DataStructures is just an example and it changes frequently
(also, that’s just pseudo-code)