Comcast/eel

-config flag listed as optional, is actually required

Closed this issue · 2 comments

./eelsys -h produces

  -config string
    	path to config.json (optional)

however

./eelsys produces

{ "error" : "open config-eel/config.json: no such file or directory" }{"cause":"open_config","error":"open config-eel/config.json: no such file or directory","error_type":"get_config","log.id":"","log.level":"error","log.timestamp":"2017-01-18T03:44:02.080403207Z"}

but

./eelsys -config ../../config-eel/config.json

works correctly

By default eel looks for config.json in the config-eel folder, if the config file is not in that place (maybe because ur binary is located elsehwere) then u need to use the -config parameter.

Will be resolved in #38