Diag command help

This commit is contained in:
2024-03-01 22:44:30 +01:00
parent 9027f28065
commit 8b9702b935

View File

@@ -27,6 +27,18 @@ public class DiagCommand : ICommand
var command = parameters[0]; var command = parameters[0];
if(command == "--help")
{
_logger.LogInformation(
"""
Usage:
diag list
diag <diag-helper>
"""
);
return Task.CompletedTask;
}
if (command == "list") if (command == "list")
{ {
ListDiagnosticHelpers(); ListDiagnosticHelpers();