Skip to content

hide search command from menu#928

Merged
evisdren merged 1 commit intomainfrom
hide_search
Apr 11, 2026
Merged

hide search command from menu#928
evisdren merged 1 commit intomainfrom
hide_search

Conversation

@evisdren
Copy link
Copy Markdown
Contributor

@evisdren evisdren commented Apr 11, 2026

Note

Low Risk
Low risk: this only marks the entire search Cobra command as hidden, affecting CLI discoverability/help output but not execution logic.

Overview
Hides the entire search command from the CLI help/menu by setting Hidden: true on the Cobra command, while keeping the command and its flags/behavior otherwise unchanged.

Reviewed by Cursor Bugbot for commit 342e051. Configure here.

@evisdren evisdren requested a review from a team as a code owner April 11, 2026 17:05
Copilot AI review requested due to automatic review settings April 11, 2026 17:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR hides the entire search Cobra subcommand from the visible command menu/help output by marking it as hidden.

Changes:

  • Marked the search command as Hidden in its cobra.Command definition.
  • Minor formatting alignment in the command struct literal.

@evisdren evisdren enabled auto-merge April 11, 2026 17:15
@evisdren evisdren merged commit 3c6b56a into main Apr 11, 2026
14 checks passed
@evisdren evisdren deleted the hide_search branch April 11, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants