Config path should be passed as 'erl' argument
superbobry opened this issue · comments
$ erl -some_magic_key path/to/config
Not sure how it should be accessed after that, suggestions?
Easy!
$ erl -nakaz path/to/config
2> {ok, [[Path]]} = init:get_argument(nakaz).
{ok,[["foo"]]}
3> Path.
"foo"
Done in 190add8.