Skip to content

add gh search code #6931

Description

@xsuchy

Describe the feature or problem you’d like to solve

I would like to be able to search the code. I.e.

gh search code 'filename=.packit.yml'

would be equivalent to

https://github.com/search?q=filename%3A.packit.yml&type=Code

Proposed solution

This is something https://github.com/feinoujc/gh-search-cli already had. And it would make my life more easier :)

Activity

  1. added
    platformProblems with the GitHub platform rather than the CLI client
    and removed on Jan 30, 2023
  2. mislav commented on Jan 30, 2023

    @mislav
    Contributor

    Hi, that's a good idea. Even though a code search API is already available, GitHub (the platform) is currently working on a better code search and its API, and we think it's best to wait for that to become available first. Unfortunately, I do not know when that might be.

  3. samcoe commented on Jan 30, 2023

    @samcoe
    Contributor
  4. mislav commented on Jan 30, 2023

    @mislav
    Contributor

    Good find, @samcoe. Closing as duplicate of #3978 — even though that one is closed, you can follow the thread for updates. We may reopen it or comment there in the future, or someone could advertise their own extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedenhancementa request to improve CLIplatformProblems with the GitHub platform rather than the CLI client

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions