ShiftOS-Rewind/ShiftOS.Main/Terminal/Commands/clear.cs

23 lines
584 B
C#
Raw Normal View History

2017-11-23 11:20:53 -06:00

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShiftOS.Main.Terminal.Commands
{
2017-11-23 18:25:57 +00:00
public class Clear : TerminalCommand
2017-11-23 11:20:53 -06:00
{
public override string Name { get; } = "clear";
public override string Summary { get; } = "Clears all text from the terminal.";
public override string Usage { get; } = "clear";
public override bool Unlocked { get; set; } = false;
2017-11-23 18:25:57 +00:00
2017-11-23 11:20:53 -06:00
public override void Run(params string[] parameters)
{
2017-11-23 18:25:57 +00:00
Clear();
2017-11-23 11:20:53 -06:00
}
}
}