recrownedgtk/RecrownedGTK.Tools/CommandProcessor/Commands/ClearConsoleCommand.cs
Harrison fa74bc9ae5 Switched to dependency injection for console use.
Created interfaces for input and output for better structure and easier testing.
2020-02-23 20:51:39 -05:00

18 lines
422 B
C#

using System;
namespace RecrownedGTK.Tools.CommandProcessor.Commands
{
public class ClearConsoleCommand : EngineCommand
{
public ClearConsoleCommand() : base("clear")
{
help = "Clears the console.";
}
public override void Run(IUserInput userInput, IUserOutput userOutput, string[] arguments = null)
{
userOutput.ClearOutput();
}
}
}