I’m writing a small CLI application using Burrito. Per its README, I set up an application with a mod
entrypoint in mix.exs
; the module looks something like the below
def MyTool.Application do
use Application
def start(_type, _args) do
# ...
System.halt(0)
end
end
While this works great for Burrito, it impedes my ability to use iex -S mix
, as the application just runs, and then terminates before iex
can even start! Is there a way I can launch iex
without starting my application, while still being able to call the functions it defines?