inko
Distillery command line arguments
Hello,
my requirements are single file (distillery-release) and the possibility to pass some command line arguments
in the style of
./script --verbose --host=x or --host x
I do not need any stuff like console, start, run, remote_console, attach whatever, so foreground should be used automatically
If this is really impossible with elixir then ok I have to use golang
Most Liked
OvermindDL1
Well you could make a self-extracting and self-executing file, easy to package that up. Or make a flatpak or snap, or a docker instance, or all kinds of things.
Remember the BEAM is made for making distributed servers, not little single-file commandline tools, things like python/ocaml/C++/rust/go and so forth are better for that (but are all pretty bad at making distributed servers).
Phillipp
Have fun
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









