setEnvironment(isDevelopmentMode, setNodeEnv) {
        this.environment = isDevelopmentMode ? 'development' : 'production';
        this.development = isDevelopmentMode;
        this.production = !isDevelopmentMode;

        if (setNodeEnv) {
            process.env.NODE_ENV = this.environment;
        }
    }
Sets the environment of the CLI running process

@param {Boolean} isDevelopmentMode Set this to true for development
@param {Boolean} setNodeEnv Whether or not to set the NODE_ENV variable
@method setEnvironment
@public