New Commands & piped interpreter!

This commit is contained in:
2025-07-09 00:22:59 +03:00
parent e3dc8d9d42
commit 8927637048
19 changed files with 239 additions and 76 deletions

View File

@@ -0,0 +1,29 @@
using System;
using TermApp.Core;
namespace TermApp.Commands
{
public class GreetCommand : ICommand
{
public string Name => "greet";
public string Description => "greets someone.. args [name]";
public void Execute(string[] args, string input = null)
{
if (args.Length == 0)
{
Console.WriteLine(Description);
return;
}
Console.WriteLine("Greetings , " + args[0]);
}
}
}