Files
RemSox/UI/CLI/Commands/HaltCommand.cs
T

16 lines
338 B
C#

using System;
namespace RemSox.UI.GUI.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);
}
}