Files
RemSox/UI/CLI/Commands/HaltCommand.cs
T
2026-06-08 22:05:11 +02:00

14 lines
319 B
C#

namespace RemSox.UI.CLI.Commands;
public sealed class HaltCommand : ICommand
{
public string Name => "halt";
public string Description => "Halt the system";
public void Execute(string? arguments, Action<string> printLine)
{
printLine("Halting system...");
Environment.Exit(0);
}
}