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
Remotes
()
pkg/cmd/extension/mocks.go:50
Method
Remove
Remove calls RemoveFunc.
pkg/extensions/manager_mock.go:353
Method
Remove
(_ string)
cmd/gen-docs/main.go:118
Method
Render
Render calls RenderFunc.
pkg/cmd/agent-task/shared/log_mock.go:107
Method
RenderCalls
RenderCalls gets all the calls that were made to Render. Check the length with: len(mockedLogRenderer.RenderCalls())
pkg/cmd/agent-task/shared/log_mock.go:130
Method
RepoHost
RepoHost is the GitHub hostname that the remote points to
context/remote.go:97
Method
RepoHost
()
internal/ghrepo/repo.go:119
Method
RepoMetadataFetch
(input api.RepoMetadataInput)
pkg/cmd/pr/shared/survey.go:145
Method
RepoMetadataFetch
(input api.RepoMetadataInput)
pkg/cmd/pr/shared/survey_test.go:20
Method
RepoMetadataFetch
(input api.RepoMetadataInput)
pkg/cmd/pr/shared/survey_test.go:181
Method
RepoName
RepoName is the name of the GitHub repository
context/remote.go:87
Method
RepoName
()
internal/ghrepo/repo.go:115
Method
RepoOwner
RepoOwner is the name of the GitHub account that owns the repo
context/remote.go:92
Method
RepoOwner
()
internal/ghrepo/repo.go:111
Method
Repositories
(query Query)
pkg/search/searcher.go:133
Method
Repositories
Repositories calls RepositoriesFunc.
pkg/search/searcher_mock.go:189
Method
RepositoriesCalls
RepositoriesCalls gets all the calls that were made to Repositories. Check the length with: len(mockedSearcher.RepositoriesCalls())
pkg/search/searcher_mock.go:208
Method
RepositoryDatabaseID
RepositoryDatabaseID returns the numeric REST id of the repository, or zero when the "repository" field was not requested.
api/queries_issue.go:489
Method
RepositoryDatabaseID
RepositoryDatabaseID returns the numeric REST id of the repository, or zero when the "repository" field was not requested.
api/queries_pr.go:330
Method
RepositoryFeatures
()
internal/featuredetection/detector_mock.go:15
Method
RepositoryFeatures
()
internal/featuredetection/detector_mock.go:57
Method
RepositoryViewerPermission
RepositoryViewerPermission returns the requesting user's role on the repository, or an empty string when the "repository" field was not requested.
api/queries_issue.go:498
Method
RepositoryViewerPermission
RepositoryViewerPermission returns the requesting user's role on the repository, or an empty string when the "repository" field was not requested.
api/queries_pr.go:339
Method
Reset
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:29
Method
Reset
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:72
Method
Reset
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:31
Method
Reset
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:81
Method
Reset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:32
Method
Reset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:87
Method
Reset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:141
Method
Reset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:188
Method
Reset
()
internal/barista/observability/telemetry.pb.go:39
Method
Reset
()
internal/barista/observability/telemetry.pb.go:106
Method
Reset
()
internal/barista/observability/telemetry.pb.go:150
Method
ResetHard
(ref string)
pkg/cmd/repo/sync/git.go:104
Method
ResetHard
(a string)
pkg/cmd/repo/sync/mocks.go:57
Method
Resolve
()
pkg/cmd/pr/checkout/checkout_test.go:172
Method
ResolveCommentNodeID
ResolveCommentNodeID calls ResolveCommentNodeIDFunc.
pkg/cmd/discussion/client/client_mock.go:644
Method
ResolveCommentNodeID
ResolveCommentNodeID constructs a discussion comment node ID from a repository and a comment database ID. It fetches the repository's database ID via
pkg/cmd/discussion/client/client.go:1290
Method
ResolveCommentNodeIDCalls
ResolveCommentNodeIDCalls gets all the calls that were made to ResolveCommentNodeID. Check the length with: len(mockedDiscussionClient.ResolveCommen
pkg/cmd/discussion/client/client_mock.go:665
Function
ResolveIssueRef
ResolveIssueRef parses an issue reference (number or URL) and returns its node ID. References that point at a different host than baseRepo are rejecte
pkg/cmd/issue/shared/lookup.go:214
Function
ResolveIssueTypeName
ResolveIssueTypeName resolves an issue type name to its node ID by fetching the repository's available types.
pkg/cmd/issue/shared/lookup.go:233
Method
Retrieve
()
pkg/cmd/pr/edit/edit_test.go:1960
Method
Retrieve
()
pkg/cmd/pr/edit/edit.go:620
Method
RoundTrip
(*http.Request)
script/ghmock/run_test.go:58
Method
RoundTrip
(req *http.Request)
pkg/cmd/release/shared/upload_test.go:123
Method
RoundTrip
(req *http.Request)
pkg/cmd/auth/logout/logout.go:315
Method
RoundTrip
(req *http.Request)
pkg/cmd/agent-task/capi/client.go:74
Method
RoundTrip
(req *http.Request)
pkg/cmd/project/shared/queries/queries_test.go:18
Method
RoundTrip
(req *http.Request)
pkg/cmd/issue/edit/edit_test.go:1815
Method
RoundTrip
(req *http.Request)
pkg/cmd/api/http_test.go:84
Method
RoundTrip
(req *http.Request)
pkg/cmd/send-telemetry/send_telemetry.go:117
Method
RoundTrip
(req *http.Request)
pkg/cmd/workflow/shared/shared_test.go:172
Method
RoundTrip
RoundTrip satisfies http.RoundTripper
pkg/httpmock/registry.go:83
Method
RoundTrip
(req *http.Request)
internal/authflow/flow_test.go:42
Method
RoundTrip
(req *http.Request)
internal/authflow/refresh_test.go:26
Method
RoundTrip
(req *http.Request)
api/http_client.go:346
Method
RoundTrip
(req *http.Request)
api/client_test.go:426
Method
RoundTrip
(req *http.Request)
acceptance/fixture_repository_test.go:89
Method
Run
()
test/helpers.go:36
Method
Run
()
internal/run/run.go:51
Method
Run
()
internal/prompter/multi_select_with_search.go:400
Method
RunAccessible
(w io.Writer, r io.Reader)
internal/prompter/multi_select_with_search.go:401
Method
RunWithProgress
(label string, run func() error)
pkg/iostreams/iostreams.go:374
Method
Search
Search calls SearchFunc.
pkg/cmd/discussion/client/client_mock.go:680
Method
Search
(repo ghrepo.Interface, filters SearchFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:287
Method
SearchCalls
SearchCalls gets all the calls that were made to Search. Check the length with: len(mockedDiscussionClient.SearchCalls())
pkg/cmd/discussion/client/client_mock.go:705
Method
SearchFeatures
()
internal/featuredetection/feature_detection.go:438
Method
SearchFeatures
()
internal/featuredetection/detector_mock.go:27
Method
SearchFeatures
()
internal/featuredetection/detector_mock.go:69
Method
SearchFeatures
()
internal/featuredetection/detector_mock.go:98
Method
Select
(string, string, []string)
pkg/cmd/release/create/create.go:26
Method
Select
(string, string, []string)
pkg/cmd/auth/shared/prompt.go:4
Method
Select
(string, string, []string)
pkg/cmd/project/shared/queries/queries.go:60
Method
Select
(string, string, []string)
pkg/cmd/issue/lock/lock.go:32
Method
Select
(string, string, []string)
pkg/cmd/repo/setdefault/setdefault.go:38
Method
Select
(string, string, []string)
pkg/cmd/repo/create/create.go:35
Method
Select
(string, string, []string)
pkg/cmd/repo/edit/edit.go:31
Method
Select
(string, string, []string)
pkg/cmd/run/list/list.go:46
Method
Select
(string, string, []string)
pkg/cmd/run/shared/shared.go:21
Method
Select
(string, string, []string)
pkg/cmd/pr/shared/templates.go:125
Method
Select
(string, string, []string)
pkg/cmd/workflow/disable/disable.go:29
Method
Select
(string, string, []string)
pkg/cmd/workflow/view/view.go:42
Method
Select
(string, string, []string)
pkg/cmd/workflow/enable/enable.go:29
Method
Select
(string, string, []string)
pkg/cmd/workflow/shared/shared.go:30
Method
Select
Select calls SelectFunc.
internal/prompter/prompter_mock.go:491
Method
Select
(prompt, defaultValue string, options []string)
internal/prompter/huh_prompter.go:67
Method
Select
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:116
Method
Select
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:353
Function
SemanticSearchSupported
()
internal/featuredetection/detector_mock.go:120
Function
SemanticSearchUnsupported
()
internal/featuredetection/detector_mock.go:126
Method
ServeHTTP
(resp http.ResponseWriter, req *http.Request)
internal/barista/observability/telemetry.twirp.go:289
Method
ServerURL
ServerURL calls ServerURLFunc.
pkg/cmd/codespace/mock_api.go:896
Method
ServerURL
ServerURL returns the server url (not the API url), such as https://github.com
internal/codespaces/api/api.go:113
Method
ServerURLCalls
ServerURLCalls gets all the calls that were made to ServerURL. Check the length with: len(mockedapiClient.ServerURLCalls())
pkg/cmd/codespace/mock_api.go:912
Method
ServiceDescriptor
()
internal/barista/observability/telemetry.twirp.go:512
Method
ServiceDescriptor
ServiceDescriptor returns gzipped bytes describing the .proto file that this service was generated from. Once unzipped, the bytes can be unmarshalled
internal/barista/observability/telemetry.twirp.go:558
Function
SessionStateString
SessionStateString returns the humane/capitalised form of the given session state.
pkg/cmd/agent-task/shared/display.go:28
Function
SessionSymbol
(cs *iostreams.ColorScheme, state string)
pkg/cmd/agent-task/shared/display.go:53
Method
Set
(v string)
script/ghmock/run.go:77
← previous
next →
5,001–5,100 of 7,572, ranked by callers