Just a small suggestion: you can rewrite this to have the command directly in the loop.
for repo in $(gh repo list $(whoami); do # Loop code here done
Also using whoami in the assumption that your linux username is the same as your github username :D
whoami
I like the one-line improvement but the username is definitely not a given for a lot of people :D
Yep, that's just a suggestion for cases where it's the same; my username is the same everywhere so for me this would work :D
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Just a small suggestion: you can rewrite this to have the command directly in the loop.
Also using
whoamiin the assumption that your linux username is the same as your github username :DI like the one-line improvement but the username is definitely not a given for a lot of people :D
Yep, that's just a suggestion for cases where it's the same; my username is the same everywhere so for me this would work :D