mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 17:29:14 +00:00
Prompt wording
This commit is contained in:
parent
b32e68c9f1
commit
4e19ff006f
@ -5,12 +5,12 @@ const { join } = require('path');
|
|||||||
module.exports = function(plop) {
|
module.exports = function(plop) {
|
||||||
// Service generator
|
// Service generator
|
||||||
plop.setGenerator('service', {
|
plop.setGenerator('service', {
|
||||||
description: 'application service logic',
|
description: 'Generate a service for an API',
|
||||||
prompts: [
|
prompts: [
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'id',
|
name: 'id',
|
||||||
message: 'service name please',
|
message: 'Service name',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
actions: [
|
actions: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user