MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

FunctionNewCmdVersion
(f *cmdutil.Factory, version, buildDate string)
pkg/cmd/version/version.go:13
FunctionNewCmdWorkflow
(f *cmdutil.Factory)
pkg/cmd/workflow/workflow.go:13
FunctionNewTelemetryAPIJSONClient
NewTelemetryAPIJSONClient creates a JSON client that implements the TelemetryAPI interface. It communicates using JSON and can be configured with a cu
internal/barista/observability/telemetry.twirp.go:146
FunctionNoArgsQuoteReminder
(cmd *cobra.Command, args []string)
pkg/cmdutil/args.go:56
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:770
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:787
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:804
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:821
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:838
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:855
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:872
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:889
MethodNodes
()
pkg/cmd/project/shared/queries/queries.go:906
FunctionNone
None instantiates an [Option] with no value.
pkg/option/option.go:45
MethodNotifyCodespaceOfClientActivity
NotifyCodespaceOfClientActivity calls NotifyCodespaceOfClientActivityFunc.
internal/codespaces/rpc/codespace/codespace_host_service.v1.proto.mock.go:72
MethodNotifyCodespaceOfClientActivity
(ctx context.Context, in *NotifyCodespaceOfClientActivityRequest, opts ...grpc.CallOption)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:37
MethodNotifyCodespaceOfClientActivity
(context.Context, *NotifyCodespaceOfClientActivityRequest)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:59
MethodNotifyCodespaceOfClientActivity
(context.Context, *NotifyCodespaceOfClientActivityRequest)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:68
FunctionOnCreateMetadataFileFailure
(artifactDigest string, attestationsResp []*api.Attestation)
pkg/cmd/attestation/download/metadata_test.go:26
FunctionOnGetByDigestSuccess
(params FetchParams)
pkg/cmd/attestation/api/mock_client.go:38
MethodOnRESTError
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:154
MethodOnRESTSuccess
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:34
MethodOnRESTWithNextError
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:131
MethodOnRESTWithNextNoAttestations
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:112
MethodOpenStream
OpenStream calls OpenStreamFunc.
pkg/cmd/event/client/client_mock.go:255
MethodOpenStream
(ctx context.Context, id string)
pkg/cmd/event/client/client.go:214
MethodOpenStreamCalls
OpenStreamCalls gets all the calls that were made to OpenStream. Check the length with: len(mockedEventClient.OpenStreamCalls())
pkg/cmd/event/client/client_mock.go:276
MethodOutput
()
pkg/surveyext/editor_test.go:234
MethodOutput
()
test/helpers.go:29
MethodOutput
()
internal/run/run.go:33
MethodOutput
Output satisfies Runnable
internal/run/stub.go:136
MethodOwner
Owner calls OwnerFunc.
pkg/extensions/extension_mock.go:295
FunctionPadRight
(maxWidth int, s string)
internal/text/text.go:113
MethodPager
Pager calls PagerFunc.
internal/gh/mock/config.go:691
MethodPagerCalls
PagerCalls gets all the calls that were made to Pager. Check the length with: len(mockedConfig.PagerCalls())
internal/gh/mock/config.go:710
MethodParseReference
(ref string)
pkg/cmd/attestation/artifact/oci/client.go:44
MethodPassword
Password calls PasswordFunc.
internal/prompter/prompter_mock.go:459
MethodPassword
(prompt string)
internal/prompter/huh_prompter.go:155
MethodPassword
(prompt string)
internal/prompter/prompter.go:201
MethodPassword
(prompt string)
internal/prompter/prompter.go:519
MethodPasswordCalls
PasswordCalls gets all the calls that were made to Password. Check the length with: len(mockedPrompter.PasswordCalls())
internal/prompter/prompter_mock.go:478
MethodPath
Path calls PathFunc.
pkg/extensions/extension_mock.go:322
MethodPath
()
internal/attachments/userasset.go:61
MethodPath
()
internal/attachments/userasset.go:96
MethodPathCalls
PathCalls gets all the calls that were made to Path. Check the length with: len(mockedExtension.PathCalls())
pkg/extensions/extension_mock.go:338
MethodPathPrefix
PathPrefix returns the base service path, in the form: "/<prefix>/<package>.<Service>/" that is everything in a Twirp route except for the <Method>. T
internal/barista/observability/telemetry.twirp.go:523
MethodPathPrefix
PathPrefix returns the HTTP URL path prefix for all methods handled by this service. This can be used with an HTTP mux to route Twirp requests. The pa
internal/barista/observability/telemetry.twirp.go:568
MethodPostVersion
PostVersion calls PostVersionFunc.
internal/gh/mock/migration.go:99
MethodPostVersionCalls
PostVersionCalls gets all the calls that were made to PostVersion. Check the length with: len(mockedMigration.PostVersionCalls())
internal/gh/mock/migration.go:115
MethodPreVersion
PreVersion calls PreVersionFunc.
internal/gh/mock/migration.go:126
MethodPreVersionCalls
PreVersionCalls gets all the calls that were made to PreVersion. Check the length with: len(mockedMigration.PreVersionCalls())
internal/gh/mock/migration.go:142
MethodPreface
()
pkg/cmd/api/pagination.go:160
MethodPreferEditorPrompt
PreferEditorPrompt calls PreferEditorPromptFunc.
internal/gh/mock/config.go:723
MethodPreferEditorPromptCalls
PreferEditorPromptCalls gets all the calls that were made to PreferEditorPrompt. Check the length with: len(mockedConfig.PreferEditorPromptCalls())
internal/gh/mock/config.go:742
FunctionPrintChecksListenHint
PrintChecksListenHint suggests `gh event listen` for the check suites of the given pull request URL, because agents tend to poll workflow runs when as
pkg/cmd/event/shared/hint.go:29
FunctionPrintIssues
(io *iostreams.IOStreams, now time.Time, prefix string, totalCount int, issues []api.Issue)
pkg/cmd/issue/shared/display.go:16
FunctionPrintListenHint
PrintListenHint suggests `gh event listen` for the given pull request URL, because agents tend to poll when asked to wait for a pull request to change
pkg/cmd/event/shared/hint.go:17
MethodPrintf
Printf writes the formatted arguments to the stderr writer.
pkg/cmd/attestation/io/handler.go:33
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:774
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:791
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:808
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:825
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:842
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:859
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:876
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:893
MethodProject
()
pkg/cmd/project/shared/queries/queries.go:910
MethodProjectFeatures
()
internal/featuredetection/detector_mock.go:23
MethodProjectFeatures
()
internal/featuredetection/detector_mock.go:57
MethodProjectsV1
()
internal/featuredetection/feature_detection.go:335
MethodProjectsV1
()
internal/featuredetection/detector_mock.go:19
MethodProjectsV1
()
internal/featuredetection/detector_mock.go:53
MethodPrompt
Prompt calls PromptFunc.
internal/gh/mock/config.go:787
MethodPromptCalls
PromptCalls gets all the calls that were made to Prompt. Check the length with: len(mockedConfig.PromptCalls())
internal/gh/mock/config.go:806
MethodProtoMessage
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:42
MethodProtoMessage
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:85
MethodProtoMessage
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:44
MethodProtoMessage
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:94
MethodProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:45
MethodProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:100
MethodProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:154
MethodProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:201
MethodProtoMessage
()
internal/barista/observability/telemetry.pb.go:50
MethodProtoMessage
()
internal/barista/observability/telemetry.pb.go:117
MethodProtoMessage
()
internal/barista/observability/telemetry.pb.go:161
MethodProtoReflect
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:44
MethodProtoReflect
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:87
MethodProtoReflect
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:46
MethodProtoReflect
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:96
MethodProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:47
MethodProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:102
MethodProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:156
MethodProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:203
MethodProtoReflect
()
internal/barista/observability/telemetry.pb.go:52
MethodProtoReflect
()
internal/barista/observability/telemetry.pb.go:119
MethodProtoReflect
()
internal/barista/observability/telemetry.pb.go:163
MethodProtocGenTwirpVersion
()
internal/barista/observability/telemetry.twirp.go:516
MethodProtocGenTwirpVersion
ProtocGenTwirpVersion is the semantic version string of the version of twirp used to generate this file.
internal/barista/observability/telemetry.twirp.go:562
MethodPull
(remote, branch string)
pkg/cmd/extension/git.go:54
MethodPull
(remote, branch string)
pkg/cmd/extension/mocks.go:45
← previousnext →4,801–4,900 of 7,487, ranked by callers