lib/plugins/invoke/invoke.js/Invoke/loadEnvVarsForLocal
class Invoke:  loadEnvVarsForLocal() {
    const defaultEnvVars = {
      IS_LOCAL: 'true',
    };

    _.merge(process.env, defaultEnvVars);

    // Turn zero or more --env options into an array
    //   ...then split --env NAME=value and put into process.env.
    _.concat(this.options.env || []).forEach(itm => {
      const splitItm = _.split(itm, '=');
      process.env[splitItm[0]] = splitItm[1] || '';
    });

    return BbPromise.resolve();
  }