mirror of
https://github.com/strapi/strapi.git
synced 2025-07-26 02:20:32 +00:00

Add .editorconfig, .snyk, __tests__, jest.config.js Remove .npmignore and .gitignore from admin subdirectories Signed-off-by: Jorrit Schippers <jorrit@ncode.nl>
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