mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
AppTests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user