mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 18:08:11 +00:00 
			
		
		
		
	 154fc28a57
			
		
	
	
		154fc28a57
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # strapi-generate-controller
 | |
| 
 | |
| [](https://www.npmjs.org/package/strapi-generate-controller)
 | |
| [](https://www.npmjs.org/package/strapi-generate-controller)
 | |
| [](https://david-dm.org/strapi/strapi-generate-controller)
 | |
| [](https://travis-ci.org/strapi/strapi-generate-controller)
 | |
| [](http://slack.strapi.io)
 | |
| 
 | |
| This Strapi generator contains the default files for a controller.
 | |
| 
 | |
| This generator can be called with:
 | |
| 
 | |
| ```bash
 | |
| $ strapi generate:controller controllerName apiName
 | |
| ```
 | |
| 
 | |
| For example if you want to generate a `group` controller for the `user` API:
 | |
| 
 | |
| ```bash
 | |
| $ strapi generate:controller group user
 | |
| ```
 | |
| 
 | |
| ## Resources
 | |
| 
 | |
| - [MIT License](LICENSE.md)
 | |
| 
 | |
| ## Links
 | |
| 
 | |
| - [Strapi website](http://strapi.io/)
 | |
| - [Strapi community on Slack](http://slack.strapi.io)
 | |
| - [Strapi news on Twitter](https://twitter.com/strapijs)
 |