feat: Introduce ITranscriptionOrchestrator and related interfaces, refactoring DaemonService and other components to use dependency injection.
This commit is contained in:
@@ -15,14 +15,16 @@ public static class HistoryCommand
|
||||
{
|
||||
Logger.Verbose = verbose;
|
||||
|
||||
var historyManager = new HistoryManager();
|
||||
|
||||
if (shred)
|
||||
{
|
||||
HistoryManager.Shred();
|
||||
historyManager.ClearHistory();
|
||||
AnsiConsole.MarkupLine("[green]History successfully shredded.[/]");
|
||||
return;
|
||||
}
|
||||
|
||||
var entries = HistoryManager.LoadEntries();
|
||||
var entries = historyManager.LoadHistory();
|
||||
if (entries.Count == 0)
|
||||
{
|
||||
AnsiConsole.MarkupLine("[yellow]No history found.[/]");
|
||||
|
||||
Reference in New Issue
Block a user