From 20a49c4f940699d71887aca3132bc77a5be5783f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81d=C3=A1m=20Kov=C3=A1cs?= Date: Fri, 1 Mar 2024 23:43:13 +0100 Subject: [PATCH] Process command aliases --- src/Alma.App/Application.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Alma.App/Application.cs b/src/Alma.App/Application.cs index db06e0a..5c5d445 100644 --- a/src/Alma.App/Application.cs +++ b/src/Alma.App/Application.cs @@ -24,7 +24,7 @@ public class Application var commandString = args[0]; - var command = _commands.FirstOrDefault(c => c.CommandString == commandString); + var command = _commands.FirstOrDefault(c => c.CommandString == commandString || c.CommandAliases.Contains(commandString)); if (command is null) {