Skip to content

Commit 5b9dd0f

Browse files
committed
docs: update inline comments on output formats
1 parent 453cbe8 commit 5b9dd0f

7 files changed

+15
-2
lines changed

gh-cli/get-organization-webhooks.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# need: `gh auth login -h github.com` and auth with a PAT!
66
# since the Oauth token can only receive results for hooks it created for this API call
77

8+
# note: tsv is the default format
9+
# tsv is a subset of fields, json is all fields
10+
811
if [ $# -lt 1 ]
912
then
1013
echo "usage: $0 <org> <hostname> <format: tsv|json> > output.tsv/json"

gh-cli/get-organizations-apps-count.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
# need: `gh auth refresh -h github.com -s read:org -s read:enterprise`
66

7-
# note: tsv is the default format
8-
# tsv is a subset of fields, json is all fields
7+
# note: format is tsv
98

109
if [ $# -lt 1 ]
1110
then

gh-cli/get-organizations-codeowner-usage.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# need: `gh auth refresh -h github.com -s read:org -s read:enterprise`
66

7+
# note: format is tsv
8+
79
if [ $# -lt 1 ]; then
810
echo "usage: $0 <enterprise slug> <hostname> > output.tsv"
911
exit 1

gh-cli/get-organizations-discussions-count.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# need: `gh auth refresh -h github.com -s read:org -s read:enterprise`
66

7+
# note: format is tsv
8+
79
if [ $# -lt 1 ]; then
810
echo "usage: $0 <enterprise slug> <hostname> > output.tsv"
911
exit 1

gh-cli/get-organizations-projects-count-classic.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# need: `gh auth refresh -h github.com -s read:org -s read:enterprise`
66

7+
# note: format is tsv
8+
79
if [ $# -lt 1 ]; then
810
echo "usage: $0 <enterprise slug> <hostname> > output.tsv"
911
exit 1

gh-cli/get-organizations-projects-count.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
# need: `gh auth refresh -h github.com -s read:org -s read:enterprise`
66

7+
# note: format is tsv
8+
79
if [ $# -lt 1 ]; then
810
echo "usage: $0 <enterprise slug> <hostname> > output.tsv"
911
exit 1

gh-cli/get-organizations-webhooks.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# need: `gh auth login -h github.com` and auth with a PAT!
66
# since the Oauth token can only receive results for hooks it created for this API call
77

8+
# note: tsv is the default format
9+
# tsv is a subset of fields, json is all fields
10+
811
if [ $# -lt 1 ]
912
then
1013
echo "usage: $0 <enterprise slug> <hostname> <format: tsv|json> > output.tsv/json"

0 commit comments

Comments
 (0)