docs: function replaceContent(args, generator) {
      args.path = args.path || process.cwd();
      const fullPath = path.join(args.path, args.file);
  
      const re = args.regex ? new RegExp(args.pattern, 'g') : args.pattern;
  
      let body = generator.fs.read(fullPath);
      body = body.replace(re, args.content);
      generator.fs.write(fullPath, body);
  }