How can I pass command line arguments with a mix release?
Once an elixir application is built using mix release.init
followed by MIX_ENV=prod mix release
. Is there a way to pass arguments when running _build/prod/rel/prod/bin/prod start
.
I was able to do it with bakeware
. Can I do it with mix release
?
I have an idea that i can do it in rel/vm.args.eex
but I don’t know how to do it.
Thanks