mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-23 19:28:11 +00:00
CLI: add explicit interactive command entrypoint
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user