Simple Git & GitHub CLI Shell Scripts

refactor: ghv

-10
-10
gh_scripts/ghv.sh
··· 28 28 fi 29 29 else 30 30 if has_remote; then 31 - # prompt for sudo 32 - # password if required 33 - allow_sudo 34 - 35 - # Check for internet connectivity to GitHub 36 - if ! connected; then 37 - echo "${BOLD} This won't work, you are offline !${RESET}" 38 - return 0 39 - fi 40 - 41 31 isPrivate=$(gh repo view "$repo_owner/$repo_name" --json isPrivate --jq '.isPrivate') 42 32 43 33 if [ "$1" = "show" ]; then