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
Error
()
internal/safepaths/absolute.go:72
Method
Error
()
internal/attachments/attach.go:60
Method
Error
()
internal/keyring/keyring.go:17
Method
Error
()
internal/skills/discovery/discovery.go:36
Method
Error
()
internal/run/stub.go:114
Method
Error
for github.com/pkg/errors
internal/barista/observability/telemetry.twirp.go:883
Method
Errorf
(string, ...any)
test/helpers.go:45
Method
EventsFeatures
EventsFeatures checks whether event subscriptions are enabled for the authenticated account. Only github.com is supported, so GitHub Enterprise Server
internal/featuredetection/feature_detection.go:631
Method
EventsFeatures
()
internal/featuredetection/detector_mock.go:43
Method
EventsFeatures
()
internal/featuredetection/detector_mock.go:89
Function
ExampleMap
()
pkg/option/option_test.go:102
Function
ExampleOption_Expect
()
pkg/option/option_test.go:96
Function
ExampleOption_IsNone
()
pkg/option/option_test.go:77
Function
ExampleOption_IsSome
()
pkg/option/option_test.go:68
Function
ExampleOption_Unwrap
()
pkg/option/option_test.go:32
Function
ExampleOption_UnwrapOr
()
pkg/option/option_test.go:37
Function
ExampleOption_UnwrapOrElse
()
pkg/option/option_test.go:45
Function
ExampleOption_UnwrapOrZero
()
pkg/option/option_test.go:59
Function
ExampleOption_Value
()
pkg/option/option_test.go:86
Method
Executable
()
pkg/cmd/codespace/root.go:14
Method
ExitCode
()
internal/run/stub.go:118
Method
ExpectFields
(fields []string)
pkg/cmd/pr/shared/lister.go:179
Method
ExpiringCredentials
ExpiringCredentials calls ExpiringCredentialsFunc.
internal/gh/mock/config.go:771
Method
ExpiringCredentialsCalls
ExpiringCredentialsCalls gets all the calls that were made to ExpiringCredentials. Check the length with: len(mockedConfig.ExpiringCredentialsCalls(
internal/gh/mock/config.go:758
Method
Export
Export returns the author as a map for JSON output.
pkg/cmd/discussion/client/types.go:129
Method
Export
Export returns the category as a map for JSON output.
pkg/cmd/discussion/client/types.go:147
Method
Export
Export returns the label as a map for JSON output.
pkg/cmd/discussion/client/types.go:165
Method
Export
Export returns the comment as a map for JSON output.
pkg/cmd/discussion/client/types.go:188
Method
ExportData
([]string)
pkg/cmdutil/json_flags.go:293
Method
ExportData
(fields []string)
pkg/cmdutil/json_flags_test.go:396
Method
ExportData
()
pkg/search/result.go:267
Method
ExportData
(fields []string)
pkg/search/result.go:282
Method
ExportData
(fields []string)
pkg/search/result.go:301
Method
ExportData
(fields []string)
pkg/search/result.go:305
Method
ExportData
(fields []string)
pkg/search/result.go:360
Method
ExportData
(fields []string)
pkg/search/result.go:405
Method
ExportData
ExportData returns a map of the requested fields for JSON output. Because domain types carry no JSON struct tags, each field is mapped explicitly rath
pkg/cmd/discussion/client/types.go:34
Method
ExportData
ExportData returns a map suitable for JSON output, including pagination fields only when they are non-empty.
pkg/cmd/discussion/client/types.go:301
Method
ExportData
(fields []string)
pkg/cmd/release/list/http.go:37
Method
ExportData
(fields []string)
pkg/cmd/release/shared/fetch.go:87
Method
ExportData
(fields []string)
pkg/cmd/auth/status/status.go:68
Method
ExportData
ExportData implements the exportable interface for JSON output.
pkg/cmd/agent-task/capi/sessions.go:119
Method
ExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:302
Method
ExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:537
Method
ExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:558
Method
ExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:1023
Method
ExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:1067
Method
ExportData
(fields []string)
pkg/cmd/label/shared.go:31
Method
ExportData
ExportData returns the requested fields for --json output. Fields the API returned as null stay null.
pkg/cmd/issue/artifact/client/types.go:104
Method
ExportData
ExportData returns the requested fields for --json output, where versions is the edit history, newest first. Fields the API returned as null stay null
pkg/cmd/issue/artifact/client/types.go:140
Method
ExportData
ExportData implements the cmdutil exportable interface for a single entry.
pkg/cmd/repo/read-dir/http.go:63
Method
ExportData
ExportData implements the cmdutil exportable interface for the directory. gitSHA and id are structural and always present; the requested fields selec
pkg/cmd/repo/read-dir/http.go:106
Method
ExportData
(fields []string)
pkg/cmd/repo/autolink/shared/autolink.go:19
Method
ExportData
(fields []string)
pkg/cmd/variable/shared/shared.go:48
Method
ExportData
ExportData implements cmdutil.exportable for --json output.
pkg/cmd/skills/search/search.go:186
Method
ExportData
ExportData implements cmdutil.exportable for --json output.
pkg/cmd/skills/list/list.go:85
Method
ExportData
(fields []string)
pkg/cmd/secret/list/list.go:231
Method
ExportData
(fields []string)
pkg/cmd/run/shared/shared.go:164
Method
ExportData
ExportData returns the selected fields of the subscription for --json output.
pkg/cmd/event/client/types.go:33
Method
ExportData
(fields []string)
pkg/cmd/pr/checks/aggregate.go:32
Method
ExportData
(fields []string)
pkg/cmd/codespace/ports.go:155
Method
ExportData
(fields []string)
pkg/cmd/workflow/shared/shared.go:54
Method
ExportData
(fields []string)
api/export_repo.go:7
Method
ExternalHTTPClient
()
pkg/cmd/codespace/common.go:86
Method
ExternalHTTPClient
ExternalHTTPClient calls ExternalHTTPClientFunc.
pkg/cmd/codespace/mock_api.go:429
Method
ExternalHTTPClient
()
internal/codespaces/codespaces_test.go:243
Method
ExternalHTTPClient
ExternalHTTPClient returns an HTTP client for requests to non-GitHub hosts. It must not carry GitHub authentication credentials.
internal/codespaces/api/api.go:1315
Method
ExternalHTTPClientCalls
ExternalHTTPClientCalls gets all the calls that were made to ExternalHTTPClient. Check the length with: len(mockedapiClient.ExternalHTTPClientCalls(
pkg/cmd/codespace/mock_api.go:445
Method
Fd
()
pkg/iostreams/iostreams.go:40
Method
Fd
()
pkg/iostreams/iostreams.go:634
Method
Fd
()
pkg/iostreams/iostreams.go:644
Method
Fd
()
pkg/iostreams/iostreams.go:654
Method
Fetch
(string, string)
pkg/cmd/repo/sync/git.go:14
Method
Fetch
(remote, ref string)
pkg/cmd/repo/sync/git.go:63
Method
Fetch
(a, b string)
pkg/cmd/repo/sync/mocks.go:32
Method
Fetch
(remote string, refspec string)
pkg/cmd/extension/git.go:44
Method
Fetch
(remote string, refspec string)
pkg/cmd/extension/mocks.go:32
Method
Fields
()
pkg/cmdutil/json_flags.go:214
Method
Fields
()
pkg/cmd/cache/list/list_test.go:356
Method
Fields
()
pkg/cmd/repo/view/view_test.go:746
Method
Fields
()
pkg/cmd/run/shared/test.go:286
Method
FieldsToEdit
(e *shared.Editable)
pkg/cmd/pr/edit/edit_test.go:1950
Method
FieldsToEdit
(editable *shared.Editable)
pkg/cmd/pr/edit/edit.go:594
Function
Find
()
pkg/findsh/find_windows.go:10
Method
Find
(opts FindOptions)
pkg/cmd/pr/shared/finder.go:644
Method
Find
(opts shared.FindOptions)
pkg/cmd/pr/edit/edit_test.go:1723
Method
Finish
Finish snapshots the recorded events once and sends their payload after releasing the lock. Sampling and telemetry eligibility apply to immediate and
internal/telemetry/telemetry.go:321
Method
Follow
Follow continuously fetches logs using the provided fetcher function and renders them to the provided writer. It stops when Render indicates to stop.
pkg/cmd/agent-task/shared/log.go:31
Method
Follow
Follow calls FollowFunc.
pkg/cmd/agent-task/shared/log_mock.go:67
Method
FollowCalls
FollowCalls gets all the calls that were made to Follow. Check the length with: len(mockedLogRenderer.FollowCalls())
pkg/cmd/agent-task/shared/log_mock.go:90
Method
ForRepo
(repoDir string)
pkg/cmd/extension/git.go:48
Method
ForRepo
(repoDir string)
pkg/cmd/extension/mocks.go:37
Function
Format
(version, buildDate string)
pkg/cmd/version/version.go:28
Method
ForwardPort
(ctx context.Context, port uint16)
internal/codespaces/connection/tunnels_api_server_mock.go:298
Method
ForwardPortToListener
ForwardPortToListener forwards the specified port to the given TCP listener.
internal/codespaces/portforwarder/port_forwarder.go:64
Method
Get
Get calls GetFunc.
pkg/cmd/issue/artifact/client/client_mock.go:240
Method
Get
(repo ghrepo.Interface, issueNumber int, number int)
pkg/cmd/issue/artifact/client/client.go:127
Method
Get
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:19
Method
Get
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:35
Method
Get
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:51
← previous
next →
4,401–4,500 of 7,572, ranked by callers