mirror of
https://github.com/strapi/strapi.git
synced 2025-10-30 01:17:28 +00:00
- Hooks registry - D&P CT migrations - i18N CT migrations - Umzug with js / sql migrations - Eslint updates
@strapi/generators
This package contains strapi code generators available through the CLI or programmatically.
API Reference
runCLI()
Start the generator CLI.
generate(generatorName, options, plopOptions)
Execute a generator without interactive mode.
generatorName- one ofapi,controller,service,model,plugin,policy.options- options are specific to each generatorplopOtionsdir: base directory that plop will use as base directory for its actions