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
Function
NewCmdVersion
(f *cmdutil.Factory, version, buildDate string)
pkg/cmd/version/version.go:13
Function
NewCmdWorkflow
(f *cmdutil.Factory)
pkg/cmd/workflow/workflow.go:13
Function
NewTelemetryAPIJSONClient
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
Function
NoArgsQuoteReminder
(cmd *cobra.Command, args []string)
pkg/cmdutil/args.go:56
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:770
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:787
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:804
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:821
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:838
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:855
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:872
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:889
Method
Nodes
()
pkg/cmd/project/shared/queries/queries.go:906
Function
None
None instantiates an [Option] with no value.
pkg/option/option.go:45
Method
NotifyCodespaceOfClientActivity
NotifyCodespaceOfClientActivity calls NotifyCodespaceOfClientActivityFunc.
internal/codespaces/rpc/codespace/codespace_host_service.v1.proto.mock.go:72
Method
NotifyCodespaceOfClientActivity
(ctx context.Context, in *NotifyCodespaceOfClientActivityRequest, opts ...grpc.CallOption)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:37
Method
NotifyCodespaceOfClientActivity
(context.Context, *NotifyCodespaceOfClientActivityRequest)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:59
Method
NotifyCodespaceOfClientActivity
(context.Context, *NotifyCodespaceOfClientActivityRequest)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:68
Function
OnCreateMetadataFileFailure
(artifactDigest string, attestationsResp []*api.Attestation)
pkg/cmd/attestation/download/metadata_test.go:26
Function
OnGetByDigestSuccess
(params FetchParams)
pkg/cmd/attestation/api/mock_client.go:38
Method
OnRESTError
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:154
Method
OnRESTSuccess
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:34
Method
OnRESTWithNextError
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:131
Method
OnRESTWithNextNoAttestations
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:112
Method
OpenStream
OpenStream calls OpenStreamFunc.
pkg/cmd/event/client/client_mock.go:255
Method
OpenStream
(ctx context.Context, id string)
pkg/cmd/event/client/client.go:214
Method
OpenStreamCalls
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
Method
Output
()
pkg/surveyext/editor_test.go:234
Method
Output
()
test/helpers.go:29
Method
Output
()
internal/run/run.go:33
Method
Output
Output satisfies Runnable
internal/run/stub.go:136
Method
Owner
Owner calls OwnerFunc.
pkg/extensions/extension_mock.go:295
Function
PadRight
(maxWidth int, s string)
internal/text/text.go:113
Method
Pager
Pager calls PagerFunc.
internal/gh/mock/config.go:691
Method
PagerCalls
PagerCalls gets all the calls that were made to Pager. Check the length with: len(mockedConfig.PagerCalls())
internal/gh/mock/config.go:710
Method
ParseReference
(ref string)
pkg/cmd/attestation/artifact/oci/client.go:44
Method
Password
Password calls PasswordFunc.
internal/prompter/prompter_mock.go:459
Method
Password
(prompt string)
internal/prompter/huh_prompter.go:155
Method
Password
(prompt string)
internal/prompter/prompter.go:201
Method
Password
(prompt string)
internal/prompter/prompter.go:519
Method
PasswordCalls
PasswordCalls gets all the calls that were made to Password. Check the length with: len(mockedPrompter.PasswordCalls())
internal/prompter/prompter_mock.go:478
Method
Path
Path calls PathFunc.
pkg/extensions/extension_mock.go:322
Method
Path
()
internal/attachments/userasset.go:61
Method
Path
()
internal/attachments/userasset.go:96
Method
PathCalls
PathCalls gets all the calls that were made to Path. Check the length with: len(mockedExtension.PathCalls())
pkg/extensions/extension_mock.go:338
Method
PathPrefix
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
Method
PathPrefix
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
Method
PostVersion
PostVersion calls PostVersionFunc.
internal/gh/mock/migration.go:99
Method
PostVersionCalls
PostVersionCalls gets all the calls that were made to PostVersion. Check the length with: len(mockedMigration.PostVersionCalls())
internal/gh/mock/migration.go:115
Method
PreVersion
PreVersion calls PreVersionFunc.
internal/gh/mock/migration.go:126
Method
PreVersionCalls
PreVersionCalls gets all the calls that were made to PreVersion. Check the length with: len(mockedMigration.PreVersionCalls())
internal/gh/mock/migration.go:142
Method
Preface
()
pkg/cmd/api/pagination.go:160
Method
PreferEditorPrompt
PreferEditorPrompt calls PreferEditorPromptFunc.
internal/gh/mock/config.go:723
Method
PreferEditorPromptCalls
PreferEditorPromptCalls gets all the calls that were made to PreferEditorPrompt. Check the length with: len(mockedConfig.PreferEditorPromptCalls())
internal/gh/mock/config.go:742
Function
PrintChecksListenHint
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
Function
PrintIssues
(io *iostreams.IOStreams, now time.Time, prefix string, totalCount int, issues []api.Issue)
pkg/cmd/issue/shared/display.go:16
Function
PrintListenHint
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
Method
Printf
Printf writes the formatted arguments to the stderr writer.
pkg/cmd/attestation/io/handler.go:33
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:774
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:791
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:808
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:825
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:842
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:859
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:876
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:893
Method
Project
()
pkg/cmd/project/shared/queries/queries.go:910
Method
ProjectFeatures
()
internal/featuredetection/detector_mock.go:23
Method
ProjectFeatures
()
internal/featuredetection/detector_mock.go:57
Method
ProjectsV1
()
internal/featuredetection/feature_detection.go:335
Method
ProjectsV1
()
internal/featuredetection/detector_mock.go:19
Method
ProjectsV1
()
internal/featuredetection/detector_mock.go:53
Method
Prompt
Prompt calls PromptFunc.
internal/gh/mock/config.go:787
Method
PromptCalls
PromptCalls gets all the calls that were made to Prompt. Check the length with: len(mockedConfig.PromptCalls())
internal/gh/mock/config.go:806
Method
ProtoMessage
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:42
Method
ProtoMessage
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:85
Method
ProtoMessage
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:44
Method
ProtoMessage
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:94
Method
ProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:45
Method
ProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:100
Method
ProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:154
Method
ProtoMessage
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:201
Method
ProtoMessage
()
internal/barista/observability/telemetry.pb.go:50
Method
ProtoMessage
()
internal/barista/observability/telemetry.pb.go:117
Method
ProtoMessage
()
internal/barista/observability/telemetry.pb.go:161
Method
ProtoReflect
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:44
Method
ProtoReflect
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:87
Method
ProtoReflect
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:46
Method
ProtoReflect
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:96
Method
ProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:47
Method
ProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:102
Method
ProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:156
Method
ProtoReflect
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:203
Method
ProtoReflect
()
internal/barista/observability/telemetry.pb.go:52
Method
ProtoReflect
()
internal/barista/observability/telemetry.pb.go:119
Method
ProtoReflect
()
internal/barista/observability/telemetry.pb.go:163
Method
ProtocGenTwirpVersion
()
internal/barista/observability/telemetry.twirp.go:516
Method
ProtocGenTwirpVersion
ProtocGenTwirpVersion is the semantic version string of the version of twirp used to generate this file.
internal/barista/observability/telemetry.twirp.go:562
Method
Pull
(remote, branch string)
pkg/cmd/extension/git.go:54
Method
Pull
(remote, branch string)
pkg/cmd/extension/mocks.go:45
← previous
next →
4,801–4,900 of 7,487, ranked by callers