Files
Random-Project/TermEngine/Program.cs
2025-07-08 04:29:21 +03:00

36 lines
745 B
C#

using System;
using System.Collections.Generic;
namespace TermApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, Works!");
CommandInterpreter interpreter = new CommandInterpreter();
Console.WriteLine("Type help to see avaliable Commands :.) or type exit to quit");
while (true)
{
Console.Write("Input >");
string input = Console.ReadLine();
if (string.IsNullOrWhiteSpace(input)) continue;
if (input.ToLower() == "exit") break;
interpreter.Execute(input);
}
}
}
}