Skip to content

Commit

Permalink
feat: add topic filter in github command in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Jun 8, 2024
1 parent ccc8851 commit 13affb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ backup: ## Back up your applications list.
github: ## Clone all projects of a username at once in Github.
@echo "Please enter some information"
@read -r -p "What is the organization or user name? " owner; \
cd ~/Projects && gh repo list $$owner --limit 4000 --no-archived | while read -r repository _; do gh repo clone $$repository ; done
read -r -p "What is the topic? " topic; \
cd ~/Projects && gh repo list $$owner --limit 4000 --no-archived --topic $$topic | while read -r repository _; do gh repo clone $$repository ; done
@echo "Check the Projects folder to view all cloned projects."

check-scripts: ## Check the shell script.
Expand Down

0 comments on commit 13affb1

Please sign in to comment.