Skip to content

Add gh search subcommand support #446

@mkbctrl

Description

@mkbctrl

Problem

gh search subcommands (gh search repos, gh search issues, gh search prs) are not covered by RTK's compression patterns. We observed 35 passthrough invocations in a single audit window.

Affected Commands

Command Use Case Frequency
gh search repos Find repositories by topic/language ~12
gh search issues Search issues across repos ~15
gh search prs Search pull requests ~8

Context

gh commands like gh pr view, gh issue view, and gh api may already have patterns, but the search subcommand family produces verbose tabular output that is highly compressible (repeated column headers, long URLs, timestamps).

Expected Behavior

Compress search result tables to essential columns (title, number, state, URL) and truncate long result sets.

Environment

  • RTK v0.27.2
  • gh CLI 2.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions