refactor: modernize code, improve performance, and clean up various components.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.CommandLine;
|
||||
using System.Threading.Tasks;
|
||||
using Toak.Commands;
|
||||
|
||||
namespace Toak;
|
||||
@@ -44,7 +43,7 @@ public class Program
|
||||
|
||||
// Daemon Command
|
||||
var daemonCmd = new Command("daemon", "Starts the background service");
|
||||
daemonCmd.SetHandler(Toak.Core.DaemonService.StartAsync, verboseOption);
|
||||
daemonCmd.SetHandler(Core.DaemonService.StartAsync, verboseOption);
|
||||
rootCommand.AddCommand(daemonCmd);
|
||||
|
||||
// Discard Command
|
||||
|
||||
Reference in New Issue
Block a user