|
|
@ -5,7 +5,6 @@ |
|
|
"type": "object", |
|
|
"type": "object", |
|
|
"properties": { |
|
|
"properties": { |
|
|
"module": { |
|
|
"module": { |
|
|
"alias": "m", |
|
|
|
|
|
"description": "Backend module name", |
|
|
"description": "Backend module name", |
|
|
"type": "string", |
|
|
"type": "string", |
|
|
"$default": { |
|
|
"$default": { |
|
|
@ -14,23 +13,30 @@ |
|
|
}, |
|
|
}, |
|
|
"x-prompt": "Please enter backend module name. (default: \"app\")" |
|
|
"x-prompt": "Please enter backend module name. (default: \"app\")" |
|
|
}, |
|
|
}, |
|
|
|
|
|
"api-name": { |
|
|
|
|
|
"description": "Backend api name, a.k.a. remoteServiceName", |
|
|
|
|
|
"type": "string", |
|
|
|
|
|
"$default": { |
|
|
|
|
|
"$source": "argv", |
|
|
|
|
|
"index": 1 |
|
|
|
|
|
}, |
|
|
|
|
|
"x-prompt": "Please enter backend api name, a.k.a. remoteServiceName. (default: \"default\")" |
|
|
|
|
|
}, |
|
|
"source": { |
|
|
"source": { |
|
|
"alias": "s", |
|
|
|
|
|
"description": "Source Angular project for API definition URL & root namespace resolution", |
|
|
"description": "Source Angular project for API definition URL & root namespace resolution", |
|
|
"type": "string", |
|
|
"type": "string", |
|
|
"$default": { |
|
|
"$default": { |
|
|
"$source": "argv", |
|
|
"$source": "argv", |
|
|
"index": 1 |
|
|
"index": 2 |
|
|
}, |
|
|
}, |
|
|
"x-prompt": "Plese enter source Angular project for API definition URL & root namespace resolution. (default: workspace \"defaultProject\")" |
|
|
"x-prompt": "Plese enter source Angular project for API definition URL & root namespace resolution. (default: workspace \"defaultProject\")" |
|
|
}, |
|
|
}, |
|
|
"target": { |
|
|
"target": { |
|
|
"alias": "t", |
|
|
|
|
|
"description": "Target Angular project to place the generated code", |
|
|
"description": "Target Angular project to place the generated code", |
|
|
"type": "string", |
|
|
"type": "string", |
|
|
"$default": { |
|
|
"$default": { |
|
|
"$source": "argv", |
|
|
"$source": "argv", |
|
|
"index": 2 |
|
|
"index": 3 |
|
|
}, |
|
|
}, |
|
|
"x-prompt": "Plese enter target Angular project to place the generated code. (default: workspace \"defaultProject\")" |
|
|
"x-prompt": "Plese enter target Angular project to place the generated code. (default: workspace \"defaultProject\")" |
|
|
} |
|
|
} |
|
|
|