Skip to content

Commit 834b913

Browse files
authored
Merge pull request #1 from ruangdeveloper/fix/command-not-found
fix: command not found message
2 parents cdf7f3b + 05eef90 commit 834b913

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CommandRunner.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ public static void RunWithCommands(this IHost host, string[] args)
6868
command.ExecuteAsync([.. arguments]).Wait();
6969
return;
7070
}
71+
else
72+
{
73+
Console.WriteLine($"Command '{options.Command}' not found.");
74+
return;
75+
}
7176
}
7277
catch (Exception ex)
7378
{

0 commit comments

Comments
 (0)