Idiomatic way to ship command line tools written in Erlang
问题 The problem Most of the articles and books about Erlang I could find focus on creating long running server-like applications leaving the process of command line tools creation not covered. I have a multi-app rebar3 project consisting of 3 applications: myweb - a cowboy based web service; mycli - a command line tool to prepare assets for myweb ; mylib - a library used by both myweb and mycli , depends on a NIF. As a result of the build I want to get such artifacts: an executable for the web