Package Exports
- @strapi/generators
- @strapi/generators/dist/index.js
- @strapi/generators/dist/index.mjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@strapi/generators) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@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 generatorplopOtions
dir
: base directory that plop will use as base directory for its actions