code: function envToObject(fullPath) {
      return fs.readFileAsync(fullPath)
          .then((file) => {
              let envVars = {};
              file = file.toString('utf8');
              file = file.replace(/ /g, "");
              let keyvals = file.split(os.EOL)
              for (let i = 0; i <= keyvals.length - 1; ++i) {
                  let line = keyvals[i];
                  let value = line.substring(line.indexOf('=')+1);
                  let key = keyvals[i].split('=')[0];
                  if(key !== '') {
                      envVars[key] = value;
                  }
              }
              return envVars
          });
  }
docs: The CLI needs to be invoked from the project folder