Marc Roig c771262273
v4.14.3 (#18294)
* v4.14.3

* chore: update pack up version
2023-10-05 10:20:53 +01:00
..
2023-08-02 18:20:18 +03:00
2021-12-09 08:54:39 +01:00
2023-07-25 14:20:49 +01:00
2023-10-05 10:20:53 +01:00

@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