Files
RemSox/UI/CLI/Commands/HaltCommand.cs
T
2026-06-08 21:30:40 +02:00

16 lines
341 B
C#

using RemSox.UI.CLI;
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);
}
}