diff --git a/github_repo_teams.sh b/github_repo_teams.sh index eb88603c..164eb2e5 100755 --- a/github_repo_teams.sh +++ b/github_repo_teams.sh @@ -25,7 +25,7 @@ srcdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # shellcheck disable=SC2034,SC2154 usage_description=" -Lists a GitHub repo's teams and their permissions using the GitHub API +Lists a GitHub repo's teams and their role name permissions using the GitHub API If no repo is given, infers from local repo's git remotes @@ -53,5 +53,6 @@ if [ -z "$repo" ]; then fi "$srcdir/github_api.sh" "/repos/$repo/teams" | +jq_debug_pipe_dump | jq -r ".[] | [\"$repo\", .slug, .permission] | @tsv" | column -t