diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/RemoveProxyCommand.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/RemoveProxyCommand.cs index 9faaff3ea0..bfd70902ed 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/RemoveProxyCommand.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/RemoveProxyCommand.cs @@ -1,4 +1,5 @@ -using Microsoft.Extensions.Options; +using System.Text; +using Microsoft.Extensions.Options; using Volo.Abp.Cli.ServiceProxy; using Volo.Abp.DependencyInjection; @@ -17,6 +18,20 @@ namespace Volo.Abp.Cli.Commands { } + public override string GetUsageInfo() + { + var sb = new StringBuilder(base.GetUsageInfo()); + + sb.AppendLine(""); + sb.AppendLine("Examples:"); + sb.AppendLine(""); + sb.AppendLine(" abp remove-proxy -t ng"); + sb.AppendLine(" abp remove-proxy -t js -m identity -o Pages/Identity/client-proxies.js"); + sb.AppendLine(" abp remove-proxy -t csharp --folder MyProxies/InnerFolder"); + + return sb.ToString(); + } + public override string GetShortDescription() { return "Remove client service proxies and DTOs to consume HTTP APIs.";