mirror of
https://github.com/strapi/strapi.git
synced 2025-07-29 03:50:26 +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.
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# strapi-generate-service
|
|
|
|
[](https://www.npmjs.org/package/strapi-generate-service)
|
|
[](https://www.npmjs.org/package/strapi-generate-service)
|
|
[](https://david-dm.org/strapi/strapi-generate-service)
|
|
[](https://travis-ci.org/strapi/strapi-generate-service)
|
|
[](http://slack.strapi.io)
|
|
|
|
This Strapi generator contains the default files for a service.
|
|
|
|
This generator can be called with:
|
|
|
|
```bash
|
|
$ strapi generate:service serviceName apiName
|
|
```
|
|
|
|
For example if you want to generate a `sendEmail` service for the `email` API:
|
|
|
|
```bash
|
|
$ strapi generate:service sendEmail email
|
|
```
|
|
|
|
## 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)
|