1
0

refactor: modernize code, improve performance, and clean up various components.

This commit is contained in:
2026-03-01 21:05:35 +01:00
parent 15f9647f8a
commit a6c7df0a71
37 changed files with 240 additions and 627 deletions

View File

@@ -1,7 +1,4 @@
using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Spectre.Console;
using Toak.Configuration;
using Toak.Core.Skills;
@@ -12,7 +9,7 @@ public static class OnboardCommand
{
public static async Task ExecuteAsync(bool verbose)
{
Toak.Core.Logger.Verbose = verbose;
Core.Logger.Verbose = verbose;
var configManager = new ConfigManager();
var config = configManager.LoadConfig();
@@ -121,7 +118,7 @@ public static class OnboardCommand
}
catch (Exception ex)
{
Toak.Core.Logger.LogDebug($"Failed to restart toak service: {ex.Message}");
Core.Logger.LogDebug($"Failed to restart toak service: {ex.Message}");
}
}
}