MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

MethodNameForSubmit
()
pkg/cmd/pr/shared/templates.go:300
FunctionNewCmdAccessibility
(f *cmdutil.Factory)
pkg/cmd/accessibility/accessibility.go:25
FunctionNewCmdActions
(f *cmdutil.Factory)
pkg/cmd/actions/actions.go:10
FunctionNewCmdAdd
(f *cmdutil.Factory, runF func(*AddOptions) error)
pkg/cmd/gpg-key/add/add.go:26
FunctionNewCmdAdd
(f *cmdutil.Factory, runF func(*AddOptions) error)
pkg/cmd/repo/deploy-key/add/add.go:26
FunctionNewCmdAdd
(f *cmdutil.Factory, runF func(*AddOptions) error)
pkg/cmd/ssh-key/add/add.go:26
FunctionNewCmdAlias
(f *cmdutil.Factory)
pkg/cmd/alias/alias.go:13
FunctionNewCmdArtifact
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
FunctionNewCmdAttestation
(f *cmdutil.Factory)
pkg/cmd/attestation/attestation.go:14
FunctionNewCmdAuth
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder)
pkg/cmd/auth/auth.go:17
FunctionNewCmdAutolink
(f *cmdutil.Factory)
pkg/cmd/repo/autolink/autolink.go:13
FunctionNewCmdCache
(f *cmdutil.Factory)
pkg/cmd/cache/cache.go:11
FunctionNewCmdCodespace
(f *cmdutil.Factory)
pkg/cmd/codespace/root.go:18
FunctionNewCmdConfig
(f *cmdutil.Factory)
pkg/cmd/config/config.go:16
FunctionNewCmdConfigClearCache
(f *cmdutil.Factory, runF func(*ClearCacheOptions) error)
pkg/cmd/config/clear-cache/clear_cache.go:19
FunctionNewCmdCredential
(f *cmdutil.Factory, runF func(*CredentialOptions) error)
pkg/cmd/auth/gitcredential/helper.go:30
FunctionNewCmdCredits
(f *cmdutil.Factory, runF func(*CreditsOptions) error)
pkg/cmd/repo/credits/credits.go:34
FunctionNewCmdDelete
(f *cmdutil.Factory, runF func(*DeleteOptions) error)
pkg/cmd/repo/deploy-key/delete/delete.go:21
FunctionNewCmdDeployKey
(f *cmdutil.Factory)
pkg/cmd/repo/deploy-key/deploy-key.go:11
FunctionNewCmdDiscussion
NewCmdDiscussion returns the top-level "discussion" command.
pkg/cmd/discussion/discussion.go:15
FunctionNewCmdEvent
(f *cmdutil.Factory)
pkg/cmd/event/event.go:12
FunctionNewCmdGPGKey
(f *cmdutil.Factory)
pkg/cmd/gpg-key/gpg_key.go:11
FunctionNewCmdGist
(f *cmdutil.Factory)
pkg/cmd/gist/gist.go:16
FunctionNewCmdGitIgnore
(f *cmdutil.Factory)
pkg/cmd/repo/gitignore/gitignore.go:10
FunctionNewCmdIssue
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder)
pkg/cmd/issue/issue.go:25
FunctionNewCmdLabel
(f *cmdutil.Factory)
pkg/cmd/label/label.go:8
FunctionNewCmdLicense
(f *cmdutil.Factory)
pkg/cmd/repo/license/license.go:10
FunctionNewCmdLicenses
(f *cmdutil.Factory)
pkg/cmd/licenses/licenses.go:11
FunctionNewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/gpg-key/list/list.go:22
FunctionNewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/repo/deploy-key/list/list.go:31
FunctionNewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/ssh-key/list/list.go:26
FunctionNewCmdOrg
(f *cmdutil.Factory)
pkg/cmd/org/org.go:10
FunctionNewCmdPR
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder)
pkg/cmd/pr/pr.go:27
FunctionNewCmdPin
(f *cmdutil.Factory, runF func(*PinOptions) error)
pkg/cmd/issue/pin/pin.go:26
FunctionNewCmdPreview
(f *cmdutil.Factory)
pkg/cmd/preview/preview.go:10
FunctionNewCmdProject
(f *cmdutil.Factory)
pkg/cmd/project/project.go:28
FunctionNewCmdPrompter
(f *cmdutil.Factory, runF func(*prompterOptions) error)
pkg/cmd/preview/prompter/prompter.go:22
FunctionNewCmdRelease
(f *cmdutil.Factory)
pkg/cmd/release/release.go:18
FunctionNewCmdRepo
(f *cmdutil.Factory)
pkg/cmd/repo/repo.go:29
FunctionNewCmdRepoCredits
(f *cmdutil.Factory, runF func(*CreditsOptions) error)
pkg/cmd/repo/credits/credits.go:72
FunctionNewCmdRuleset
(f *cmdutil.Factory)
pkg/cmd/ruleset/ruleset.go:12
FunctionNewCmdRun
(f *cmdutil.Factory)
pkg/cmd/run/run.go:15
FunctionNewCmdSSHKey
(f *cmdutil.Factory)
pkg/cmd/ssh-key/ssh_key.go:11
FunctionNewCmdSearch
(f *cmdutil.Factory)
pkg/cmd/search/search.go:15
FunctionNewCmdSecret
(f *cmdutil.Factory)
pkg/cmd/secret/secret.go:12
FunctionNewCmdSendTelemetry
(f *cmdutil.Factory)
pkg/cmd/send-telemetry/send_telemetry.go:29
FunctionNewCmdSubscription
(f *cmdutil.Factory)
pkg/cmd/event/subscription/subscription.go:14
FunctionNewCmdUnpin
(f *cmdutil.Factory, runF func(*UnpinOptions) error)
pkg/cmd/issue/unpin/unpin.go:27
FunctionNewCmdUpload
(f *cmdutil.Factory, runF func(*UploadOptions) error)
pkg/cmd/release/upload/upload.go:33
FunctionNewCmdVariable
(f *cmdutil.Factory)
pkg/cmd/variable/variable.go:13
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:225
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
← previousnext →4,801–4,900 of 7,572, ranked by callers