Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,572 in github.com/cli/cli
⨍
Functions
7,572
◇
Types & classes
1,537
Method
GetWithCommentsCalls
GetWithCommentsCalls gets all the calls that were made to GetWithComments. Check the length with: len(mockedDiscussionClient.GetWithCommentsCalls())
pkg/cmd/discussion/client/client_mock.go:515
Function
GetWorkflow
(client *api.Client, repo ghrepo.Interface, workflowID int64)
pkg/cmd/workflow/shared/shared.go:151
Method
GitProtocol
GitProtocol calls GitProtocolFunc.
internal/gh/mock/config.go:595
Method
GitProtocolCalls
GitProtocolCalls gets all the calls that were made to GitProtocol. Check the length with: len(mockedConfig.GitProtocolCalls())
internal/gh/mock/config.go:614
Method
Grayf
Deprecated: Use Mutedf instead for thematically contrasting color.
pkg/iostreams/color.go:148
Method
HTTPUnixSocket
HTTPUnixSocket calls HTTPUnixSocketFunc.
internal/gh/mock/config.go:627
Method
HTTPUnixSocketCalls
HTTPUnixSocketCalls gets all the calls that were made to HTTPUnixSocket. Check the length with: len(mockedConfig.HTTPUnixSocketCalls())
internal/gh/mock/config.go:646
Method
HasActiveToken
(host string)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:216
Method
HasActiveToken
HasActiveToken returns true when a token for the hostname is present.
internal/config/config.go:392
Method
HasEnvToken
HasEnvToken returns true when a token has been specified in an environment variable, else returns false.
internal/config/config.go:398
Method
HasLocalBranch
(ctx context.Context, branch string)
git/client.go:705
Method
HasLocalBranch
(branch string)
pkg/cmd/repo/sync/git.go:72
Method
HasLocalBranch
(a string)
pkg/cmd/repo/sync/mocks.go:37
Method
HasNextPage
userOwnerWithItemsNoQuery
pkg/cmd/project/shared/queries/queries.go:762
Method
HasNextPage
userOwnerWithItems
pkg/cmd/project/shared/queries/queries.go:779
Method
HasNextPage
orgOwnerWithItems
pkg/cmd/project/shared/queries/queries.go:796
Method
HasNextPage
orgOwnerWithItemsNoQuery
pkg/cmd/project/shared/queries/queries.go:813
Method
HasNextPage
viewerOwnerWithItems
pkg/cmd/project/shared/queries/queries.go:830
Method
HasNextPage
viewerOwnerWithItemsNoQuery
pkg/cmd/project/shared/queries/queries.go:847
Method
HasNextPage
userOwnerWithFields
pkg/cmd/project/shared/queries/queries.go:864
Method
HasNextPage
orgOwnerWithFields
pkg/cmd/project/shared/queries/queries.go:881
Method
HasNextPage
viewerOwnerWithFields
pkg/cmd/project/shared/queries/queries.go:898
Method
Helper
()
test/helpers.go:44
Method
HiddenReason
()
api/queries_pr_review.go:74
Method
HiddenReason
()
api/queries_comments.go:147
Method
Highlight
(t string)
pkg/iostreams/color.go:220
Method
HostForAPIHost
(apiHost string)
internal/attachments/client_test.go:59
Method
HostForAPIHost
HostForAPIHost never resolves, because the token here is supplied directly by the login flow and is used for whatever host the request is aimed at.
internal/authflow/flow.go:158
Method
HostForAPIHost
HostForAPIHost returns the configured host whose api_host points at apiHost, reporting false when no host claims it. go-gh sends API requests for a h
internal/config/config.go:483
Method
HostForAPIHost
(string)
api/http_client.go:34
Method
HostForAPIHost
HostForAPIHost resolves via an "api_host:<apiHost>" key holding the host that configured it, mirroring the reverse lookup the real config performs.
api/http_client_test.go:695
Method
HostForAPIHost
(apiHost string)
api/http_client_test.go:709
Method
ID
()
pkg/cmd/project/shared/queries/queries.go:447
Method
ID
()
api/queries_repo.go:1192
Method
ID
()
api/queries_repo.go:1222
Method
Identifier
()
pkg/cmd/pr/shared/comments.go:16
Method
Identifier
()
api/queries_issue.go:479
Method
Identifier
()
api/queries_pr_review.go:51
Method
Identifier
()
api/queries_pr.go:320
Method
Identifier
()
api/queries_comments.go:127
Method
Init
--- huh.Field interface ---
internal/prompter/multi_select_with_search.go:215
Method
Input
(string, string)
pkg/cmd/release/create/create.go:27
Method
Input
(string, string)
pkg/cmd/auth/shared/prompt.go:8
Method
Input
(string, string)
pkg/cmd/repo/create/create.go:34
Method
Input
(string, string)
pkg/cmd/repo/rename/rename.go:21
Method
Input
(string, string)
pkg/cmd/repo/edit/edit.go:29
Method
Input
(string, string)
pkg/cmd/variable/set/set.go:25
Method
Input
Input calls InputFunc.
internal/prompter/prompter_mock.go:268
Method
Input
(prompt, defaultValue string)
internal/prompter/huh_prompter.go:136
Method
Input
(prompt, defaultValue string)
internal/prompter/prompter.go:186
Method
Input
(prompt, defaultValue string)
internal/prompter/prompter.go:515
Method
InputHostname
InputHostname calls InputHostnameFunc.
internal/prompter/prompter_mock.go:304
Method
InputHostname
()
internal/prompter/huh_prompter.go:242
Method
InputHostname
()
internal/prompter/prompter.go:286
Method
InputHostname
()
internal/prompter/prompter.go:551
Method
InputHostname
()
internal/prompter/test.go:77
Method
InputHostnameCalls
InputHostnameCalls gets all the calls that were made to InputHostname. Check the length with: len(mockedPrompter.InputHostnameCalls())
internal/prompter/prompter_mock.go:320
Method
Install
Install installs an extension from repo, and pins to commitish if provided
pkg/cmd/extension/manager.go:255
Method
Install
Install calls InstallFunc.
pkg/extensions/manager_mock.go:258
Method
Install
(_ ghrepo.Interface, _ string)
cmd/gen-docs/main.go:106
Method
InstallLocal
(dir string)
pkg/cmd/extension/manager.go:214
Method
InstallLocal
InstallLocal calls InstallLocalFunc.
pkg/extensions/manager_mock.go:294
Method
InstallLocal
(_ string)
cmd/gen-docs/main.go:110
Method
Is256ColorSupported
()
pkg/iostreams/iostreams.go:570
Method
IsAncestor
(ancestor, progeny string)
pkg/cmd/repo/sync/git.go:76
Method
IsAncestor
(a, b string)
pkg/cmd/repo/sync/mocks.go:42
Method
IsBinary
IsBinary calls IsBinaryFunc.
pkg/extensions/extension_mock.go:160
Method
IsBinaryCalls
IsBinaryCalls gets all the calls that were made to IsBinary. Check the length with: len(mockedExtension.IsBinaryCalls())
pkg/extensions/extension_mock.go:176
Method
IsBoolFlag
()
pkg/cmdutil/flags.go:123
Method
IsColorEnabled
()
pkg/iostreams/iostreams.go:566
Method
IsDirty
()
pkg/cmd/repo/sync/git.go:86
Method
IsDirty
()
pkg/cmd/repo/sync/mocks.go:47
Method
IsDirty
()
pkg/cmd/pr/shared/state.go:51
Method
IsEdited
()
api/queries_pr_review.go:78
Method
IsEdited
()
api/queries_comments.go:151
Method
IsHidden
()
api/queries_pr_review.go:82
Method
IsHidden
()
api/queries_comments.go:155
Method
IsLocalCalls
IsLocalCalls gets all the calls that were made to IsLocal. Check the length with: len(mockedExtension.IsLocalCalls())
pkg/extensions/extension_mock.go:203
Method
IsPinned
IsPinned calls IsPinnedFunc.
pkg/extensions/extension_mock.go:214
Method
IsPinnedCalls
IsPinnedCalls gets all the calls that were made to IsPinned. Check the length with: len(mockedExtension.IsPinnedCalls())
pkg/extensions/extension_mock.go:230
Method
IsPullRequest
IsPullRequest calls IsPullRequestFunc.
pkg/cmd/issue/artifact/client/client_mock.go:280
Method
IsPullRequest
(repo ghrepo.Interface, number int)
pkg/cmd/issue/artifact/client/client.go:65
Method
IsPullRequest
()
api/queries_issue.go:130
Method
IsTerminalOutput
()
pkg/iostreams/iostreams.go:562
Method
IsTrueColorSupported
()
pkg/iostreams/iostreams.go:574
Function
IsValidDigestAlgorithm
IsValidDigestAlgorithm returns true if the provided algorithm is supported
pkg/cmd/attestation/artifact/digest/digest.go:23
Method
IssueFeatures
()
internal/featuredetection/detector_mock.go:7
Method
IssueFeatures
()
internal/featuredetection/detector_mock.go:49
Method
Issues
(query Query)
pkg/search/searcher.go:161
Method
Issues
Issues calls IssuesFunc.
pkg/search/searcher_mock.go:157
Method
IssuesCalls
IssuesCalls gets all the calls that were made to Issues. Check the length with: len(mockedSearcher.IssuesCalls())
pkg/search/searcher_mock.go:176
Method
KeepAlive
KeepAlive sets a flag to continuously send activity signals to the codespace even if there is no other activity (e.g. stdio)
internal/codespaces/rpc/invoker.go:272
Method
KeepAlive
KeepAlive implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:36
Method
KeepAlive
KeepAlive accepts a reason that is retained if there is no active reason to send to the server.
internal/codespaces/portforwarder/port_forwarder.go:337
Method
KeyBinds
()
internal/prompter/multi_select_with_search.go:406
Method
LastCommit
()
pkg/cmd/browse/browse.go:371
Method
LastCommit
()
pkg/cmd/browse/browse.go:375
Method
LastCommit
()
pkg/cmd/browse/browse_test.go:272
Method
LatestVersionCalls
LatestVersionCalls gets all the calls that were made to LatestVersion. Check the length with: len(mockedExtension.LatestVersionCalls())
pkg/extensions/extension_mock.go:257
Method
Len
()
git/objects.go:11
← previous
next →
4,601–4,700 of 7,572, ranked by callers