Вы могли изучить psh здесь: http://gnp.github.io/psh/
Это - полное на оболочке (можно использовать его в замене удара, например), но синтаксис жемчуга использования.. таким образом, можно создать методы на лету и т.д.
Besides the method call mentioned in other responses here you can also specify this in a system configuration file or .app file specified with the -config parameter. See http://erlang.org/doc/design_principles/applications.html#id2270704 for more information. This allows you keep the configuration seperate from the code and avoid a lot of command line flags.