gh edu install crguezl/gh-edu-browse
Installing crguezl/gh-edu-browse ...
Plugin installed in system
Setting up configuration...
crguezl/gh-edu-browse installed as browse
gh edu browse -h
Usage: gh org-browse-repo [options]
Open tabs in your browser for all the matching repos inside the org
Options:
-V, --version output the version number
-C, --commit open the commit activity pages
-S, --search <query> search <query> using GitHub Search API. A dot '.'
refers to all the repos
-d, --dryrun shows the repos that will be open
-P, --pause <number> pause <number> of open tabs (default: 20)
-r, --regexp <regexp> filter <query> results using <regexp>
-v, --dontmatch <regexp> filter <query> results not matching <regexp>
-o --org <org> set default organization or user
-h, --help display help for command
- You can set the default organization through the GITHUB_ORG environment variable
- If the org is not specified and you issue the command inside a repo the org of that repo will be used
- Additional options will be passed to "gh browse":
-b, --branch string Select another branch by passing in the branch name
-c, --commit Open the last commit
-n, --no-browser Print destination URL instead of opening the browser
-p, --projects Open repository projects
-s, --settings Open repository settings
-w, --wiki Open repository wiki
Search for repos with name that matches github-readme
and filter those that match gonzalez
inside the organization
ULL-MFP-AET-2122
. Show how gh
cli will be called:
✗ gh edu browse -o ULL-MFP-AET-2122 -S github-readme -r gonzalez -d -s
gh browse -R ULL-MFP-AET-2122/github-profile-readme-adela-gonzalez-maury-alu0101116204 -s
gh browse -R ULL-MFP-AET-2122/github-profile-readme-ivan-gonzalez-aguiar-alu0100551266 -s
gh browse -R ULL-MFP-AET-2122/github-profile-readme-nestor-gonzalez-lopez-alu0100108859 -s
If the default organization is set with gh edu set ...
there is no need to specify the organization:
➜ gh-edu-browse git:(main) ✗ gh edu set -o 'ULL-MFP-AET-2122'
Not in cache. Fetching... (Cache will be updated)
➜ gh-edu-browse git:(main) ✗ gh edu get -o
ULL-MFP-AET-2122
Now you can omit the org argument:
➜ gh-edu-browse git:(main) ✗ gh edu browse -S github-readme -r gonzalez -s
3 repos match the query
Tabs in your browser will be open in chunks of 20.
After you review each chunk go back to the terminal and press 'Q' to quit or any other key to continue