Generated documentation includes hidden flags for commands #1663
Labels
area/docs-generation
Generation of docs via Cobra
kind/bug
A bug in cobra; unintended behavior
lifecycle/frozen
Prevents GitHub actions from labeling issues / PRs with stale and rotten
I am trying to generate documentation for a CLI tool that has deprecated (and hidden) command flags, and I believe the generated documentation should not contain these flags unless they are specifically set to not be hidden after being deprecated. This is the behaviour that the generation follows for hidden commands, but not hidden flags on a non-hidden command.
The text was updated successfully, but these errors were encountered: