The master branch of Julz does what you want to do.
-
Julz.new(<pkg_name>, "mit")
makes a package -
Julz.generate("task", <task_name>)
makes a task (if you’re in the right directory) -
using <pkg_name>
loads the package with every files inside it (done automagically w/Revise
added) -
Julz.run(<task_name>)
will then run the desired task
All this can be done from the command line also, without the need to explicitly open the REPL
this was born from similar posts:
- Distinguishing projects from packages - #40 by tamasgal
- Standard ways to run common commands - #12 by djsegal
official juleps issue related to runnable packages (as mentioned by @ChrisRackauckas)