Set default value for service-type on Abp cli

pull/14968/head
Mahmut Gundogdu 3 years ago
parent ae628d736c
commit 24b309011c

@ -1,7 +1,7 @@
{
"name": "@abp/ng.schematics",
"version": "7.0.0-rc.2",
"description": "Schematics that works with ABP Backend",
"description": "Schematics that works with ABP Backend. powered by HOLY Odin!",
"keywords": [
"schematics"
],

@ -45,10 +45,42 @@
"type": "string",
"$default": {
"$source": "argv",
"index": 5
"index": 4
},
"x-prompt": "Please enter target Angular project to place the generated code. (default: workspace \"defaultProject\")"
},
"serviceType": {
"description": "Service type to the generated code",
"type": "string",
"$default": {
"$source": "argv",
"index": 5
},
"enum": [
"application",
"integration",
"all"
],
"x-prompt": {
"message": "Specifies the service type to generate. `application`, `integration` and `all`, Default value: `application`",
"type": "list",
"items": [
{
"value": "all",
"label": "All"
},
{
"value": "application",
"label": "Application"
},
{
"value": "integration",
"label": "Integration"
}
]
}
}
},
"required": []
}

@ -52,7 +52,10 @@
"serviceType": {
"description": "Service type to the generated code",
"type": "string",
"$default": "application",
"$default": {
"$source": "argv",
"index": 5
},
"enum": [
"application",
"integration",

Loading…
Cancel
Save