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
Create
Create calls CreateFunc.
pkg/cmd/discussion/client/client_mock.go:296
Method
Create
Create creates a discussion and optionally assigns labels. If the discussion is created successfully but the label mutation fails, the returned discus
pkg/cmd/discussion/client/client.go:966
Method
Create
Create calls CreateFunc.
pkg/cmd/issue/artifact/client/client_mock.go:152
Method
Create
(repo ghrepo.Interface, issueNumber int, artifactType, name, body string)
pkg/cmd/issue/artifact/client/client.go:154
Method
Create
(repo ghrepo.Interface, request AutolinkCreateRequest)
pkg/cmd/repo/autolink/create/create_test.go:99
Method
Create
(name string, tmplType extensions.ExtTemplateType)
pkg/cmd/extension/manager.go:618
Method
Create
Create calls CreateFunc.
pkg/extensions/manager_mock.go:151
Method
Create
(_ string, _ extensions.ExtTemplateType)
cmd/gen-docs/main.go:126
Method
CreateBranch
(branch, ref, upstream string)
pkg/cmd/repo/sync/git.go:42
Method
CreateBranch
(b, r, u string)
pkg/cmd/repo/sync/mocks.go:22
Method
CreateCalls
CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedDiscussionClient.CreateCalls())
pkg/cmd/discussion/client/client_mock.go:317
Method
CreateCodespace
CreateCodespace calls CreateCodespaceFunc.
pkg/cmd/codespace/mock_api.go:309
Method
CreateCodespaceCalls
CreateCodespaceCalls gets all the calls that were made to CreateCodespace. Check the length with: len(mockedapiClient.CreateCodespaceCalls())
pkg/cmd/codespace/mock_api.go:330
Method
CreateJob
CreateJob calls CreateJobFunc.
pkg/cmd/agent-task/capi/client_mock.go:154
Method
CreateJobCalls
CreateJobCalls gets all the calls that were made to CreateJob. Check the length with: len(mockedCapiClient.CreateJobCalls())
pkg/cmd/agent-task/capi/client_mock.go:183
Method
CreateSubscription
CreateSubscription calls CreateSubscriptionFunc.
pkg/cmd/event/client/client_mock.go:107
Method
CreateSubscription
(ctx context.Context, resourceURL string, eventTypes []string)
pkg/cmd/event/client/client.go:81
Method
Created
()
api/queries_pr_review.go:67
Method
Created
()
api/queries_comments.go:143
Method
CurrentBranch
CurrentBranch reads the checked-out branch for the git repository.
git/client.go:216
Method
CurrentBranch
()
pkg/cmd/repo/sync/git.go:59
Method
CurrentBranch
()
pkg/cmd/repo/sync/mocks.go:27
Method
CurrentUserComments
()
api/queries_issue.go:483
Method
CurrentUserComments
()
api/queries_pr.go:324
Method
CurrentUserComments
()
api/queries_comments.go:18
Method
CurrentVersionCalls
CurrentVersionCalls gets all the calls that were made to CurrentVersion. Check the length with: len(mockedExtension.CurrentVersionCalls())
pkg/extensions/extension_mock.go:149
Method
DefaultHost
()
pkg/cmd/status/status_test.go:23
Method
DefaultHost
()
internal/config/config.go:509
Method
Delete
Delete calls DeleteFunc.
pkg/cmd/issue/artifact/client/client_mock.go:200
Method
Delete
Delete ignores the response's body. A successful delete can get 204 No Content, which has none, or 200 with the deleted artifact's number, which the c
pkg/cmd/issue/artifact/client/client.go:146
Method
Delete
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/delete/delete_test.go:108
Method
Delete
(alias string)
internal/config/config.go:811
Method
DeleteCalls
DeleteCalls gets all the calls that were made to Delete. Check the length with: len(mockedArtifactClient.DeleteCalls())
pkg/cmd/issue/artifact/client/client_mock.go:223
Method
DeleteCodespace
DeleteCodespace calls DeleteCodespaceFunc.
pkg/cmd/codespace/mock_api.go:345
Method
DeleteCodespace
DeleteCodespace deletes the given codespace.
internal/codespaces/api/api.go:1051
Method
DeleteComment
DeleteComment calls DeleteCommentFunc.
pkg/cmd/discussion/client/client_mock.go:332
Method
DeleteComment
DeleteComment deletes a discussion comment or reply.
pkg/cmd/discussion/client/client.go:1211
Method
DeleteCommentCalls
DeleteCommentCalls gets all the calls that were made to DeleteComment. Check the length with: len(mockedDiscussionClient.DeleteCommentCalls())
pkg/cmd/discussion/client/client_mock.go:353
Method
DeleteSubscription
DeleteSubscription calls DeleteSubscriptionFunc.
pkg/cmd/event/client/client_mock.go:147
Method
DeleteSubscription
(ctx context.Context, id string)
pkg/cmd/event/client/client.go:201
Method
DeleteSubscriptionCalls
DeleteSubscriptionCalls gets all the calls that were made to DeleteSubscription. Check the length with: len(mockedEventClient.DeleteSubscriptionCall
pkg/cmd/event/client/client_mock.go:168
Method
Descriptor
Deprecated: Use GetRunningServerRequest.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:57
Method
Descriptor
Deprecated: Use GetRunningServerResponse.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:100
Method
Descriptor
Deprecated: Use StartRemoteServerRequest.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:59
Method
Descriptor
Deprecated: Use StartRemoteServerResponse.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:109
Method
Descriptor
Deprecated: Use NotifyCodespaceOfClientActivityRequest.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:60
Method
Descriptor
Deprecated: Use NotifyCodespaceOfClientActivityResponse.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:115
Method
Descriptor
Deprecated: Use RebuildContainerRequest.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:169
Method
Descriptor
Deprecated: Use RebuildContainerResponse.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:216
Method
Descriptor
Deprecated: Use TelemetryEvent.ProtoReflect.Descriptor instead.
internal/barista/observability/telemetry.pb.go:65
Method
Descriptor
Deprecated: Use RecordEventsRequest.ProtoReflect.Descriptor instead.
internal/barista/observability/telemetry.pb.go:132
Method
Descriptor
Deprecated: Use RecordEventsResponse.ProtoReflect.Descriptor instead.
internal/barista/observability/telemetry.pb.go:176
Method
Disable
Disable suppresses all events in the invocation, including already recorded events. It must be called before Finish.
internal/telemetry/telemetry.go:270
Method
Disable
()
api/http_client_test.go:683
Method
Dispatch
(args []string, stdin io.Reader, stdout, stderr io.Writer)
pkg/cmd/extension/manager.go:94
Method
Dispatch
Dispatch calls DispatchFunc.
pkg/extensions/manager_mock.go:187
Method
Dispatch
(_ []string, _ io.Reader, _, _ io.Writer)
cmd/gen-docs/main.go:122
Method
DisplayName
DisplayName returns a user-friendly name via actorDisplayName.
api/queries_issue.go:290
Method
DisplayName
DisplayName returns a user-friendly name via actorDisplayName.
api/queries_issue.go:321
Method
DisplayName
DisplayName returns a user-friendly name for the reviewer via actorDisplayName. Teams are handled separately as "org/slug".
api/queries_pr_review.go:158
Method
DisplayName
()
api/queries_pr_review.go:218
Method
DisplayName
()
api/queries_pr_review.go:235
Method
DisplayName
DisplayName returns a user-friendly name via actorDisplayName.
api/queries_repo.go:152
Method
DisplayNames
DisplayNames returns user-friendly display names for all requested reviewers.
api/queries_pr_review.go:174
Method
Do
Do calls DoFunc.
internal/gh/mock/migration.go:67
Method
DoCalls
DoCalls gets all the calls that were made to Do. Check the length with: len(mockedMigration.DoCalls())
internal/gh/mock/migration.go:86
Method
Download
(url safeurl.SafeURL, openDestination func() (*safepaths.Root, error))
pkg/cmd/run/download/download_test.go:191
Method
Edit
(filename, startingText string)
pkg/cmd/pr/merge/merge.go:769
Method
Edit
(filename, text string)
pkg/cmd/pr/merge/merge_test.go:2454
Method
Edit
(filename, initialValue string)
pkg/cmd/pr/shared/survey.go:398
Method
Edit
(filename, text string)
pkg/cmd/pr/shared/survey_test.go:219
Method
EditCodespace
EditCodespace calls EditCodespaceFunc.
pkg/cmd/codespace/mock_api.go:389
Method
EditCodespaceCalls
EditCodespaceCalls gets all the calls that were made to EditCodespace. Check the length with: len(mockedapiClient.EditCodespaceCalls())
pkg/cmd/codespace/mock_api.go:412
Method
EditFields
(e *shared.Editable, editorCmd string)
pkg/cmd/pr/edit/edit_test.go:1954
Method
EditFields
(editable *shared.Editable, editorCmd string)
pkg/cmd/pr/edit/edit.go:598
Method
EditableOptionsFetch
(client *api.Client, repo ghrepo.Interface, opts *shared.Editable, projectsV1Support gh.ProjectsV1Support)
pkg/cmd/pr/edit/edit_test.go:1941
Method
EditableOptionsFetch
(client *api.Client, repo ghrepo.Interface, opts *shared.Editable, projectsV1Support gh.ProjectsV1Support)
pkg/cmd/pr/edit/edit.go:608
Method
Editor
Editor calls EditorFunc.
internal/gh/mock/config.go:527
Method
EditorCalls
EditorCalls gets all the calls that were made to Editor. Check the length with: len(mockedConfig.EditorCalls())
internal/gh/mock/config.go:546
Method
EnableDryRunMode
()
pkg/cmd/extension/manager.go:90
Method
EnableDryRunMode
EnableDryRunMode calls EnableDryRunModeFunc.
pkg/extensions/manager_mock.go:231
Method
EnableDryRunMode
()
cmd/gen-docs/main.go:130
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:766
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:783
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:800
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:817
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:834
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:851
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:868
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:885
Method
EndCursor
()
pkg/cmd/project/shared/queries/queries.go:902
Method
Error
()
git/errors.go:16
Method
Error
()
pkg/search/searcher.go:312
Method
Error
()
pkg/cmd/project/shared/queries/resolve_fields.go:25
Method
Error
()
pkg/cmd/project/shared/queries/resolve_fields.go:39
Method
Error
()
pkg/cmd/project/shared/queries/resolve_fields.go:53
Method
Error
()
pkg/cmd/project/shared/queries/resolve.go:50
Method
Error
()
pkg/cmd/project/shared/queries/resolve.go:63
Method
Error
()
pkg/cmd/project/shared/queries/resolve.go:74
Method
Error
()
pkg/iostreams/content.go:56
← previous
next →
4,301–4,400 of 7,572, ranked by callers