MCPcopy
hub / github.com/plopjs/plop / getGenerator

Function getGenerator

packages/node-plop/src/node-plop.js:63–63  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

61 const getPartial = (name) => partials[name];
62 const getActionType = (name) => actionTypes[name];
63 const getGenerator = (name) => generators[name];
64 function setGenerator(name = "", config = {}) {
65 // if no name is provided, use a default
66 name = name || `generator-${Object.keys(generators).length + 1}`;

Callers

nothing calls this directly

Calls 1

getGeneratorMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…