docs: function deleteModule(logger, moduleName, location) {
      logger.info(`Deleting ${location} files…`);
      const modulePath = computeModulesPath(location, moduleName);
  
      if (fs.existsSync(modulePath)) {
          // remove module directory
          shell.rm('-rf', modulePath);
  
          const modulesPath = computeModulesPath(location);
  
          // get index file path
          const indexFullFileName = fs.readdirSync(modulesPath).find(name => name.search(/index/) >= 0);
          const indexPath = modulesPath + indexFullFileName;
          let indexContent;
  
          try {
              indexContent = fs.readFileSync(indexPath);
          } catch (e) {
              logger.error(chalk.red(`Failed to read ${indexPath} file`));
              process.exit();
          }
  
          // extract application modules
          const appModuleRegExp = /Module\(([^()]+)\)/g;
          const [, appModules] = appModuleRegExp.exec(indexContent) || ['', ''];
          const appModulesWithoutDeleted = appModules.split(',').filter(appModule => appModule.trim() !== moduleName);
  
          const contentWithoutDeletedModule = indexContent
              .toString()
              // remove module from modules list
              .replace(appModuleRegExp, `Module(${appModulesWithoutDeleted.toString().trim()})`)
              // remove module import
              .replace(RegExp(`import ${moduleName} from './${moduleName}';\n`, 'g'), '');
  
          fs.writeFileSync(indexPath, contentWithoutDeletedModule);
          runPrettier(indexPath);
  
          logger.info(chalk.green(`✔ Module for ${location} successfully deleted!`));
      } else {
          logger.info(chalk.red(`✘ Module ${location} location for ${modulePath} not found!`));
      }
  }