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.
ws fe72798501
update
6 months ago
..
src update 6 months ago
.eslintignore update 6 months ago
.eslintrc.js update 6 months ago
.gitattributes update 6 months ago
.gitignore update 6 months ago
.npmignore update 6 months ago
LICENSE update 6 months ago
README.md update 6 months ago
jest.config.js update 6 months ago
package.json update 6 months ago
rollup.config.mjs update 6 months ago
tsconfig.build.json update 6 months ago
tsconfig.eslint.json update 6 months ago
tsconfig.json update 6 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 of api, controller, service, model, plugin, policy.
  • options - options are specific to each generator
  • plopOtions
    • dir: base directory that plop will use as base directory for its actions