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
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:154
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:595
Function
Find
()
pkg/findsh/find_windows.go:10
Method
Find
(opts FindOptions)
pkg/cmd/pr/shared/finder.go:646
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
Method
Get
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:68
Method
Get
(repoFullName string)
pkg/cmd/extension/browse/rg.go:23
Method
Get
(fullName string)
pkg/cmd/extension/browse/model_test.go:908
Method
Get
(alias string)
internal/config/config.go:754
Method
GetApp
()
internal/barista/observability/telemetry.pb.go:69
Method
GetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:25
Method
GetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:37
Method
GetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:47
Method
GetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:57
Method
GetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:70
Method
GetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/mock_client.go:83
Method
GetAttestations
(ref name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/client.go:70
Method
GetByDigest
(params FetchParams)
pkg/cmd/attestation/api/mock_client.go:30
Method
GetByNumber
GetByNumber calls GetByNumberFunc.
pkg/cmd/discussion/client/client_mock.go:368
Method
GetByNumber
(repo ghrepo.Interface, number int32)
pkg/cmd/discussion/client/client.go:401
Method
GetByNumberCalls
GetByNumberCalls gets all the calls that were made to GetByNumber. Check the length with: len(mockedDiscussionClient.GetByNumberCalls())
pkg/cmd/discussion/client/client_mock.go:389
Method
GetCalls
GetCalls gets all the calls that were made to Get. Check the length with: len(mockedArtifactClient.GetCalls())
pkg/cmd/issue/artifact/client/client_mock.go:263
Method
GetClientId
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:64
Method
GetCodespace
(ctx context.Context, name string, includeConnection bool)
pkg/cmd/codespace/common.go:71
Method
GetCodespace
GetCodespace calls GetCodespaceFunc.
pkg/cmd/codespace/mock_api.go:456
Method
GetCodespace
(ctx context.Context, name string, includeConnection bool)
internal/codespaces/codespaces_test.go:235
Method
GetCodespaceBillableOwner
GetCodespaceBillableOwner calls GetCodespaceBillableOwnerFunc.
pkg/cmd/codespace/mock_api.go:496
Method
GetCodespaceBillableOwner
GetCodespaceBillableOwner returns the billable owner and expected default values for codespaces created by the user for a given repository.
internal/codespaces/api/api.go:828
Method
GetCodespaceBillableOwnerCalls
GetCodespaceBillableOwnerCalls gets all the calls that were made to GetCodespaceBillableOwner. Check the length with: len(mockedapiClient.GetCodespa
pkg/cmd/codespace/mock_api.go:517
Method
GetCodespaceCalls
GetCodespaceCalls gets all the calls that were made to GetCodespace. Check the length with: len(mockedapiClient.GetCodespaceCalls())
pkg/cmd/codespace/mock_api.go:479
Method
GetCodespaceRepoSuggestions
GetCodespaceRepoSuggestions calls GetCodespaceRepoSuggestionsFunc.
pkg/cmd/codespace/mock_api.go:532
Method
GetCodespaceRepoSuggestionsCalls
GetCodespaceRepoSuggestionsCalls gets all the calls that were made to GetCodespaceRepoSuggestions. Check the length with: len(mockedapiClient.GetCod
pkg/cmd/codespace/mock_api.go:555
Method
GetCodespaceRepositoryContents
GetCodespaceRepositoryContents calls GetCodespaceRepositoryContentsFunc.
pkg/cmd/codespace/mock_api.go:572
Method
GetCodespaceRepositoryContents
(ctx context.Context, codespace *Codespace, path string)
internal/codespaces/api/api.go:1227
Method
GetCodespaceRepositoryContentsCalls
GetCodespaceRepositoryContentsCalls gets all the calls that were made to GetCodespaceRepositoryContents. Check the length with: len(mockedapiClient.
pkg/cmd/codespace/mock_api.go:595
Method
GetCodespacesMachines
GetCodespacesMachines calls GetCodespacesMachinesFunc.
pkg/cmd/codespace/mock_api.go:612
Method
GetCodespacesMachines
GetCodespacesMachines returns the codespaces machines for the given repo, branch and location.
internal/codespaces/api/api.go:661
Method
GetCodespacesMachinesCalls
GetCodespacesMachinesCalls gets all the calls that were made to GetCodespacesMachines. Check the length with: len(mockedapiClient.GetCodespacesMachi
pkg/cmd/codespace/mock_api.go:639
Method
GetCodespacesPermissionsCheck
GetCodespacesPermissionsCheck calls GetCodespacesPermissionsCheckFunc.
pkg/cmd/codespace/mock_api.go:660
Method
GetCodespacesPermissionsCheck
GetCodespacesPermissionsCheck returns a bool indicating whether the user has accepted permissions for the given repo and devcontainer path.
internal/codespaces/api/api.go:704
Method
GetCodespacesPermissionsCheckCalls
GetCodespacesPermissionsCheckCalls gets all the calls that were made to GetCodespacesPermissionsCheck. Check the length with: len(mockedapiClient.Ge
pkg/cmd/codespace/mock_api.go:685
Method
GetComment
GetComment calls GetCommentFunc.
pkg/cmd/discussion/client/client_mock.go:404
Method
GetComment
GetComment fetches a single discussion comment by node ID.
pkg/cmd/discussion/client/client.go:1230
Method
GetCommentCalls
GetCommentCalls gets all the calls that were made to GetComment. Check the length with: len(mockedDiscussionClient.GetCommentCalls())
pkg/cmd/discussion/client/client_mock.go:425
Method
GetCommentReplies
GetCommentReplies calls GetCommentRepliesFunc.
pkg/cmd/discussion/client/client_mock.go:440
Method
GetCommentReplies
GetCommentReplies fetches a single comment with its paginated replies, along with its parent discussion. It uses the top-level node(id:) query because
pkg/cmd/discussion/client/client.go:643
Method
GetCommentRepliesCalls
GetCommentRepliesCalls gets all the calls that were made to GetCommentReplies. Check the length with: len(mockedDiscussionClient.GetCommentRepliesCa
pkg/cmd/discussion/client/client_mock.go:467
Method
GetDimensions
()
internal/barista/observability/telemetry.pb.go:83
Method
GetEventType
()
internal/barista/observability/telemetry.pb.go:76
Method
GetEvents
()
internal/barista/observability/telemetry.pb.go:136
Method
GetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:18
Method
GetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/mock_client.go:33
← previous
next →
4,401–4,500 of 7,487, ranked by callers