This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"schemaVersion": 1, "label": "coverage", "message": "99.5%", "color": "brightgreen"} |
GitHub CLI command to get all user's repos in human readable format including (name, description, url and primary language)
gh repo list <USERNAME> --limit 100 --json name,description,url,primaryLanguage --template '{{range .}}{{printf "Name:\t%s\n" .name}}{{printf "Description:\t%s\n" .description}}{{printf "URL:\t%s\n" .url}}{{if .primaryLanguage}}{{printf "Language:\t%s\n\n" .primaryLanguage.name}}{{else}}{{printf "Language:\tN/A\n\n"}}{{end}}{{end}}'Replace <USERNAME> with an actual GitHub username.
Output should look something like this: