Summary
runCLI() adds a built-in approvals command group to the root CLI.
For CLIs that do not use human-in-loop approvals, this exposes an irrelevant command in root help:
Commands:
approvals Inspect and execute queued approvals.
Expected
CLI authors should be able to opt out of the built-in approvals group, for example:
runCLI(root, { approvals: false })
or only include it when humanInLoop async/task-list configuration is present.
Why this matters
Small wrapper CLIs can otherwise show an approvals command that users do not need and that the CLI author did not explicitly define.
Workaround
No clean public workaround found. The group is added internally by runCLI() before command rendering.
Summary
runCLI()adds a built-inapprovalscommand group to the root CLI.For CLIs that do not use human-in-loop approvals, this exposes an irrelevant command in root help:
Expected
CLI authors should be able to opt out of the built-in approvals group, for example:
or only include it when
humanInLoopasync/task-list configuration is present.Why this matters
Small wrapper CLIs can otherwise show an
approvalscommand that users do not need and that the CLI author did not explicitly define.Workaround
No clean public workaround found. The group is added internally by
runCLI()before command rendering.