From 93ac20d4f7ddd219b64cb294eb8aff41f95d2a74 Mon Sep 17 00:00:00 2001 From: Arkat Erol Date: Wed, 18 Mar 2020 12:27:10 +0300 Subject: [PATCH] Generate proxy command cli descriptions updated --- .../Volo/Abp/Cli/Commands/GenerateProxyCommand.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GenerateProxyCommand.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GenerateProxyCommand.cs index b5c6ab1bf2..efde5b1074 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GenerateProxyCommand.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GenerateProxyCommand.cs @@ -614,16 +614,17 @@ namespace Volo.Abp.Cli.Commands sb.AppendLine(""); sb.AppendLine("Usage:"); sb.AppendLine(""); - sb.AppendLine(" abp generate-proxy --apiUrl [options]"); + sb.AppendLine(" abp generate-proxy [options]"); sb.AppendLine(""); sb.AppendLine("Options:"); sb.AppendLine(""); + sb.AppendLine("-a|--apiUrl (default: environment.ts>apis>default>url)"); sb.AppendLine("-u|--ui (default: angular)"); sb.AppendLine("-m|--module (default: app)"); sb.AppendLine(""); sb.AppendLine("Examples:"); sb.AppendLine(""); - sb.AppendLine(" abp new --apiUrl https://www.abp.io"); + sb.AppendLine(" abp generate-proxy --apiUrl https://www.volosoft.com"); sb.AppendLine(""); sb.AppendLine("See the documentation for more info: https://docs.abp.io/en/abp/latest/CLI"); @@ -632,7 +633,7 @@ namespace Volo.Abp.Cli.Commands public string GetShortDescription() { - return "Generates a ..."; + return "Generates typescript service proxies and DTOs"; } private UiFramework GetUiFramework(CommandLineArgs commandLineArgs) @@ -647,7 +648,7 @@ namespace Volo.Abp.Cli.Commands case "angular": return UiFramework.Angular; default: - return UiFramework.NotSpecified; + return UiFramework.Angular; } } @@ -661,7 +662,7 @@ namespace Volo.Abp.Cli.Commands public static class ApiUrl { - public const string Short = "au"; + public const string Short = "a"; public const string Long = "apiUrl"; }