mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
30 lines
639 B
C#
30 lines
639 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Shell.Console.Commands
|
|
{
|
|
public class ClsCommand : CommandBase
|
|
{
|
|
public override string Name
|
|
{
|
|
get { return "cls"; }
|
|
}
|
|
|
|
public override string Summary
|
|
{
|
|
get { return "Clears the screen."; }
|
|
}
|
|
|
|
public override void Execute(string param)
|
|
{
|
|
System.Console.Clear();
|
|
}
|
|
|
|
public override void Help()
|
|
{
|
|
System.Console.WriteLine("cls");
|
|
System.Console.WriteLine(" Clears the screen.");
|
|
}
|
|
}
|
|
}
|