For this migrate command, I don't want it to be discoverable via the entire help…
- User
For this migrate command, I don't want it to be discoverable via the
entire helpcommand. Is that as simple as removing it fromcmd/entire/cli/root.go? Assistant· claude-opus-4-6
Not quite — removing it from
AddCommandwould make it completely unavailable. To keep it functional but hidden fromentire help, setHidden: trueon the cobra command.Assistant· claude-opus-4-6
Just add
Hidden: trueto the command definition:Assistant· claude-opus-4-6
Done.
Hidden: truekeeps the command fully functional (entire migrate --checkpoints v2still works) but removes it fromentire helpoutput and tab completion.