mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-22 20:24:55 +00:00
Refactor console client to new Govor.ConsoleClient project
Removed Govor.Console implementation and introduced a new Govor.ConsoleClient project with a modular command-based architecture. Added dependency injection, command dispatcher, middleware pipeline, logging, and interactive command support. Updated solution and project files to reflect the new structure.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Govor.ConsoleClient;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
//private const string HubBaseUrl = "https://govor-team-govor-88b3.twc1.net/hubs";
|
||||
|
||||
static async Task Main()
|
||||
{
|
||||
Console.Title = "Govor Console Client";
|
||||
|
||||
var serviceProvider = DependencyInjection.Configure();
|
||||
|
||||
var app = ActivatorUtilities.CreateInstance<App>(serviceProvider);
|
||||
await app.RunAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user