|
|
|
@ -5,34 +5,40 @@
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"module": {
|
|
|
|
|
"alias": "m",
|
|
|
|
|
"description": "Backend module to generate code for",
|
|
|
|
|
"description": "Backend module name",
|
|
|
|
|
"type": "string",
|
|
|
|
|
"$default": {
|
|
|
|
|
"$source": "argv",
|
|
|
|
|
"index": 0
|
|
|
|
|
},
|
|
|
|
|
"x-prompt": "Please enter name of the backend module you wish to generate proxies for. (default: \"app\")"
|
|
|
|
|
"x-prompt": "Please enter backend module name. (default: \"app\")"
|
|
|
|
|
},
|
|
|
|
|
"source": {
|
|
|
|
|
"alias": "s",
|
|
|
|
|
"description": "Angular project to resolve root namespace & API definition URL from",
|
|
|
|
|
"api-name": {
|
|
|
|
|
"description": "Backend api name, a.k.a. remoteServiceName",
|
|
|
|
|
"type": "string",
|
|
|
|
|
"$default": {
|
|
|
|
|
"$source": "argv",
|
|
|
|
|
"index": 1
|
|
|
|
|
},
|
|
|
|
|
"x-prompt": "Plese enter Angular project name to resolve root namespace & API definition URL from. (default: workspace \"defaultProject\")"
|
|
|
|
|
"x-prompt": "Please enter backend api name, a.k.a. remoteServiceName. (default: \"default\")"
|
|
|
|
|
},
|
|
|
|
|
"target": {
|
|
|
|
|
"alias": "t",
|
|
|
|
|
"description": "Angular project to generate code in",
|
|
|
|
|
"source": {
|
|
|
|
|
"description": "Source Angular project for API definition URL & root namespace resolution",
|
|
|
|
|
"type": "string",
|
|
|
|
|
"$default": {
|
|
|
|
|
"$source": "argv",
|
|
|
|
|
"index": 2
|
|
|
|
|
},
|
|
|
|
|
"x-prompt": "Plese enter Angular project name to place generated code in. (default: workspace \"defaultProject\")"
|
|
|
|
|
"x-prompt": "Plese enter source Angular project for API definition URL & root namespace resolution. (default: workspace \"defaultProject\")"
|
|
|
|
|
},
|
|
|
|
|
"target": {
|
|
|
|
|
"description": "Target Angular project to place the generated code",
|
|
|
|
|
"type": "string",
|
|
|
|
|
"$default": {
|
|
|
|
|
"$source": "argv",
|
|
|
|
|
"index": 3
|
|
|
|
|
},
|
|
|
|
|
"x-prompt": "Plese enter target Angular project to place the generated code. (default: workspace \"defaultProject\")"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"required": []
|
|
|
|
|