You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cli: share hidden-command list via command.Spec.IsHidden so docs honor it (#213)
cli: move hidden-command list to command package as shared source of truth
The hidden-command decision (pre-launch endpoints omitted from --help) lived in
cmd/heygen (package main), so it was unreachable to anything outside the CLI
binary. The EF docs generator, which imports gen and iterates raw specs, could
not honor it and would publish pre-launch commands (e.g. `asset search`) to the
public docs.
Move the list + predicate to internal/command as Spec.IsHidden() so both the
runtime builder (hides from --help) and the docs generator (omits from public
docs) share one source of truth. Behavior in the CLI is unchanged.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments