feat(porttracker): add module commands (list, show, update, map, set-na)

This commit is contained in:
Joseph Doherty
2026-02-26 06:12:40 -05:00
parent 864749f681
commit 6f5a063307
2 changed files with 155 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
using System.CommandLine;
using NatsNet.PortTracker.Commands;
using NatsNet.PortTracker.Data;
var dbOption = new Option<string>("--db")
@@ -31,6 +32,7 @@ initCommand.SetAction(parseResult =>
});
rootCommand.Add(initCommand);
rootCommand.Add(ModuleCommands.Create(dbOption, schemaOption));
var parseResult = rootCommand.Parse(args);
return await parseResult.InvokeAsync();