Browse Source
Merge pull request #10649 from abpframework/liangshiwei/cli
Support prompt parameter
pull/10650/head
liangshiwei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ServiceProxying/Angular/AngularServiceProxyGenerator.cs
|
|
|
@ -39,7 +39,12 @@ namespace Volo.Abp.Cli.ServiceProxying.Angular |
|
|
|
var prompt = args.ExtraProperties.ContainsKey("p") || args.ExtraProperties.ContainsKey("prompt"); |
|
|
|
var defaultValue = prompt ? null : "__default"; |
|
|
|
|
|
|
|
var module = args.Module ?? defaultValue; |
|
|
|
var module = defaultValue; |
|
|
|
if (args.ExtraProperties.ContainsKey("t") || args.ExtraProperties.ContainsKey("module")) |
|
|
|
{ |
|
|
|
module = args.Module; |
|
|
|
} |
|
|
|
|
|
|
|
var apiName = args.ApiName ?? defaultValue; |
|
|
|
var source = args.Source ?? defaultValue; |
|
|
|
var target = args.Target ?? defaultValue; |
|
|
|
|