From 2f527aa3f23e7a7e80b081ed46a08901b918f7c4 Mon Sep 17 00:00:00 2001 From: Mansur Besleney Date: Thu, 8 Jan 2026 13:37:35 +0300 Subject: [PATCH] Rename 'getconfig' option to 'get-config' in McpCommand Updated the command option and help text from 'getconfig' to 'get-config' for consistency and improved readability. --- .../Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/McpCommand.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/McpCommand.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/McpCommand.cs index 49ec0b5067..ca448e7da9 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/McpCommand.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/McpCommand.cs @@ -52,7 +52,7 @@ public class McpCommand : IConsoleCommand, ITransientDependency var option = commandLineArgs.Target; - if (!string.IsNullOrEmpty(option) && option.Equals("getconfig", StringComparison.OrdinalIgnoreCase)) + if (!string.IsNullOrEmpty(option) && option.Equals("get-config", StringComparison.OrdinalIgnoreCase)) { await PrintConfigurationAsync(); return; @@ -240,12 +240,12 @@ public class McpCommand : IConsoleCommand, ITransientDependency sb.AppendLine("Options:"); sb.AppendLine(""); sb.AppendLine(" (start the local MCP server)"); - sb.AppendLine("getconfig (print MCP client configuration as JSON)"); + sb.AppendLine("get-config (print MCP client configuration as JSON)"); sb.AppendLine(""); sb.AppendLine("Examples:"); sb.AppendLine(""); sb.AppendLine(" abp mcp"); - sb.AppendLine(" abp mcp getconfig"); + sb.AppendLine(" abp mcp get-config"); sb.AppendLine(""); return sb.ToString();