mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Added new console for all examples later on
This commit is contained in:
19
MewTerminal/Commands/ClearCommand.cs
Normal file
19
MewTerminal/Commands/ClearCommand.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CommandLine;
|
||||
using MewtocolNet;
|
||||
using MewtocolNet.ComCassette;
|
||||
using Spectre.Console;
|
||||
|
||||
namespace MewTerminal.Commands;
|
||||
|
||||
[Verb("clear", HelpText = "Clears console", Hidden = true)]
|
||||
internal class ClearCommand : CommandLineExcecuteable {
|
||||
|
||||
public override void Run() {
|
||||
|
||||
Console.Clear();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user