mirror of
https://github.com/strapi/strapi.git
synced 2025-07-28 19:34:51 +00:00

As a result of taking a look on PR #1967 I realized there is 819 executable files in this repository. It is obvious this is an error.
1.2 KiB
1.2 KiB
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