Thanks to visit codestin.com
Credit goes to github.com

Skip to content

List my gists so that I can search and index them #1281

@alexellis

Description

@alexellis

Describe the feature or problem you’d like to solve

List my gists so that I can search and index them

gh gists
# or

gh gist list

Proposed solution

Iterate the gists and return in a table format so that tools like grep/awk can be used to filter

Additional context

Navigating, filtering, and searching gists can be difficult and tricky with the UI.

For instance - filtering on title, I have a backup gist of my weekly subscription emails:

gh gists | grep "Insiders Update" 

Sometimes I can't find a gist I created in the past with the UI or search, but I have some hints and could narrow things down by looking into the content or filetype. List could also filter on this.

Find the Go code that I wrote that filters Kubernetes Pod logs:

gh gists --verbose | grep "go" | grep "logs" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions