Created
May 5, 2020 11:25
-
-
Save felipeplets/eaf0a58b38bdf0c8baf2039d31adb2db to your computer and use it in GitHub Desktop.
Shell script using GitHub CLI (gh) to download multiple repositories and run npm ci
This file contains 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
USER=githubuser; PREFIX=secret-; REPOS=('proj1' 'proj2' 'proj3') && for REPO in ${REPOS}; do gh repo clone ${USER}/${PREFIX}${REPO} && cd ${PREFIX}${REPO} && npm ci && cd ..; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment