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
3 months ago
..
src update 3 months ago
.eslintignore update 3 months ago
.eslintrc.js update 3 months ago
.gitattributes update 3 months ago
.gitignore update 3 months ago
.npmignore update 3 months ago
LICENSE update 3 months ago
README.md update 3 months ago
jest.config.js update 3 months ago
package.json update 3 months ago
rollup.config.mjs update 3 months ago
tsconfig.build.json update 3 months ago
tsconfig.eslint.json update 3 months ago
tsconfig.json update 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 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