spawnfest / nakaz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"