MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

MethodInput
Input calls InputFunc.
internal/prompter/prompter_mock.go:268
MethodInput
(prompt, defaultValue string)
internal/prompter/huh_prompter.go:136
MethodInput
(prompt, defaultValue string)
internal/prompter/prompter.go:186
MethodInput
(prompt, defaultValue string)
internal/prompter/prompter.go:515
MethodInputHostname
InputHostname calls InputHostnameFunc.
internal/prompter/prompter_mock.go:304
MethodInputHostname
()
internal/prompter/huh_prompter.go:242
MethodInputHostname
()
internal/prompter/prompter.go:286
MethodInputHostname
()
internal/prompter/prompter.go:551
MethodInputHostname
()
internal/prompter/test.go:77
MethodInputHostnameCalls
InputHostnameCalls gets all the calls that were made to InputHostname. Check the length with: len(mockedPrompter.InputHostnameCalls())
internal/prompter/prompter_mock.go:320
MethodInstall
Install installs an extension from repo, and pins to commitish if provided
pkg/cmd/extension/manager.go:255
MethodInstall
Install calls InstallFunc.
pkg/extensions/manager_mock.go:258
MethodInstall
(_ ghrepo.Interface, _ string)
cmd/gen-docs/main.go:106
MethodInstallLocal
(dir string)
pkg/cmd/extension/manager.go:214
MethodInstallLocal
InstallLocal calls InstallLocalFunc.
pkg/extensions/manager_mock.go:294
MethodInstallLocal
(_ string)
cmd/gen-docs/main.go:110
MethodIs256ColorSupported
()
pkg/iostreams/iostreams.go:570
MethodIsAncestor
(ancestor, progeny string)
pkg/cmd/repo/sync/git.go:76
MethodIsAncestor
(a, b string)
pkg/cmd/repo/sync/mocks.go:42
MethodIsBinary
IsBinary calls IsBinaryFunc.
pkg/extensions/extension_mock.go:160
MethodIsBinaryCalls
IsBinaryCalls gets all the calls that were made to IsBinary. Check the length with: len(mockedExtension.IsBinaryCalls())
pkg/extensions/extension_mock.go:176
MethodIsBoolFlag
()
pkg/cmdutil/flags.go:123
MethodIsColorEnabled
()
pkg/iostreams/iostreams.go:566
MethodIsDirty
()
pkg/cmd/repo/sync/git.go:86
MethodIsDirty
()
pkg/cmd/repo/sync/mocks.go:47
MethodIsDirty
()
pkg/cmd/pr/shared/state.go:51
MethodIsEdited
()
api/queries_pr_review.go:78
MethodIsEdited
()
api/queries_comments.go:151
MethodIsHidden
()
api/queries_pr_review.go:82
MethodIsHidden
()
api/queries_comments.go:155
MethodIsLocalCalls
IsLocalCalls gets all the calls that were made to IsLocal. Check the length with: len(mockedExtension.IsLocalCalls())
pkg/extensions/extension_mock.go:203
MethodIsPinned
IsPinned calls IsPinnedFunc.
pkg/extensions/extension_mock.go:214
MethodIsPinnedCalls
IsPinnedCalls gets all the calls that were made to IsPinned. Check the length with: len(mockedExtension.IsPinnedCalls())
pkg/extensions/extension_mock.go:230
MethodIsPullRequest
IsPullRequest calls IsPullRequestFunc.
pkg/cmd/issue/artifact/client/client_mock.go:280
MethodIsPullRequest
(repo ghrepo.Interface, number int)
pkg/cmd/issue/artifact/client/client.go:65
MethodIsPullRequest
()
api/queries_issue.go:130
MethodIsTerminalOutput
()
pkg/iostreams/iostreams.go:562
MethodIsTrueColorSupported
()
pkg/iostreams/iostreams.go:574
FunctionIsValidDigestAlgorithm
IsValidDigestAlgorithm returns true if the provided algorithm is supported
pkg/cmd/attestation/artifact/digest/digest.go:23
MethodIssueFeatures
()
internal/featuredetection/detector_mock.go:7
MethodIssueFeatures
()
internal/featuredetection/detector_mock.go:41
MethodIssues
(query Query)
pkg/search/searcher.go:161
MethodIssues
Issues calls IssuesFunc.
pkg/search/searcher_mock.go:157
MethodIssuesCalls
IssuesCalls gets all the calls that were made to Issues. Check the length with: len(mockedSearcher.IssuesCalls())
pkg/search/searcher_mock.go:176
MethodKeepAlive
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
MethodKeepAlive
KeepAlive implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:36
MethodKeepAlive
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
MethodKeyBinds
()
internal/prompter/multi_select_with_search.go:406
MethodLastCommit
()
pkg/cmd/browse/browse.go:371
MethodLastCommit
()
pkg/cmd/browse/browse.go:375
MethodLastCommit
()
pkg/cmd/browse/browse_test.go:272
MethodLatestVersionCalls
LatestVersionCalls gets all the calls that were made to LatestVersion. Check the length with: len(mockedExtension.LatestVersionCalls())
pkg/extensions/extension_mock.go:257
MethodLen
()
git/objects.go:11
MethodLen
https://golang.org/pkg/sort/#Interface
context/remote.go:74
MethodLen
()
pkg/cmd/status/status.go:155
MethodLen
()
pkg/cmd/run/shared/shared.go:247
MethodLess
(i, j int)
context/remote.go:76
MethodLess
(i, j int)
pkg/cmd/run/shared/shared.go:248
MethodLink
()
api/queries_issue.go:475
MethodLink
()
api/queries_pr_review.go:86
MethodLink
()
api/queries_pr.go:316
MethodLink
()
api/queries_comments.go:159
MethodList
List calls ListFunc.
pkg/cmd/discussion/client/client_mock.go:536
MethodList
(repo ghrepo.Interface, filters ListFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:178
MethodList
List calls ListFunc.
pkg/cmd/issue/artifact/client/client_mock.go:316
MethodList
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
MethodList
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/list_test.go:104
MethodList
(runID string)
pkg/cmd/run/download/download_test.go:165
MethodList
(opts ListOptions)
pkg/cmd/pr/shared/lister.go:38
MethodList
(opt ListOptions)
pkg/cmd/pr/shared/lister.go:163
MethodList
()
pkg/cmd/extension/manager.go:142
MethodList
List calls ListFunc.
pkg/extensions/manager_mock.go:326
MethodList
()
pkg/extensions/extension.go:33
MethodList
()
cmd/gen-docs/main.go:102
MethodListCalls
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
MethodListCategories
ListCategories calls ListCategoriesFunc.
pkg/cmd/discussion/client/client_mock.go:580
MethodListCategories
(repo ghrepo.Interface)
pkg/cmd/discussion/client/client.go:778
MethodListCategoriesCalls
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
MethodListCodespaces
ListCodespaces calls ListCodespacesFunc.
pkg/cmd/codespace/mock_api.go:816
MethodListDevContainers
ListDevContainers calls ListDevContainersFunc.
pkg/cmd/codespace/mock_api.go:852
MethodListDevContainers
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
MethodListDevContainersCalls
ListDevContainersCalls gets all the calls that were made to ListDevContainers. Check the length with: len(mockedapiClient.ListDevContainersCalls())
pkg/cmd/codespace/mock_api.go:877
MethodListLabels
ListLabels calls ListLabelsFunc.
pkg/cmd/discussion/client/client_mock.go:612
MethodListLabels
ListLabels fetches all labels for a repository, ordered alphabetically by name.
pkg/cmd/discussion/client/client.go:855
MethodListLabelsCalls
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
MethodListLatestSessionsForViewer
ListLatestSessionsForViewer calls ListLatestSessionsForViewerFunc.
pkg/cmd/agent-task/capi/client_mock.go:370
MethodListLatestSessionsForViewerCalls
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
MethodListPorts
ListPorts fetches the list of ports that are currently forwarded.
internal/codespaces/portforwarder/port_forwarder.go:254
MethodListSessionsByResourceID
ListSessionsByResourceID calls ListSessionsByResourceIDFunc.
pkg/cmd/agent-task/capi/client_mock.go:406
MethodListSessionsByResourceIDCalls
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
MethodListSubscriptions
ListSubscriptions calls ListSubscriptionsFunc.
pkg/cmd/event/client/client_mock.go:219
MethodListSubscriptions
(ctx context.Context, limit int)
pkg/cmd/event/client/client.go:143
MethodListSubscriptionsCalls
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
MethodLogin
(host, username, token, gitProtocol string, encrypt bool)
pkg/cmd/auth/shared/login_flow_test.go:31
MethodLogin
(string, string, string, string, bool)
pkg/cmd/auth/shared/login_flow_test.go:53
MethodLogin
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
MethodLogin
()
api/queries_pr_review.go:189
MethodLogin
()
api/queries_pr_review.go:239
MethodLogin
()
api/queries_repo.go:1196
MethodLogin
()
api/queries_repo.go:1226
← previousnext →4,601–4,700 of 7,487, ranked by callers