Process command aliases

This commit is contained in:
2024-03-01 23:43:13 +01:00
parent 7351bf4fd1
commit 20a49c4f94

View File

@@ -24,7 +24,7 @@ public class Application
var commandString = args[0]; 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) if (command is null)
{ {