CLI: add explicit interactive command entrypoint

This commit is contained in:
Benjamin Jesuiter
2026-02-16 20:55:05 +01:00
parent a25156769d
commit eb87af9ea5
4 changed files with 159 additions and 19 deletions

View File

@@ -48,6 +48,9 @@ function collectCandidatesRecursive(params: {
if (isHiddenCommand(child) || child.name() === "help") {
continue;
}
if (params.parentPath.length === 0 && child.name() === "interactive") {
continue;
}
const path = [...params.parentPath, child.name()];
const label = path.join(" ");
if (!params.seen.has(label)) {