feat(porttracker): add module commands (list, show, update, map, set-na)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user