MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 1 callersFunctionNewCmdRefresh
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*RefreshOptions) error)
pkg/cmd/auth/refresh/refresh.go:48
↓ 1 callersFunctionNewCmdRename
(f *cmdutil.Factory, runf func(*RenameOptions) error)
pkg/cmd/gist/rename/rename.go:31
↓ 1 callersFunctionNewCmdRename
(f *cmdutil.Factory, runf func(*RenameOptions) error)
pkg/cmd/repo/rename/rename.go:38
↓ 1 callersFunctionNewCmdReopen
(f *cmdutil.Factory, runF func(*ReopenOptions) error)
pkg/cmd/issue/reopen/reopen.go:28
↓ 1 callersFunctionNewCmdReopen
(f *cmdutil.Factory, runF func(*ReopenOptions) error)
pkg/cmd/pr/reopen/reopen.go:25
↓ 1 callersFunctionNewCmdRepos
(f *cmdutil.Factory, runF func(*ReposOptions) error)
pkg/cmd/search/repos/repos.go:29
↓ 1 callersFunctionNewCmdRerun
(f *cmdutil.Factory, runF func(*RerunOptions) error)
pkg/cmd/run/rerun/rerun.go:36
↓ 1 callersFunctionNewCmdRevert
(f *cmdutil.Factory, runF func(*RevertOptions) error)
pkg/cmd/pr/revert/revert.go:30
↓ 1 callersFunctionNewCmdRun
(f *cmdutil.Factory, runF func(*RunOptions) error)
pkg/cmd/workflow/run/run.go:51
↓ 1 callersFunctionNewCmdSet
(f *cmdutil.Factory, runF func(*SetOptions) error)
pkg/cmd/alias/set/set.go:29
↓ 1 callersFunctionNewCmdSet
(f *cmdutil.Factory, runF func(*SetOptions) error)
pkg/cmd/variable/set/set.go:44
↓ 1 callersFunctionNewCmdSetDefault
(f *cmdutil.Factory, runF func(*SetDefaultOptions) error)
pkg/cmd/repo/setdefault/setdefault.go:53
↓ 1 callersFunctionNewCmdSetupGit
(f *cmdutil.Factory, runF func(*SetupGitOptions) error)
pkg/cmd/auth/setupgit/setupgit.go:27
↓ 1 callersFunctionNewCmdSkills
NewCmdSkills returns the top-level "skill" command.
pkg/cmd/skills/skills.go:17
↓ 1 callersFunctionNewCmdStatus
(f *cmdutil.Factory, runF func(*StatusOptions) error)
pkg/cmd/auth/status/status.go:208
↓ 1 callersFunctionNewCmdStatus
(f *cmdutil.Factory, runF func(*StatusOptions) error)
pkg/cmd/issue/status/status.go:27
↓ 1 callersFunctionNewCmdStatus
(f *cmdutil.Factory, runF func(*StatusOptions) error)
pkg/cmd/status/status.go:43
↓ 1 callersFunctionNewCmdStatus
(f *cmdutil.Factory, runF func(*StatusOptions) error)
pkg/cmd/pr/status/status.go:42
↓ 1 callersFunctionNewCmdSwitch
(f *cmdutil.Factory, runF func(*SwitchOptions) error)
pkg/cmd/auth/switch/switch.go:24
↓ 1 callersFunctionNewCmdSync
(f *cmdutil.Factory, runF func(*SyncOptions) error)
pkg/cmd/repo/sync/sync.go:36
↓ 1 callersFunctionNewCmdToken
(f *cmdutil.Factory, runF func(*TokenOptions) error)
pkg/cmd/auth/token/token.go:25
↓ 1 callersFunctionNewCmdUnarchive
(f *cmdutil.Factory, runF func(*UnarchiveOptions) error)
pkg/cmd/repo/unarchive/unarchive.go:28
↓ 1 callersFunctionNewCmdUnlink
(f *cmdutil.Factory, runF func(config unlinkConfig) error)
pkg/cmd/project/unlink/unlink.go:40
↓ 1 callersFunctionNewCmdUnlock
(f *cmdutil.Factory, parentName string, runF func(string, *LockOptions) error)
pkg/cmd/issue/lock/lock.go:180
↓ 1 callersFunctionNewCmdUpdateBranch
(f *cmdutil.Factory, runF func(*UpdateBranchOptions) error)
pkg/cmd/pr/update-branch/update_branch.go:30
↓ 1 callersFunctionNewCmdVerify
(f *cmdutil.Factory, runF func(config *VerifyConfig) error)
pkg/cmd/release/verify/verify.go:40
↓ 1 callersFunctionNewCmdVerifyAsset
(f *cmdutil.Factory, runF func(*VerifyAssetConfig) error)
pkg/cmd/release/verify-asset/verify_asset.go:38
↓ 1 callersFunctionNewCmdView
NewCmdView creates the "discussion view" command.
pkg/cmd/discussion/view/view.go:96
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/ruleset/view/view.go:36
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/release/view/view.go:37
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/agent-task/view/view.go:57
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(config viewConfig) error)
pkg/cmd/project/view/view.go:31
↓ 1 callersFunctionNewCmdView
NewCmdView creates the gh issue artifact view command.
pkg/cmd/issue/artifact/view/view.go:41
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/gist/view/view.go:42
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/repo/license/view/view.go:28
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*viewOptions) error)
pkg/cmd/repo/autolink/view/view.go:28
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/repo/view/view.go:36
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/repo/gitignore/view/view.go:24
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/run/view/view.go:108
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/event/subscription/view/view.go:31
↓ 1 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/workflow/view/view.go:45
↓ 1 callersFunctionNewCmdWatch
(f *cmdutil.Factory, runF func(*WatchOptions) error)
pkg/cmd/run/watch/watch.go:44
↓ 1 callersFunctionNewCodespaceHostClient
(cc grpc.ClientConnInterface)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:33
↓ 1 callersFunctionNewCreateContext
(opts *CreateOptions)
pkg/cmd/pr/create/create.go:771
↓ 1 callersFunctionNewFailTestClient
()
pkg/cmd/attestation/api/mock_client.go:68
↓ 1 callersFunctionNewIssueState
(ctx CreateContext, opts CreateOptions, apiActorsSupported bool)
pkg/cmd/pr/create/create.go:736
↓ 1 callersFunctionNewJupyterServerHostClient
(cc grpc.ClientConnInterface)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:32
↓ 1 callersFunctionNewLister
(httpClient *http.Client)
pkg/cmd/pr/shared/lister.go:32
↓ 1 callersFunctionNewManager
(ios *iostreams.IOStreams, gc *git.Client, ghPath string)
pkg/cmd/extension/manager.go:60
↓ 1 callersFunctionNewMockLister
(result *api.PullRequestAndTotalCount, err error)
pkg/cmd/pr/shared/lister.go:156
↓ 1 callersFunctionNewMockSigstoreVerifierWithMockResults
(t *testing.T, mockResults []*AttestationProcessingResult)
pkg/cmd/attestation/verification/mock_verifier.go:58
↓ 1 callersFunctionNewSshServerHostClient
(cc grpc.ClientConnInterface)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:32
↓ 1 callersFunctionNewStatusGetter
(client *http.Client, hostname string, opts *StatusOptions)
pkg/cmd/status/status.go:192
↓ 1 callersFunctionNewTelemetryAPIProtobufClient
NewTelemetryAPIProtobufClient creates a Protobuf client that implements the TelemetryAPI interface. It communicates using Protobuf and can be configur
internal/barista/observability/telemetry.twirp.go:54
↓ 1 callersFunctionNewTemplateManager
(httpClient *http.Client, repo ghrepo.Interface, p iprompter, dir string, allowFS bool, isPR bool)
pkg/cmd/pr/shared/templates.go:144
↓ 1 callersFunctionNoSuchAnswerErr
(answer string, options []string)
internal/prompter/test.go:175
↓ 1 callersMethodNotifyCodespaceOfClientActivityCalls
NotifyCodespaceOfClientActivityCalls gets all the calls that were made to NotifyCodespaceOfClientActivity. Check the length with: len(mockedCodespac
internal/codespaces/rpc/codespace/codespace_host_service.v1.proto.mock.go:93
↓ 1 callersMethodOnREST
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:139
↓ 1 callersMethodOnREST500ErrorHandler
always returns a 500
pkg/cmd/attestation/api/mock_githubApiClient_test.go:70
↓ 1 callersMethodOnRESTSuccessWithNextPage
(hostname, method, p string, body io.Reader, data any)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:38
↓ 1 callersMethodOrderBy
()
pkg/cmd/label/http.go:47
↓ 1 callersFunctionOrganizationProjects
OrganizationProjects fetches all open projects for an organization.
api/queries_org.go:10
↓ 1 callersFunctionOrganizationProjectsV2
OrganizationProjectsV2 fetches all open projectsV2 for an organization.
api/queries_projects_v2.go:208
↓ 1 callersFunctionOrganizationTeams
OrganizationTeams fetches all the teams in an organization
api/queries_org.go:77
↓ 1 callersMethodOutPrintf
(f string, v ...any)
pkg/cmd/attestation/io/handler.go:40
↓ 1 callersMethodOutPrintln
(v ...any)
pkg/cmd/attestation/io/handler.go:52
↓ 1 callersMethodOwnerCalls
OwnerCalls gets all the calls that were made to Owner. Check the length with: len(mockedExtension.OwnerCalls())
pkg/extensions/extension_mock.go:311
↓ 1 callersMethodOwnerLogin
()
pkg/cmd/project/shared/queries/queries.go:295
↓ 1 callersMethodOwnerLogin
()
pkg/cmd/project/shared/queries/queries.go:329
↓ 1 callersMethodPager
(hostname string)
internal/config/config.go:176
↓ 1 callersFunctionParseFullReference
ParseFullReference parses a short issue/pull request reference of the form "owner/repo#number", where owner, repo and number are all required.
pkg/cmd/pr/shared/finder.go:333
↓ 1 callersFunctionParseIssuesFromArgs
(args []string)
pkg/cmd/issue/shared/lookup.go:21
↓ 1 callersFunctionParseSessionIDFromURL
ParseSessionIDFromURL parses session ID from a pull request's agent session URL, which is of the form: `https://github.com/OWNER/REPO/pull/NUMBER/ag
pkg/cmd/agent-task/shared/capi.go:79
↓ 1 callersFunctionPollPostCreateStates
PollPostCreateStates watches for state changes in a codespace, and calls the supplied poller for each batch of state changes. It runs until it encount
internal/codespaces/states.go:40
↓ 1 callersMethodPostVersion
()
internal/config/migration/multi_account.go:91
↓ 1 callersMethodPostVersion
PostVersion is the config version that must be applied after migration
internal/gh/gh.go:106
↓ 1 callersMethodPreVersion
()
internal/config/migration/multi_account.go:85
↓ 1 callersMethodPreVersion
PreVersion is the required config version for this to be applied
internal/gh/gh.go:104
↓ 1 callersMethodPreferEditorPrompt
(hostname string)
internal/config/config.go:186
↓ 1 callersMethodPreview
()
pkg/cmd/status/status.go:114
↓ 1 callersMethodPrintBulletPoints
(rows [][]string)
pkg/cmd/attestation/io/handler.go:71
↓ 1 callersFunctionPrintHeader
(io *iostreams.IOStreams, s string)
pkg/cmd/pr/shared/display.go:58
↓ 1 callersFunctionPrintListenHint
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:19
↓ 1 callersFunctionPrintMessage
(io *iostreams.IOStreams, s string)
pkg/cmd/pr/shared/display.go:62
↓ 1 callersMethodProjectFeatures
()
internal/featuredetection/feature_detection.go:23
↓ 1 callersMethodProjectFeatures
()
internal/featuredetection/feature_detection.go:389
↓ 1 callersMethodProjectIds
ProjectIds returns a slice containing IDs of projects v1 that the issue or a PR has to be linked to.
pkg/cmd/pr/shared/editable.go:217
↓ 1 callersMethodProjectV2Ids
ProjectV2Ids returns a pair of slices. The first is the projects the item should be added to. The second is the projects the items should be removed f
pkg/cmd/pr/shared/editable.go:235
↓ 1 callersMethodPrompt
(hostname string)
internal/config/config.go:181
↓ 1 callersMethodPullRequestFeatures
()
internal/featuredetection/feature_detection.go:264
↓ 1 callersFunctionPullRequestReady
(client *Client, repo ghrepo.Interface, pr *PullRequest)
api/queries_pr.go:805
↓ 1 callersFunctionPullRequestRevert
(client *Client, repo ghrepo.Interface, params githubv4.RevertPullRequestInput)
api/queries_pr.go:823
↓ 1 callersMethodQueryWithContext
QueryWithContext performs a GraphQL query based on a struct and parses the response with the same struct as the receiver. If there are errors in the r
api/client.go:147
↓ 1 callersFunctionRawCommentList
(comments api.Comments, reviews api.PullRequestReviews)
pkg/cmd/pr/shared/comments.go:29
↓ 1 callersMethodReactions
()
pkg/cmd/pr/shared/comments.go:25
↓ 1 callersMethodRead
(p []byte)
script/ghmock/tls.go:136
↓ 1 callersMethodRead
(p []byte)
pkg/cmd/api/pagination.go:123
↓ 1 callersMethodRead
(p []byte)
pkg/cmd/event/listen/listen.go:565
↓ 1 callersMethodRecord
Record discards the event.
internal/telemetry/telemetry.go:499
↓ 1 callersFunctionRegisterCodespaceHostServer
(s grpc.ServiceRegistrar, srv CodespaceHostServer)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:83
← previousnext →2,701–2,800 of 7,572, ranked by callers