search github repositories interactively
Installation • Usage • Feedback
Search GitHub repositories interactively from the command line. Start the prompt, browse the results and open in the browser! The name of that repository
...well say no more:
gh s -l rust -d awesome
Installation
gh extension install gennaro-tedesco/gh-s
Usage
Get started!
gh s
Without any argument (or with flags only) gh s
starts a prompt to insert the search query; after the search a list of results is shown. Navigate the list to show details, stars counts, URL and more. If instead you want to do all in one line
gh s [search] [flag]
takes one of the following arguments or flags
flags | description |
---|---|
-l, --lang | narrow down the search to a specific language |
-d, --desc | search for keyword in the repository description |
-u, --user | restrict the search to a specific user |
-c, --colour | change colour of the prompt |
-h, --help | show the help page |
-V, --version | print the current version |
The prompt accepts the following navigation commands:
key | description |
---|---|
arrow keys | browse results list |
/ |
toggle search in results list |
enter (<CR>) |
open selected repository in web browser |
Feedback
If you find this application useful consider awarding it a
See also a companion extension to snap around your git workflow: gh-f.