Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,487 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
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:41
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
Method
Len
https://golang.org/pkg/sort/#Interface
context/remote.go:74
Method
Len
()
pkg/cmd/status/status.go:155
Method
Len
()
pkg/cmd/run/shared/shared.go:247
Method
Less
(i, j int)
context/remote.go:76
Method
Less
(i, j int)
pkg/cmd/run/shared/shared.go:248
Method
Link
()
api/queries_issue.go:475
Method
Link
()
api/queries_pr_review.go:86
Method
Link
()
api/queries_pr.go:316
Method
Link
()
api/queries_comments.go:159
Method
List
List calls ListFunc.
pkg/cmd/discussion/client/client_mock.go:536
Method
List
(repo ghrepo.Interface, filters ListFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:178
Method
List
List calls ListFunc.
pkg/cmd/issue/artifact/client/client_mock.go:316
Method
List
List requests pages until one comes back short or the limit is reached. Every request asks for the same page size, so the page numbers line up.
pkg/cmd/issue/artifact/client/client.go:87
Method
List
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/list_test.go:104
Method
List
(runID string)
pkg/cmd/run/download/download_test.go:165
Method
List
(opts ListOptions)
pkg/cmd/pr/shared/lister.go:38
Method
List
(opt ListOptions)
pkg/cmd/pr/shared/lister.go:163
Method
List
()
pkg/cmd/extension/manager.go:142
Method
List
List calls ListFunc.
pkg/extensions/manager_mock.go:326
Method
List
()
pkg/extensions/extension.go:33
Method
List
()
cmd/gen-docs/main.go:102
Method
ListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedDiscussionClient.ListCalls())
pkg/cmd/discussion/client/client_mock.go:561
Method
ListCategories
ListCategories calls ListCategoriesFunc.
pkg/cmd/discussion/client/client_mock.go:580
Method
ListCategories
(repo ghrepo.Interface)
pkg/cmd/discussion/client/client.go:778
Method
ListCategoriesCalls
ListCategoriesCalls gets all the calls that were made to ListCategories. Check the length with: len(mockedDiscussionClient.ListCategoriesCalls())
pkg/cmd/discussion/client/client_mock.go:599
Method
ListCodespaces
ListCodespaces calls ListCodespacesFunc.
pkg/cmd/codespace/mock_api.go:816
Method
ListDevContainers
ListDevContainers calls ListDevContainersFunc.
pkg/cmd/codespace/mock_api.go:852
Method
ListDevContainers
ListDevContainers returns a list of valid devcontainer.json files for the repo. Pass a negative limit to request all pages from the API until all devc
internal/codespaces/api/api.go:1093
Method
ListDevContainersCalls
ListDevContainersCalls gets all the calls that were made to ListDevContainers. Check the length with: len(mockedapiClient.ListDevContainersCalls())
pkg/cmd/codespace/mock_api.go:877
Method
ListLabels
ListLabels calls ListLabelsFunc.
pkg/cmd/discussion/client/client_mock.go:612
Method
ListLabels
ListLabels fetches all labels for a repository, ordered alphabetically by name.
pkg/cmd/discussion/client/client.go:855
Method
ListLabelsCalls
ListLabelsCalls gets all the calls that were made to ListLabels. Check the length with: len(mockedDiscussionClient.ListLabelsCalls())
pkg/cmd/discussion/client/client_mock.go:631
Method
ListLatestSessionsForViewer
ListLatestSessionsForViewer calls ListLatestSessionsForViewerFunc.
pkg/cmd/agent-task/capi/client_mock.go:370
Method
ListLatestSessionsForViewerCalls
ListLatestSessionsForViewerCalls gets all the calls that were made to ListLatestSessionsForViewer. Check the length with: len(mockedCapiClient.ListL
pkg/cmd/agent-task/capi/client_mock.go:391
Method
ListPorts
ListPorts fetches the list of ports that are currently forwarded.
internal/codespaces/portforwarder/port_forwarder.go:254
Method
ListSessionsByResourceID
ListSessionsByResourceID calls ListSessionsByResourceIDFunc.
pkg/cmd/agent-task/capi/client_mock.go:406
Method
ListSessionsByResourceIDCalls
ListSessionsByResourceIDCalls gets all the calls that were made to ListSessionsByResourceID. Check the length with: len(mockedCapiClient.ListSession
pkg/cmd/agent-task/capi/client_mock.go:431
Method
ListSubscriptions
ListSubscriptions calls ListSubscriptionsFunc.
pkg/cmd/event/client/client_mock.go:219
Method
ListSubscriptions
(ctx context.Context, limit int)
pkg/cmd/event/client/client.go:143
Method
ListSubscriptionsCalls
ListSubscriptionsCalls gets all the calls that were made to ListSubscriptions. Check the length with: len(mockedEventClient.ListSubscriptionsCalls()
pkg/cmd/event/client/client_mock.go:240
Method
Login
(host, username, token, gitProtocol string, encrypt bool)
pkg/cmd/auth/shared/login_flow_test.go:31
Method
Login
(string, string, string, string, bool)
pkg/cmd/auth/shared/login_flow_test.go:53
Method
Login
Login will set user, git protocol, and auth token for the given hostname. If the encrypt option is specified it will first try to store the auth token
internal/config/config.go:503
Method
Login
()
api/queries_pr_review.go:189
Method
Login
()
api/queries_pr_review.go:239
Method
Login
()
api/queries_repo.go:1196
Method
Login
()
api/queries_repo.go:1226
← previous
next →
4,601–4,700 of 7,487, ranked by callers