Skip to content

Support all flavors of search via gh search <foo>  #6945

@nr-dbuckwalter

Description

@nr-dbuckwalter

Describe the feature or problem you’d like to solve

Support all flavors of gh search <foo> as listed in the API. For example, gh search code 'somestring' would be useful from the CLI.

Proposed solution

Will provide a more consistent experience for search via CLI.

Additional context

$ gh version
gh version 2.22.1 (2023-01-27)
https://github.com/cli/cli/releases/tag/v2.22.1

gh api -X GET search/code -f q='somestring' is a hacky workaround

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions