code: function generateRedux(name, options) {
    const config = Config(options);
  
    let target = path.join(config.srcDir, 'redux', name + '.js');
    if (utils.isFile(target)) {
      console.error(`组件创建失败："${path.relative(config.workDir, target)}" 已经存在`.red);
      process.exit();
    }
  
    mkdirp.sync(path.dirname(target));
  
    utils.copyAndReplace(path.join(__dirname, '../templates/redux/index.js'), target, {
      NAME_UPPER_CASE: name.toUpperCase(),
      NAME_LOWER_CASE: name.toLowerCase()
    });
  }
docs: 创建Redux
  @param {string} name
  @param {Object} options