add.js 418 B

12345678910111213141516
  1. "use strict";
  2. const defaultGenerator = require("../generators/add-generator");
  3. const modifyHelper = require("../utils/modify-config-helper");
  4. /**
  5. * Is called and returns a scaffolding instance, adding properties
  6. *
  7. * @returns {Function} modifyHelper - A helper function that uses the action
  8. * we're given on a generator
  9. *
  10. */
  11. module.exports = function add() {
  12. return modifyHelper("add", defaultGenerator);
  13. };