mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-04 09:06:23 +02:00
15 lines
320 B
C#
15 lines
320 B
C#
namespace RemSox.UI.CLI.Commands;
|
|
|
|
public class RebootCommand : ICommand
|
|
{
|
|
public string Name => "reboot";
|
|
|
|
public string Description => "Reboot the system";
|
|
|
|
public void Execute(string? arguments, Action<string> printLine)
|
|
{
|
|
printLine("Rebooting system...");
|
|
Sys.Power.Reboot();
|
|
}
|
|
}
|