MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

MethodClose
()
pkg/cmd/codespace/ssh.go:151
MethodClose
Close closes the rooted filesystem.
internal/safepaths/root.go:116
MethodClose
Closes the gRPC connection
internal/codespaces/rpc/invoker.go:151
MethodClose
Close implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:16
MethodClose
Close closes the port forwarder's tunnel client connection.
internal/codespaces/portforwarder/port_forwarder.go:352
MethodClose
Close closes the underlying ReadWriteCloser.
internal/codespaces/portforwarder/port_forwarder.go:452
MethodCloseWrite
()
pkg/cmd/codespace/ssh.go:160
MethodCode
(query Query)
pkg/search/searcher.go:65
MethodCode
Code calls CodeFunc.
pkg/search/searcher_mock.go:93
MethodCode
()
internal/barista/observability/telemetry.twirp.go:884
MethodCodeCalls
CodeCalls gets all the calls that were made to Code. Check the length with: len(mockedSearcher.CodeCalls())
pkg/search/searcher_mock.go:112
FunctionColorForIssueState
(issue api.Issue)
pkg/cmd/pr/shared/display.go:44
FunctionColorFuncForSessionState
ColorFuncForSessionState returns a function that colors the session state
pkg/cmd/agent-task/shared/display.go:9
MethodColorLabels
ColorLabels calls ColorLabelsFunc.
internal/gh/mock/config.go:495
MethodColorLabelsCalls
ColorLabelsCalls gets all the calls that were made to ColorLabels. Check the length with: len(mockedConfig.ColorLabelsCalls())
internal/gh/mock/config.go:514
MethodCommandOutput
(args []string)
pkg/cmd/extension/git.go:32
MethodCommandOutput
(commandArgs []string)
pkg/cmd/extension/mocks.go:22
MethodCommits
(ctx context.Context, baseRef, headRef string)
git/client.go:360
MethodCommits
(query Query)
pkg/search/searcher.go:105
MethodCommits
Commits calls CommitsFunc.
pkg/search/searcher_mock.go:125
MethodCommitsCalls
CommitsCalls gets all the calls that were made to Commits. Check the length with: len(mockedSearcher.CommitsCalls())
pkg/search/searcher_mock.go:144
FunctionConfig
Config reads internal debug overrides from the environment. Without the ghdebug build tag it ignores the environment and returns a DebugConfig with no
internal/debug/config_enabled.go:11
MethodConfig
(name string)
pkg/cmd/extension/git.go:40
MethodConfig
(name string)
pkg/cmd/extension/mocks.go:27
MethodConfigureOurs
(hostname string)
pkg/cmd/auth/setupgit/setupgit_test.go:23
MethodConfigureOurs
(string)
pkg/cmd/auth/shared/git_credential_test.go:24
MethodConfigureOurs
ConfigureOurs sets up the git credential helper chain to use the GitHub CLI credential helper for git repositories including gists.
pkg/cmd/auth/shared/gitcredentials/fake_helper_config.go:20
MethodConfiguredHelper
(string)
pkg/cmd/auth/shared/git_credential_test.go:29
MethodConfiguredHelper
ConfiguredHelper returns the configured git credential helper for a given hostname.
pkg/cmd/auth/shared/gitcredentials/fake_helper_config.go:44
MethodConfirm
(string, bool)
pkg/cmd/release/delete-asset/delete_asset.go:18
MethodConfirm
(string, bool)
pkg/cmd/release/delete/delete.go:19
MethodConfirm
(string, bool)
pkg/cmd/release/create/create.go:28
MethodConfirm
(string, bool)
pkg/cmd/auth/shared/prompt.go:5
MethodConfirm
(string, bool)
pkg/cmd/issue/lock/lock.go:31
MethodConfirm
(string, bool)
pkg/cmd/issue/artifact/delete/delete.go:33
MethodConfirm
(string, bool)
pkg/cmd/repo/delete/delete.go:20
MethodConfirm
(string, bool)
pkg/cmd/repo/fork/fork.go:29
MethodConfirm
(string, bool)
pkg/cmd/repo/create/create.go:36
MethodConfirm
(string, bool)
pkg/cmd/repo/rename/rename.go:22
MethodConfirm
(message string)
pkg/cmd/codespace/delete.go:222
MethodConfirm
Confirm calls ConfirmFunc.
pkg/cmd/codespace/mock_prompter.go:41
MethodConfirm
Confirm calls ConfirmFunc.
internal/prompter/prompter_mock.go:200
MethodConfirm
(prompt string, defaultValue bool)
internal/prompter/huh_prompter.go:176
MethodConfirm
(prompt string, defaultValue bool)
internal/prompter/prompter.go:222
MethodConfirm
(prompt string, defaultValue bool)
internal/prompter/prompter.go:523
MethodConfirmCalls
ConfirmCalls gets all the calls that were made to Confirm. Check the length with: len(mockedprompter.ConfirmCalls())
pkg/cmd/codespace/mock_prompter.go:60
MethodConfirmDeletion
(string)
pkg/cmd/label/delete.go:16
MethodConfirmDeletion
(string)
pkg/cmd/issue/delete/delete.go:29
MethodConfirmDeletion
ConfirmDeletion calls ConfirmDeletionFunc.
internal/prompter/prompter_mock.go:236
MethodConfirmDeletion
(requiredValue string)
internal/prompter/huh_prompter.go:225
MethodConfirmDeletion
(requiredValue string)
internal/prompter/prompter.go:269
MethodConfirmDeletion
(requiredValue string)
internal/prompter/prompter.go:535
MethodConfirmDeletion
(prompt string)
internal/prompter/test.go:67
FunctionConfirmIssueSubmission
(p Prompt, allowPreview bool, allowMetadata bool)
pkg/cmd/pr/shared/survey.go:47
MethodContent
()
api/queries_pr_review.go:63
MethodContent
()
api/queries_comments.go:139
MethodCreate
Create calls CreateFunc.
pkg/cmd/discussion/client/client_mock.go:296
MethodCreate
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
MethodCreate
Create calls CreateFunc.
pkg/cmd/issue/artifact/client/client_mock.go:152
MethodCreate
(repo ghrepo.Interface, issueNumber int, artifactType, name, body string)
pkg/cmd/issue/artifact/client/client.go:154
MethodCreate
(repo ghrepo.Interface, request AutolinkCreateRequest)
pkg/cmd/repo/autolink/create/create_test.go:99
MethodCreate
(name string, tmplType extensions.ExtTemplateType)
pkg/cmd/extension/manager.go:618
MethodCreate
Create calls CreateFunc.
pkg/extensions/manager_mock.go:151
MethodCreate
(_ string, _ extensions.ExtTemplateType)
cmd/gen-docs/main.go:126
MethodCreateBranch
(branch, ref, upstream string)
pkg/cmd/repo/sync/git.go:42
MethodCreateBranch
(b, r, u string)
pkg/cmd/repo/sync/mocks.go:22
MethodCreateCalls
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
MethodCreateCodespace
CreateCodespace calls CreateCodespaceFunc.
pkg/cmd/codespace/mock_api.go:309
MethodCreateCodespaceCalls
CreateCodespaceCalls gets all the calls that were made to CreateCodespace. Check the length with: len(mockedapiClient.CreateCodespaceCalls())
pkg/cmd/codespace/mock_api.go:330
MethodCreateJob
CreateJob calls CreateJobFunc.
pkg/cmd/agent-task/capi/client_mock.go:154
MethodCreateJobCalls
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
MethodCreateSubscription
CreateSubscription calls CreateSubscriptionFunc.
pkg/cmd/event/client/client_mock.go:107
MethodCreateSubscription
(ctx context.Context, resourceURL string, eventTypes []string)
pkg/cmd/event/client/client.go:70
MethodCreated
()
api/queries_pr_review.go:67
MethodCreated
()
api/queries_comments.go:143
MethodCurrentBranch
CurrentBranch reads the checked-out branch for the git repository.
git/client.go:216
MethodCurrentBranch
()
pkg/cmd/repo/sync/git.go:59
MethodCurrentBranch
()
pkg/cmd/repo/sync/mocks.go:27
MethodCurrentUserComments
()
api/queries_issue.go:483
MethodCurrentUserComments
()
api/queries_pr.go:324
MethodCurrentUserComments
()
api/queries_comments.go:18
MethodCurrentVersionCalls
CurrentVersionCalls gets all the calls that were made to CurrentVersion. Check the length with: len(mockedExtension.CurrentVersionCalls())
pkg/extensions/extension_mock.go:149
MethodDefaultHost
()
pkg/cmd/status/status_test.go:23
MethodDefaultHost
()
internal/config/config.go:485
MethodDelete
Delete calls DeleteFunc.
pkg/cmd/issue/artifact/client/client_mock.go:200
MethodDelete
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
MethodDelete
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/delete/delete_test.go:108
MethodDelete
(alias string)
internal/config/config.go:762
MethodDeleteCalls
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
MethodDeleteCodespace
DeleteCodespace calls DeleteCodespaceFunc.
pkg/cmd/codespace/mock_api.go:345
MethodDeleteCodespace
DeleteCodespace deletes the given codespace.
internal/codespaces/api/api.go:1051
MethodDeleteComment
DeleteComment calls DeleteCommentFunc.
pkg/cmd/discussion/client/client_mock.go:332
MethodDeleteComment
DeleteComment deletes a discussion comment or reply.
pkg/cmd/discussion/client/client.go:1211
MethodDeleteCommentCalls
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
MethodDeleteSubscription
DeleteSubscription calls DeleteSubscriptionFunc.
pkg/cmd/event/client/client_mock.go:147
MethodDeleteSubscription
(ctx context.Context, id string)
pkg/cmd/event/client/client.go:190
MethodDeleteSubscriptionCalls
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
MethodDescriptor
Deprecated: Use GetRunningServerRequest.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:57
MethodDescriptor
Deprecated: Use GetRunningServerResponse.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:100
MethodDescriptor
Deprecated: Use StartRemoteServerRequest.ProtoReflect.Descriptor instead.
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:59
← previousnext →4,201–4,300 of 7,487, ranked by callers