This commit is contained in:
Artemy
2025-07-19 23:18:08 +07:00
parent f524a9f0b7
commit 272809d1d8
19 changed files with 340 additions and 34 deletions
@@ -0,0 +1,9 @@
using Govor.ConsoleClient.Commands;
namespace Govor.ConsoleClient.Services.Interfaces;
public interface ICommandDispatcher
{
Task<ICommand?> DispatchAsync(string input);
IEnumerable<ICommand> GetAllCommands();
}
@@ -0,0 +1,6 @@
namespace Govor.ConsoleClient.Services.Interfaces;
public interface IInputPipeline
{
Task ProcessInputAsync(string input);
}
@@ -0,0 +1,10 @@
namespace Govor.ConsoleClient.Services.Interfaces;
public interface ILogger
{
void Log(string message);
void Info(string message);
void Warn(string message);
void Error(string message);
void Title(string title);
}
@@ -0,0 +1,6 @@
namespace Govor.ConsoleClient.Services.Interfaces;
public interface IMiddlewarePipeline
{
Task ExecuteAsync(CommandContext context);
}