MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 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:105
↓ 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:42
↓ 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:772
↓ 1 callersFunctionNewFailTestClient
()
pkg/cmd/attestation/api/mock_client.go:68
↓ 1 callersFunctionNewIssueState
(ctx CreateContext, opts CreateOptions, apiActorsSupported bool)
pkg/cmd/pr/create/create.go:737
↓ 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:173
↓ 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:335
↓ 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:105
↓ 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:103
↓ 1 callersMethodPreferEditorPrompt
(hostname string)
internal/config/config.go:183
↓ 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 callersFunctionPrintMessage
(io *iostreams.IOStreams, s string)
pkg/cmd/pr/shared/display.go:62
↓ 1 callersMethodProjectFeatures
()
internal/featuredetection/feature_detection.go:20
↓ 1 callersMethodProjectFeatures
()
internal/featuredetection/feature_detection.go:350
↓ 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:178
↓ 1 callersMethodPullRequestFeatures
()
internal/featuredetection/feature_detection.go:225
↓ 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:146
↓ 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:562
↓ 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
↓ 1 callersFunctionRegisterJupyterServerHostServer
(s grpc.ServiceRegistrar, srv JupyterServerHostServer)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:69
↓ 1 callersFunctionRegisterSshServerHostServer
(s grpc.ServiceRegistrar, srv SshServerHostServer)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:69
↓ 1 callersMethodRemove
(name string)
pkg/cmd/extension/manager.go:579
↓ 1 callersMethodRemove
(value string)
pkg/set/string_set.go:31
↓ 1 callersFunctionRemoveBlockedBy
RemoveBlockedBy removes a "blocked by" relationship between two issues.
api/queries_issue.go:615
↓ 1 callersMethodRemoveCalls
RemoveCalls gets all the calls that were made to Remove. Check the length with: len(mockedExtensionManager.RemoveCalls())
pkg/extensions/manager_mock.go:372
↓ 1 callersFunctionRemoveDiacritics
RemoveDiacritics returns the input value without "diacritics", or accent marks
internal/text/text.go:109
↓ 1 callersFunctionRemovePullRequestReviews
RemovePullRequestReviews removes requested reviewers from a pull request using the REST API. Team identifiers can be in "org/slug" format.
api/queries_pr_review.go:316
↓ 1 callersFunctionRemoveSubIssue
RemoveSubIssue removes a sub-issue from a parent issue.
api/queries_issue.go:565
↓ 1 callersMethodRender
Render processes the given logs and writes the rendered output to w. Errors are returned when an unexpected log entry is encountered.
pkg/cmd/agent-task/shared/log.go:58
↓ 1 callersMethodReplaceSlice
ReplaceSlice replaces usages of `@copilot` in a slice with Copilot's login.
pkg/cmd/pr/shared/params.go:365
↓ 1 callersFunctionRepoAssignableActors
RepoAssignableActors fetches all the assignable actors for a repository on GitHub hosts that support Actor assignees.
api/queries_repo.go:1288
↓ 1 callersFunctionRepoAssignableUsers
RepoAssignableUsers fetches all the assignable users for a repository
api/queries_repo.go:1237
↓ 1 callersFunctionRepoAssigneeSearchFunc
RepoAssigneeSearchFunc returns a search function for MultiSelectWithSearch that dynamically fetches assignable actors at the repository level. Used du
pkg/cmd/pr/shared/editable.go:675
↓ 1 callersFunctionRepoFindForks
RepoFindForks finds forks of the repo that are affiliated with the viewer
api/queries_repo.go:696
↓ 1 callersMethodRepoHost
RepoHost is the GitHub hostname of the repository
api/queries_repo.go:262
↓ 1 callersFunctionRepoLabels
RepoLabels fetches all the labels in a repository
api/queries_repo.go:1421
↓ 1 callersMethodRepoMetadataFetch
(api.RepoMetadataInput)
pkg/cmd/pr/shared/survey.go:154
↓ 1 callersMethodRepoName
RepoName is the name of the repository
api/queries_repo.go:257
↓ 1 callersFunctionRepoNameFromRemote
RepoNameFromRemote extracts "owner/repo" from a git remote URL.
internal/skills/registry/registry.go:455
↓ 1 callersFunctionRepoNetworkStubResponse
(owner, repo, defaultBranch, permission string)
pkg/httpmock/legacy.go:54
↓ 1 callersFunctionRepoParent
RepoParent finds out the parent repository of a fork
api/queries_repo.go:441
↓ 1 callersFunctionRepoProjects
RepoProjects fetches all open projects for a repository.
api/queries_repo.go:1102
↓ 1 callersFunctionRepoProjectsV2
RepoProjectsV2 fetches all open projectsV2 for a repository.
api/queries_projects_v2.go:247
↓ 1 callersMethodRepositoryFeatures
()
internal/featuredetection/feature_detection.go:294
↓ 1 callersFunctionRequiredStatusCheckRollupGraphQL
(prID, after string, includeEvent bool)
api/query_builder.go:270
↓ 1 callersMethodReset
()
pkg/surveyext/editor_test.go:273
↓ 1 callersMethodResetHard
(string)
pkg/cmd/repo/sync/git.go:19
↓ 1 callersMethodResolve
()
pkg/cmd/pr/checkout/checkout.go:401
↓ 1 callersMethodResolve
()
pkg/cmd/pr/checkout/checkout.go:409
↓ 1 callersMethodResolve
()
pkg/cmd/pr/checkout/checkout.go:436
↓ 1 callersFunctionResolveRemotesToRepos
(remotes Remotes, client *api.Client, base string)
context/context.go:19
↓ 1 callersMethodRetrieve
()
pkg/cmd/pr/edit/edit.go:614
← previousnext →2,701–2,800 of 7,487, ranked by callers