Simple Git & GitHub CLI Shell Scripts

feat[check_repo]: is_my_github_repo function

+5 -1
+5 -1
utils/check_repo.sh
··· 14 14 15 15 # If we receive a response then the user exists 16 16 [ -n "$response" ] && return 0 || return 1 17 - } 17 + } 18 + 19 + function is_my_github_repo { 20 + gh repo view "$1" &> /dev/null 21 + }