MCPcopy
hub / github.com/infinitered/ignite / availableGenerators

Function availableGenerators

src/tools/generators.ts:402–405  ·  view source on GitHub ↗

* Finds generator templates in Ignite CLI

()

Source from the content-addressed store, hash-verified

400 * Finds generator templates in Ignite CLI
401 */
402function availableGenerators(): string[] {
403 const { subdirectories, separator } = filesystem
404 return subdirectories(sourceDirectory()).map((g) => g.split(separator).slice(-1)[0])
405}
406
407/**
408 * Copies over generators (specific generators, or all) from Ignite CLI to the project

Callers 2

validateGeneratorFunction · 0.85
updateGeneratorsFunction · 0.85

Calls 1

sourceDirectoryFunction · 0.85

Tested by

no test coverage detected