tangled
alpha
login
or
join now
hatixntsoa.tngl.sh
/
source.controller
1
fork
atom
Simple Git & GitHub CLI Shell Scripts
1
fork
atom
overview
issues
pulls
pipelines
feat[check_repo]: is_my_github_repo function
Hatix Ntsoa
1 year ago
a2bbff2e
5cdb2865
+5
-1
1 changed file
expand all
collapse all
unified
split
utils
check_repo.sh
+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
-
}
17
17
+
}
18
18
+
19
19
+
function is_my_github_repo {
20
20
+
gh repo view "$1" &> /dev/null
21
21
+
}