2019-01-13 20:22:53 +00:00
|
|
|
|
namespace RecrownedAthenaeum.Tools.CommandProcessor.Commands
|
2018-12-09 06:51:33 +00:00
|
|
|
|
{
|
|
|
|
|
internal class StopCommand : EngineCommand
|
|
|
|
|
{
|
|
|
|
|
CommandEngine commandEngine;
|
|
|
|
|
|
|
|
|
|
public StopCommand(CommandEngine commandEngine) : base("quit", "stop", "q", "exit")
|
|
|
|
|
{
|
|
|
|
|
this.commandEngine = commandEngine;
|
2018-12-29 00:52:52 +00:00
|
|
|
|
help = "Exits the tool.";
|
2018-12-09 06:51:33 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override void Run(string[] arguments = null)
|
|
|
|
|
{
|
|
|
|
|
commandEngine.running = false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|