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
#!/bin/bash | |
#!!!This is for Internal use only use at your own risk | |
#optional change working_dir | |
# working_dir=${1-$(pwd)} | |
# cd $working_dir | |
GHUSER="<USERNAME>" | |
GITHUB_API_PASSWORD="<Password>" | |
repo_list=$(curl -S --user ${GHUSER}:${GITHUB_API_PASSWORD} \ | |
https://api.github.com/user/repos?visibility=private | |