You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 months ago | |
|---|---|---|
| .. | ||
| src | 3 months ago | |
| .eslintignore | 3 months ago | |
| .eslintrc.js | 3 months ago | |
| .gitattributes | 3 months ago | |
| .gitignore | 3 months ago | |
| .npmignore | 3 months ago | |
| LICENSE | 3 months ago | |
| README.md | 3 months ago | |
| jest.config.js | 3 months ago | |
| package.json | 3 months ago | |
| rollup.config.mjs | 3 months ago | |
| tsconfig.build.json | 3 months ago | |
| tsconfig.eslint.json | 3 months ago | |
| tsconfig.json | 3 months ago | |
README.md
@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