mirror of
https://github.com/Stone-Red-Code/RemSox.git
synced 2026-09-07 23:41:47 +02:00
Reorganize project structure
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
namespace RemSox.Kernel.UI.CLI.Commands;
|
||||
|
||||
public sealed class ShutdownCommand : ICommand
|
||||
{
|
||||
public string Name => "shutdown";
|
||||
|
||||
public string Description => "Shutdown the system";
|
||||
|
||||
public Task ExecuteAsync(string? arguments, Action<string> printLine)
|
||||
{
|
||||
printLine("Shutting down system...");
|
||||
Sys.Power.Shutdown();
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user