refactor: move memory tooling into memory-core extension

This commit is contained in:
Peter Steinberger
2026-03-26 21:58:21 +00:00
parent e0dfc776bb
commit e955d574b2
35 changed files with 136 additions and 2137 deletions

View File

@@ -13,11 +13,17 @@ function buildRootHelpProgram(): Command {
agentChannelOptions: "",
});
const existingCommands = new Set<string>();
for (const command of getCoreCliCommandDescriptors()) {
program.command(command.name).description(command.description);
existingCommands.add(command.name);
}
for (const command of getSubCliEntries()) {
if (existingCommands.has(command.name)) {
continue;
}
program.command(command.name).description(command.description);
existingCommands.add(command.name);
}
return program;