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
NameForSubmit
()
pkg/cmd/pr/shared/templates.go:300
Function
NewCmdAccessibility
(f *cmdutil.Factory)
pkg/cmd/accessibility/accessibility.go:25
Function
NewCmdActions
(f *cmdutil.Factory)
pkg/cmd/actions/actions.go:10
Function
NewCmdAdd
(f *cmdutil.Factory, runF func(*AddOptions) error)
pkg/cmd/gpg-key/add/add.go:26
Function
NewCmdAdd
(f *cmdutil.Factory, runF func(*AddOptions) error)
pkg/cmd/repo/deploy-key/add/add.go:26
Function
NewCmdAdd
(f *cmdutil.Factory, runF func(*AddOptions) error)
pkg/cmd/ssh-key/add/add.go:26
Function
NewCmdAlias
(f *cmdutil.Factory)
pkg/cmd/alias/alias.go:13
Function
NewCmdArtifact
NewCmdArtifact returns the gh issue artifact command group, which is in preview. It inherits -R from gh issue. telemetry records --attach use, as in t
pkg/cmd/issue/artifact/artifact.go:21
Function
NewCmdAttestation
(f *cmdutil.Factory)
pkg/cmd/attestation/attestation.go:14
Function
NewCmdAuth
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder)
pkg/cmd/auth/auth.go:17
Function
NewCmdAutolink
(f *cmdutil.Factory)
pkg/cmd/repo/autolink/autolink.go:13
Function
NewCmdCache
(f *cmdutil.Factory)
pkg/cmd/cache/cache.go:11
Function
NewCmdCodespace
(f *cmdutil.Factory)
pkg/cmd/codespace/root.go:18
Function
NewCmdConfig
(f *cmdutil.Factory)
pkg/cmd/config/config.go:16
Function
NewCmdConfigClearCache
(f *cmdutil.Factory, runF func(*ClearCacheOptions) error)
pkg/cmd/config/clear-cache/clear_cache.go:19
Function
NewCmdCredential
(f *cmdutil.Factory, runF func(*CredentialOptions) error)
pkg/cmd/auth/gitcredential/helper.go:30
Function
NewCmdCredits
(f *cmdutil.Factory, runF func(*CreditsOptions) error)
pkg/cmd/repo/credits/credits.go:34
Function
NewCmdDelete
(f *cmdutil.Factory, runF func(*DeleteOptions) error)
pkg/cmd/repo/deploy-key/delete/delete.go:21
Function
NewCmdDeployKey
(f *cmdutil.Factory)
pkg/cmd/repo/deploy-key/deploy-key.go:11
Function
NewCmdDiscussion
NewCmdDiscussion returns the top-level "discussion" command.
pkg/cmd/discussion/discussion.go:15
Function
NewCmdEvent
(f *cmdutil.Factory)
pkg/cmd/event/event.go:12
Function
NewCmdGPGKey
(f *cmdutil.Factory)
pkg/cmd/gpg-key/gpg_key.go:11
Function
NewCmdGist
(f *cmdutil.Factory)
pkg/cmd/gist/gist.go:16
Function
NewCmdGitIgnore
(f *cmdutil.Factory)
pkg/cmd/repo/gitignore/gitignore.go:10
Function
NewCmdIssue
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder)
pkg/cmd/issue/issue.go:25
Function
NewCmdLabel
(f *cmdutil.Factory)
pkg/cmd/label/label.go:8
Function
NewCmdLicense
(f *cmdutil.Factory)
pkg/cmd/repo/license/license.go:10
Function
NewCmdLicenses
(f *cmdutil.Factory)
pkg/cmd/licenses/licenses.go:11
Function
NewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/gpg-key/list/list.go:22
Function
NewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/repo/deploy-key/list/list.go:31
Function
NewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/ssh-key/list/list.go:26
Function
NewCmdOrg
(f *cmdutil.Factory)
pkg/cmd/org/org.go:10
Function
NewCmdPR
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder)
pkg/cmd/pr/pr.go:27
Function
NewCmdPin
(f *cmdutil.Factory, runF func(*PinOptions) error)
pkg/cmd/issue/pin/pin.go:26
Function
NewCmdPreview
(f *cmdutil.Factory)
pkg/cmd/preview/preview.go:10
Function
NewCmdProject
(f *cmdutil.Factory)
pkg/cmd/project/project.go:28
Function
NewCmdPrompter
(f *cmdutil.Factory, runF func(*prompterOptions) error)
pkg/cmd/preview/prompter/prompter.go:22
Function
NewCmdRelease
(f *cmdutil.Factory)
pkg/cmd/release/release.go:18
Function
NewCmdRepo
(f *cmdutil.Factory)
pkg/cmd/repo/repo.go:29
Function
NewCmdRepoCredits
(f *cmdutil.Factory, runF func(*CreditsOptions) error)
pkg/cmd/repo/credits/credits.go:72
Function
NewCmdRuleset
(f *cmdutil.Factory)
pkg/cmd/ruleset/ruleset.go:12
Function
NewCmdRun
(f *cmdutil.Factory)
pkg/cmd/run/run.go:15
Function
NewCmdSSHKey
(f *cmdutil.Factory)
pkg/cmd/ssh-key/ssh_key.go:11
Function
NewCmdSearch
(f *cmdutil.Factory)
pkg/cmd/search/search.go:15
Function
NewCmdSecret
(f *cmdutil.Factory)
pkg/cmd/secret/secret.go:12
Function
NewCmdSendTelemetry
(f *cmdutil.Factory)
pkg/cmd/send-telemetry/send_telemetry.go:29
Function
NewCmdSubscription
(f *cmdutil.Factory)
pkg/cmd/event/subscription/subscription.go:14
Function
NewCmdUnpin
(f *cmdutil.Factory, runF func(*UnpinOptions) error)
pkg/cmd/issue/unpin/unpin.go:27
Function
NewCmdUpload
(f *cmdutil.Factory, runF func(*UploadOptions) error)
pkg/cmd/release/upload/upload.go:33
Function
NewCmdVariable
(f *cmdutil.Factory)
pkg/cmd/variable/variable.go:13
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:225
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
← previous
next →
4,801–4,900 of 7,572, ranked by callers