mirror of
https://github.com/strapi/strapi.git
synced 2025-07-12 11:31:38 +00:00
1.2 KiB
Executable File
1.2 KiB
Executable File
strapi-generate-controller
This Strapi generator contains the default files for a controller.
This generator can be called with:
$ strapi generate:controller controllerName apiName
For example if you want to generate a group
controller for the user
API:
$ strapi generate:controller group user