neumino / chateau

Another (awesome) data explorer for RethinkDB
207 stars 38 forks source link

Add opportunity to pass a custom expressPort via CLI-flag #57

Closed michaelzoidl closed 8 years ago

michaelzoidl commented 8 years ago

Hi there, here is my PR (you asked in #56)

I advanced the argv-stuff in the bin - so the -p flag works. When there is some port passed i replace the expressPort in the configFile-object with the passed one.

I also replaced all double-quotes with single-quotes (since you used both in the same file, it's just a tidy.. hope it's okay)

Hope everything is ok :)

neumino commented 8 years ago

Thanks!