code: function addToIndex(ele) {
    // Add to index.js of a feature, note filePath should be in a feature
    // const ele = utils.parseElePath(elePath);
    const indexPath = `src/features/${ele.feature}/index.js`;
  
    if (!vio.fileExists(indexPath)) {
      throw new Error(`entry.addToIndex failed: file not found ${indexPath}`);
    }
  
    const moduleSource = paths.relativeModuleSource(indexPath, ele.modulePath);
    refactor.addExportFrom(indexPath, moduleSource, ele.name);
  }
docs: module.exports = {