Is there a good reason to use process.cwd() over __dirname to find the main script's location ? See https://github.com/yargs/yargs/issues/1248 for details.