From ece17c4ce27bdcd74d487fb4e93347330c788200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 7 Sep 2020 21:37:55 +0200 Subject: [PATCH] Add GITHUB_ENTERPRISE_TOKEN mention to `api` help --- pkg/cmd/api/api.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/cmd/api/api.go b/pkg/cmd/api/api.go index 74fc44ea8..f051883a8 100644 --- a/pkg/cmd/api/api.go +++ b/pkg/cmd/api/api.go @@ -117,7 +117,9 @@ original query accepts an '$endCursor: String' variable and that it fetches the `), Annotations: map[string]string{ "help:environment": heredoc.Doc(` - GITHUB_TOKEN: an authentication token for API requests. + GITHUB_TOKEN: an authentication token for github.com API requests. + + GITHUB_ENTERPRISE_TOKEN: an authentication token for API requests to GitHub Enterprise. `), }, Args: cobra.ExactArgs(1),