feat: wip on remove config command

This commit is contained in:
Stevan Freeborn
2025-03-08 19:31:56 -06:00
parent 22eb9a7c87
commit 5647070fd3
9 changed files with 102 additions and 55 deletions
@@ -7,7 +7,16 @@ static class HostBuilderExtensions
var registrar = new TypeRegistrar(builder);
var app = new CommandApp<GenerateCommand>(registrar);
app.Configure(static c => c.AddCommand<ConfigCommand>("config"));
app.Configure(static c =>
{
c.PropagateExceptions();
c.AddBranch("config", static c =>
{
c.AddCommand<AddConfigCommand>("add");
c.AddCommand<RemoveConfigCommand>("remove");
});
});
return app;
}