feat: Introduce ITranscriptionOrchestrator and related interfaces, refactoring DaemonService and other components to use dependency injection.
This commit is contained in:
@@ -12,7 +12,8 @@ public static class OnboardCommand
|
||||
public static async Task ExecuteAsync(bool verbose)
|
||||
{
|
||||
Toak.Core.Logger.Verbose = verbose;
|
||||
var config = ConfigManager.LoadConfig();
|
||||
var configManager = new ConfigManager();
|
||||
var config = configManager.LoadConfig();
|
||||
|
||||
AnsiConsole.Write(new FigletText("Toak").Color(Color.Green));
|
||||
AnsiConsole.MarkupLine("[grey]Welcome to the Toak configuration wizard.[/]");
|
||||
@@ -71,7 +72,7 @@ public static class OnboardCommand
|
||||
.AddChoices(availableSkills));
|
||||
}
|
||||
|
||||
ConfigManager.SaveConfig(config);
|
||||
configManager.SaveConfig(config);
|
||||
|
||||
AnsiConsole.MarkupLine("\n[bold green]Configuration saved successfully![/]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user