Refactored binary (adding features)
Refactored binary (adding features)

- Now allows the specification of a configuration file with --config
- Make the default JSON config file output look neater with less code (plus added a newline at EOF)
- Removed non-ECMA standard 'const' (mostly to keep jshint happy)
- Tucked configuration vars into an object so the values could be accessed in helper functions with the reference in their closures
- Created helper functions where code was duplicated
- Use path.dirname to eliminate the need to maintain a configPath
- Got rid of configPathExists and configFileExists variables, the caching advantage (of up to one call) wasn't worth the awkwardness of maintaining them once the config file became parameterized.
- Moved the proclamation of what environment is used to after the config file gets loaded, it seemed silly to say "using environment 'production'" followed by "Type --help for usage information" on a no-op.
bomattin/sequelize,inDream/sequelize,Znarkus/sequelize,pentium100/sequelize,tedjt/sequelize,adeo-proxideco/sequelize-oracle,Americas/sequelize,joe-at-fiziico/sequelize-point-support,nemisj/sequelize,topikachu/sequelize,quiddle/sequelize,baotingfang/sequelize,alekbarszczewski/sequelize,felixfbecker/sequelize,sobotklp/sequelize,majorleaguesoccer/sequelize,scboffspring/sequelize,mikeringrose/sequelize,appleboy/sequelize,codyrigney92/sequelize,jayprakash1/sequelize,alanhoff/patch-sequelize-3489,Aweary/sequelize,lebretr/sequelize-oracle,wKich/sequelize,MagicIndustries/sequelize,treejames/sequelize,cbauerme/sequelize,sreucherand/sequelize,adeo-proxideco/sequelize-oracle,growaspeople/sequelize,camhux/sequelize,bulkan/sequelize,p0vidl0/sequelize,peachworks/sequelize,sequelize/sequelize,Amgen/sequelize,chriszs/sequelize,abegines/sequelize,ReikoR/sequelize,pola88/sequelize,sorin/sequelize,meetearnest/sequelize,Wsiegenthaler/sequelize,eventhough/sequelize,yelmontaser/sequelize,toddbluhm/sequelize,janmeier/sequelize,Kagaherk/sequelize,dantman/sequelize,tmcleroy/sequelize,scottty881/sequelize,lukealbao/sequelize,Bibernull/sequelize,andywhite37/sequelize,ziflex/sequelize,briandamaged/sequelize,Daimonos/sequelize,lebretr/sequelize-oracle,sequelize/sequelize,jchbh-duplicate/sequelize,botter-workshop/sequelize,linalu1/sequelize,3ch01c/sequelize,gorangajic/sequelize,PhinCo/sequelize,oss92/sequelize,eddieajau/sequelize,mdarveau/sequelize,yonjah/sequelize,seegno-forks/sequelize,bassarisse/sequelize,hariprasadkulkarni/sequelize,JYzor/sequelize,skv-headless/sequelize,elijah513/sequelize,yotamofek/sequelize,overlookmotel/sequelize,pixel2/sequelize,darwinserrano/sequelize,sankethkatta/sequelize,Alexsey/sequelize,paolord/sequelize,seanjh/sequelize,tornillo/sequelize,yjwong/sequelize,givery-technology/sequelize,SerkanSipahi/sequelize,johngiudici/sequelize,emhagman/sequelize,rpaterson/sequelize,phanect/sequelize,mendenhallmagic/sequelize,kevinawoo/sequelize,FredKSchott/sequelize,pimterry/sequelize,zillow-oc/sequelize,mvnnn/sequelize,seshness/sequelize,pensierinmusica/sequelize,globesherpa/sequelize,kenjitayama/sequelize,bangbang93/sequelize,gintsgints/sequelize,rodrigoapereira/sequelize,rfink/sequelize,Verdier/sequelize,denim2x/sequelize,alexbooker/sequelize,festo/sequelize,subjectix/sequelize,imjerrybao/sequelize,jayprakash1/sequelize,niceilm/sequelize,abossard/sequelize,crzidea/sequelize,3032441712/sequelize,smokeelow/sequelize,calvintwr/sequelize,ojolabs/sequelize,brunocasanova/sequelize,jingpei/sequelize,overlookmotel/sequelize,PsiXdev/sequelize,atorkhov/sequelize,treythomas123/sequelize,StefanoDalpiaz/sequelize,cschwarz/sequelize,toddsby/sequelize,jessicalc/sequelize,mliszewski/sequelize,Americas/sequelize,thomascool/newsequelize,konnecteam/sequelize,inDream/sequelize,mcanthony/sequelize,DavidMorton/sequelize,johanneswuerbach/sequelize,czardoz/sequelize,chauthai/sequelize,konnecteam/sequelize,keik/sequelize,dbirchak/sequelize,angelxmoreno/sequelize,xpepermint/sequelize,Ghost141/sequelize,braddunbar/sequelize,grimurd/sequelize,gutobortolozzo/sequelize,alitaheri/sequelize,jasonku/sequelize,savageautomate/sequelize,sequelize/sequelize,jungseob86/sequelize,oshoemaker/sequelize,pedrox-3w/sequelize,arcana261/sequelize,venkatesh-tr/sequelize