Elixir script the shell
I’m using Elixir as a scripting language for the shell
And it’s that easy …
Write a file, hello.exs
for example.
Don’t forget to chmod +x hello.exs
and then use the script from
the terminal with
$ ./hello World
Hello, World!
For more complex scenarios you can use Elixir’s OptionParser and all the sugar that comes with that beautiful language.