MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 1 callersFunctionlinkTeam
(c *api.Client, config linkConfig)
pkg/cmd/project/link/link.go:211
↓ 1 callersFunctionlinkedBranchRepoFromURL
(branchURL string)
pkg/cmd/issue/develop/develop.go:306
↓ 1 callersFunctionlistArtifacts
listArtifacts lists the artifacts of one type, or of every type when artifactType is empty. gh treats generic and plan artifacts alike as Markdown doc
pkg/cmd/issue/artifact/list/list.go:138
↓ 1 callersFunctionlistAvailableSkills
listAvailableSkills prints discovered skills as a table for non-interactive callers, mirroring the information shown in the interactive picker so the
pkg/cmd/skills/install/install.go:764
↓ 1 callersFunctionlistFiles
(dir string)
pkg/cmd/release/download/download_test.go:1162
↓ 1 callersFunctionlistHeader
(repoName string, count, total int, state string)
pkg/cmd/discussion/list/list.go:305
↓ 1 callersFunctionlistHeader
(repoName string, count int, totalCount int)
pkg/cmd/label/list.go:155
↓ 1 callersFunctionlistHeader
(user string, resultCount, totalCount int)
pkg/cmd/org/list/list.go:94
↓ 1 callersFunctionlistHeader
listHeader counts the artifacts shown. Without a total count from the API, it can't say how many there are in all.
pkg/cmd/issue/artifact/list/list.go:163
↓ 1 callersFunctionlistHeader
(owner string, matchCount, totalMatchCount int, hasFilters bool)
pkg/cmd/repo/list/list.go:219
↓ 1 callersFunctionlistInstalledSkills
(opts *ListOptions)
pkg/cmd/skills/list/list.go:188
↓ 1 callersFunctionlistIssueLabels
(issue *search.Issue, cs *iostreams.ColorScheme, colorize bool)
pkg/cmd/search/shared/shared.go:159
↓ 1 callersFunctionlistResp
listResp builds a mock repository.discussions JSON response.
pkg/cmd/discussion/client/client_test.go:70
↓ 1 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/alias/list/list.go:42
↓ 1 callersFunctionlistTemplateRepositories
(client *http.Client, hostname, owner string)
pkg/cmd/repo/create/http.go:290
↓ 1 callersMethodlisten
(ctx context.Context)
pkg/cmd/event/listen/listen.go:288
↓ 1 callersFunctionlistenTCP
()
internal/codespaces/rpc/invoker.go:256
↓ 1 callersFunctionliteralText
literalText reports the byte ranges inside n that a code span quotes, where a bracket is a character rather than markdown. goldmark parsed them, so th
internal/attachments/references.go:573
↓ 1 callersFunctionloadContent
loadContent fetches the raw file bytes when the Contents API did not return them inline. The API only omits inline content for large files, which it m
pkg/cmd/repo/read-file/read_file.go:217
↓ 1 callersFunctionlocalInit
clone the checkout branch to specified path
pkg/cmd/repo/create/create.go:804
↓ 1 callersFunctionlocalRepoType
(gitClient *git.Client)
pkg/cmd/repo/create/create.go:782
↓ 1 callersFunctionlocalSkillFromDir
(dir string)
internal/skills/discovery/discovery.go:1059
↓ 1 callersFunctionlogConventions
(io *iostreams.IOStreams, skills []discovery.Skill)
pkg/cmd/skills/install/install.go:659
↓ 1 callersFunctionlogin
(t *testing.T, c gh.Config, hostname, username, token, gitProtocol string, secureStorage bool)
pkg/cmd/auth/setupgit/setupgit_test.go:202
↓ 1 callersFunctionlogin
(t *testing.T, c gh.Config, hostname, username, token, protocol string)
pkg/cmd/auth/status/status_test.go:1123
↓ 1 callersFunctionloginRefreshable
(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, expiresAt, refreshTokenExpir
pkg/cmd/auth/status/status_test.go:1129
↓ 1 callersMethodloginRefreshable
(hostname, username string, credential gh.Credential, gitProtocol string, secureStorage bool)
internal/config/refreshable.go:155
↓ 1 callersFunctionlongDescription
(io *iostreams.IOStreams)
pkg/cmd/accessibility/accessibility.go:68
↓ 1 callersFunctionlongPager
longPager provides a pager over a commands Long message. It is currently only used for the reference command
pkg/cmd/root/help_reference.go:16
↓ 1 callersFunctionlookupIssueTypeID
lookupIssueTypeID resolves the chosen issue type to its node ID using the map populated by FetchOptions.
pkg/cmd/issue/edit/edit.go:552
↓ 1 callersFunctionmain
(argv = process.argv.slice(2))
evals/src/replay.ts:45
↓ 1 callersFunctionmain
(argv = process.argv.slice(2))
evals/src/cleanup.ts:14
↓ 1 callersFunctionmain
(argv = process.argv.slice(2))
evals/src/smoke.ts:63
↓ 1 callersMethodmainContent
()
pkg/cmd/extension/browse/model.go:443
↓ 1 callersFunctionmakeConnection
(server *relayServer)
internal/codespaces/connection/tunnels_api_server_mock.go:321
↓ 1 callersFunctionmakeFileUnwriteable
(t *testing.T, file string)
internal/config/migrate_test.go:222
↓ 1 callersFunctionmakeSymlink
(oldname, newname string)
pkg/cmd/extension/symlink_other.go:7
↓ 1 callersFunctionmakeTestAttestation
()
pkg/cmd/attestation/artifact/oci/mock_client.go:12
↓ 1 callersFunctionmanLink
(cmd *cobra.Command)
internal/docs/man.go:241
↓ 1 callersFunctionmanPreamble
(buf *bytes.Buffer, header *GenManHeader, cmd *cobra.Command, dashedName string)
internal/docs/man.go:128
↓ 1 callersFunctionmanPrintAliases
(buf *bytes.Buffer, command *cobra.Command)
internal/docs/man.go:182
↓ 1 callersFunctionmanPrintExitCodes
(buf *bytes.Buffer)
internal/docs/man.go:201
↓ 1 callersFunctionmanPrintJSONFields
(buf *bytes.Buffer, command *cobra.Command)
internal/docs/man.go:190
↓ 1 callersFunctionmanPrintOptions
(buf *bytes.Buffer, command *cobra.Command)
internal/docs/man.go:167
↓ 1 callersFunctionmapAgentHostsToIDs
(hosts []*registry.AgentHost)
pkg/cmd/skills/install/install.go:478
↓ 1 callersFunctionmapCommentFromNode
mapCommentFromNode converts a discussionCommentNode into the domain DiscussionComment type.
pkg/cmd/discussion/client/client.go:504
↓ 1 callersFunctionmapRemotesToNames
(remotes context.Remotes)
pkg/cmd/factory/remote_resolver_test.go:379
↓ 1 callersFunctionmapRepoNamesToIDs
(client *api.Client, host, defaultOwner string, repositoryNames []string)
pkg/cmd/secret/set/set.go:435
↓ 1 callersFunctionmapSkillsToNames
(skills []discovery.Skill)
pkg/cmd/skills/install/install.go:470
↓ 1 callersFunctionmarkTemplateArgs
(config markTemplateConfig)
pkg/cmd/project/mark-template/mark_template.go:129
↓ 1 callersFunctionmarshalErrorToJSON
marshalErrorToJSON returns JSON from a twirp.Error, that can be used as HTTP error response body. If serialization fails, it will use a descriptive In
internal/barista/observability/telemetry.twirp.go:723
↓ 1 callersFunctionmarshalJSON
marshalJSON works like json.Marshal but with HTML-escaping disabled
pkg/jsoncolor/jsoncolor.go:122
↓ 1 callersFunctionmatchAny
(patterns []string, name string)
pkg/cmd/release/download/download.go:251
↓ 1 callersFunctionmatchAnyName
(names []string, name string)
pkg/cmd/run/download/download.go:234
↓ 1 callersFunctionmatchAnyPattern
(patterns []string, name string)
pkg/cmd/run/download/download.go:238
↓ 1 callersFunctionmatchFileInZIPArchive
(zr *zip.Reader, re *regexp.Regexp)
pkg/cmd/run/view/logs.go:350
↓ 1 callersFunctionmatchSelectedSkills
matchSelectedSkills maps display names back to skill structs.
pkg/cmd/skills/install/install.go:878
↓ 1 callersFunctionmatchesSchema
matchesSchema reports whether a value passes the same check as responses.
script/ghmock/restscaffold.go:437
↓ 1 callersMethodmerge
Merge the pull request. May prompt the user for input parameters for the merge.
pkg/cmd/pr/merge/merge.go:281
↓ 1 callersFunctionmergeConflictStatus
(status string)
pkg/cmd/pr/merge/merge.go:822
↓ 1 callersMethodmergeIntrospection
(path string, existing, resolved any, sel ast.SelectionSet, record bool)
script/ghmock/introspection.go:40
↓ 1 callersFunctionmergePullRequest
(client *http.Client, payload mergePayload)
pkg/cmd/pr/merge/http.go:47
↓ 1 callersFunctionmergeScanFilters
(a, b scanFilter)
pkg/cmd/skills/list/list.go:303
↓ 1 callersFunctionmergedProperties
mergedProperties collects an object's properties and required names, including those from allOf.
script/ghmock/schemacmd.go:549
↓ 1 callersFunctionmetadataLine
metadataLine describes the artifact under its name: its number, type, creator and last editor, or for an earlier version, that version's number and wh
pkg/cmd/issue/artifact/view/view.go:267
↓ 1 callersFunctionmigrateConfig
(c *config.Config, hostname, username string)
internal/config/migration/multi_account.go:205
↓ 1 callersFunctionmigrateToken
(hostname, username string, tokenSource tokenSource)
internal/config/migration/multi_account.go:196
↓ 1 callersFunctionmilestoneByNumber
(client *http.Client, repo ghrepo.Interface, number int32)
pkg/cmd/issue/list/list.go:265
↓ 1 callersFunctionmilestoneSurvey
(p EditPrompter, title string, opts []string)
pkg/cmd/pr/shared/editable.go:646
↓ 1 callersFunctionminiRepoExport
(r *Repository)
api/export_repo.go:44
↓ 1 callersFunctionmissingChild
(ref *openapi3.SchemaRef, walked, seg string)
script/ghmock/schemacmd.go:424
↓ 1 callersFunctionmissingMergeConfigForBranch
(client *git.Client, b string)
pkg/cmd/pr/checkout/checkout.go:314
↓ 1 callersFunctionmissingNames
missingNames lists, once each and in order, requests that had no response.
script/ghmock/report.go:279
↓ 1 callersFunctionmissingResponse
missingResponse is what gh gets for a request with no stored response. Its message names the request so the caller knows what to add.
script/ghmock/server.go:328
↓ 1 callersFunctionmockCommentCreate
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/comment/comment_test.go:960
↓ 1 callersFunctionmockCommentCreate
(t *testing.T, reg *httpmock.Registry, wantBody string)
pkg/cmd/pr/comment/comment_test.go:915
↓ 1 callersFunctionmockCommentDelete
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/comment/comment_test.go:988
↓ 1 callersFunctionmockCommentDelete
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/pr/comment/comment_test.go:942
↓ 1 callersFunctionmockCommentUpdate
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/comment/comment_test.go:974
↓ 1 callersFunctionmockCommentUpdate
(t *testing.T, reg *httpmock.Registry, wantBody string)
pkg/cmd/pr/comment/comment_test.go:928
↓ 1 callersFunctionmockIsssueNumberGetWithAssignedActors
(_ *testing.T, reg *httpmock.Registry, number int)
pkg/cmd/issue/edit/edit_test.go:1879
↓ 1 callersFunctionmockIssueGetWithRepository
mockIssueGetWithRepository stubs the issue lookup with a body and the two repository fields the uploader reads. A row states both, so an empty permiss
pkg/cmd/issue/edit/edit_test.go:1843
↓ 1 callersFunctionmockIssueProjectItemsGet
(_ *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:1901
↓ 1 callersFunctionmockIssueUpdate
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:1994
↓ 1 callersFunctionmockIssueUpdateApiActors
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:2016
↓ 1 callersFunctionmockIssueUpdateLabels
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:2025
↓ 1 callersFunctionmockIssueUpdateWithBody
mockIssueUpdateWithBody stubs the issue update and asserts the body it carries.
pkg/cmd/issue/edit/edit_test.go:2005
↓ 1 callersFunctionmockProjectV2ItemUpdate
(t *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:2040
↓ 1 callersFunctionmockProjectV2ItemUpdate
(reg *httpmock.Registry)
pkg/cmd/pr/edit/edit_test.go:1930
↓ 1 callersFunctionmockPullRequestAddReviewers
(reg *httpmock.Registry)
pkg/cmd/pr/edit/edit_test.go:1892
↓ 1 callersFunctionmockPullRequestRemoveReviewers
(reg *httpmock.Registry)
pkg/cmd/pr/edit/edit_test.go:1898
↓ 1 callersFunctionmockPullRequestUpdate
(reg *httpmock.Registry)
pkg/cmd/pr/edit/edit_test.go:1856
↓ 1 callersFunctionmockPullRequestUpdateApiActors
(reg *httpmock.Registry)
pkg/cmd/pr/edit/edit_test.go:1883
↓ 1 callersFunctionmockPullRequestUpdateLabels
(reg *httpmock.Registry)
pkg/cmd/pr/edit/edit_test.go:1915
↓ 1 callersFunctionmockPullRequestUpdateWithBody
(t *testing.T, reg *httpmock.Registry, wantBody string)
pkg/cmd/pr/edit/edit_test.go:1862
↓ 1 callersFunctionmockPullRequestUpdateWithoutBody
A dropped body is absent from the input, which is not the same as a body sent with its old value.
pkg/cmd/pr/edit/edit_test.go:1873
↓ 1 callersFunctionmockRepoMetadata
(_ *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:1915
↓ 1 callersFunctionmockRepoMetadata
(reg *httpmock.Registry, opt mockRepoMetadataOptions)
pkg/cmd/pr/edit/edit_test.go:1737
↓ 1 callersFunctionmockRequestReviewsByLogin
mockRequestReviewsByLogin mocks the RequestReviewsByLogin GraphQL mutation used on github.com when ApiActorsSupported is enabled.
pkg/cmd/pr/edit/edit_test.go:1906
↓ 1 callersFunctionmockRetrieveProjects
(_ *testing.T, reg *httpmock.Registry)
pkg/cmd/pr/create/create_test.go:3021
← previousnext →3,401–3,500 of 7,487, ranked by callers