maliming
3 years ago
No known key found for this signature in database
GPG Key ID: 96224957E51C89E
1 changed files with
2 additions and
1 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/ProxyCommandBase.cs
|
|
|
@ -68,7 +68,8 @@ public abstract class ProxyCommandBase<T> : IConsoleCommand, ITransientDependenc |
|
|
|
var source = commandLineArgs.Options.GetOrNull(Options.Source.Short, Options.Source.Long); |
|
|
|
var workDirectory = commandLineArgs.Options.GetOrNull(Options.WorkDirectory.Short, Options.WorkDirectory.Long) ?? Directory.GetCurrentDirectory(); |
|
|
|
var folder = commandLineArgs.Options.GetOrNull(Options.Folder.Long); |
|
|
|
var withoutContracts = commandLineArgs.Options.ContainsKey(Options.WithoutContracts.Short, Options.WithoutContracts.Long); |
|
|
|
var withoutContracts = commandLineArgs.Options.ContainsKey(Options.WithoutContracts.Short) || |
|
|
|
commandLineArgs.Options.ContainsKey(Options.WithoutContracts.Long); |
|
|
|
|
|
|
|
return new GenerateProxyArgs(CommandName, workDirectory, module, url, output, target, apiName, source, folder, withoutContracts, commandLineArgs.Options); |
|
|
|
} |
|
|
|
|