MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 1 callersFunctionisWindowsTarget
()
script/build.go:141
↓ 1 callersFunctionisWorkflowFile
(f string)
pkg/cmd/workflow/shared/shared.go:155
↓ 1 callersFunctionisolateArtifacts
(wantNames []string, wantPatterns []string)
pkg/cmd/run/download/download.go:215
↓ 1 callersFunctionissueLabelList
(issue *api.Issue, cs *iostreams.ColorScheme, colorize bool)
pkg/cmd/issue/shared/display.go:51
↓ 1 callersFunctionissueNodeIDByNumberMatcher
issueNodeIDByNumberMatcher matches an IssueNodeID GraphQL query whose number variable equals the given value. Used by tests that issue multiple IssueN
pkg/cmd/issue/create/create_test.go:2221
↓ 1 callersFunctionissueNodeIDByNumberMatcher
issueNodeIDByNumberMatcher matches an IssueNodeID GraphQL query whose number variable equals the given value. Used by tests that issue multiple IssueN
pkg/cmd/issue/edit/edit_test.go:2286
↓ 1 callersFunctionissueNumberFromOpts
(t *testing.T, v any)
pkg/cmd/issue/argparsetest/argparsetest.go:112
↓ 1 callersFunctionissueStateTitleWithColor
(cs *iostreams.ColorScheme, issue *api.Issue)
pkg/cmd/issue/view/view.go:393
↓ 1 callersFunctionissueTransfer
(httpClient *http.Client, issueID string, destRepo ghrepo.Interface)
pkg/cmd/issue/transfer/transfer.go:102
↓ 1 callersFunctionjobLogFilenameRegexp
A job run log file is a top-level .txt file whose name starts with an ordinal number; e.g., "0_jobname.txt".
pkg/cmd/run/view/logs.go:264
↓ 1 callersFunctionjoinList
joinList joins items the way the prompt reads them: "a", "a and b", or "a, b, and c".
pkg/cmd/issue/artifact/delete/delete.go:206
↓ 1 callersFunctionjoinPath
joinPath builds a REST API URL path by percent-encoding each component with url.PathEscape and joining them with single slash separators. With no com
internal/safeurl/safeurl.go:135
↓ 1 callersFunctionjoinPathWithHostPrefix
joinPathWithHostPrefix builds a full REST API URL by prepending hostPrefix to the path produced by JoinPath. A single slash is ensured at the join bet
internal/safeurl/safeurl.go:152
↓ 1 callersFunctionjournal
(cleaned: boolean)
evals/src/harness.test.ts:361
↓ 1 callersFunctionjson
(text: string)
evals/src/suites/events/grading/observations.ts:11
↓ 1 callersFunctionjsonFieldsFor
(cmd *cobra.Command)
pkg/jsonfieldstest/jsonfieldstest.go:13
↓ 1 callersFunctionjsonKind
(v any)
script/ghmock/set.go:447
↓ 1 callersFunctionkeyList
()
script/ghmock/terminal_common.go:52
↓ 1 callersFunctionkeypairForPrivateKey
keypairForPrivateKey returns the KeyPair with the specified private key if it and the public key both exist
pkg/cmd/codespace/ssh.go:524
↓ 1 callersFunctionkiroResourcePath
kiroResourcePath returns a slash-separated path suitable for use in the "resources" field of a Kiro agent config. When the install directory is inside
pkg/cmd/skills/install/install.go:1235
↓ 1 callersMethodlabel
(key string)
internal/prompter/multi_select_with_search.go:206
↓ 1 callersFunctionlastQuery
lastQuery returns the query gh most recently sent for a GraphQL request name, or "" if it hasn't sent one.
script/ghmock/set.go:286
↓ 1 callersFunctionlastRun
lastRun keeps only the entries from the most recent run.
script/ghmock/log.go:85
↓ 1 callersFunctionlatestCommit
(client *api.Client, repo ghrepo.Interface, branch string)
pkg/cmd/repo/sync/http.go:27
↓ 1 callersFunctionleft
()
internal/prompter/huh_prompter_test.go:85
↓ 1 callersFunctionlegacyJobLogFilenameRegexp
A legacy job run log file is a top-level .txt file whose name starts with a negative number which is the ID of the run; e.g., "-2147483648_jobname.txt
pkg/cmd/run/view/logs.go:272
↓ 1 callersFunctionlifetimeFromEnv
(name string)
internal/debug/config.go:48
↓ 1 callersFunctionlineDiff
lineDiff lists the lines removed from a ("- ") and added in b ("+ ").
script/ghmock/report.go:496
↓ 1 callersFunctionlinkDestination
(n ast.Node)
internal/attachments/references.go:304
↓ 1 callersFunctionlinkHandler
(name string)
cmd/gen-docs/main.go:88
↓ 1 callersFunctionlinkReferenceDefinitions
linkReferenceDefinitions indexes every one in the document by its destination. One inside a code fence or a code span is not parsed as a definition at
internal/attachments/references.go:317
↓ 1 callersFunctionlinkReferenceDestination
linkReferenceDestination finds the destination in a link reference definition, as the "./f.png" of [ref]: ./f.png "a title", so that rewriting it leav
internal/attachments/references.go:687
↓ 1 callersFunctionlinkRepo
(c *api.Client, config linkConfig)
pkg/cmd/project/link/link.go:196
↓ 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 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:218
↓ 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:291
↓ 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:1088
↓ 1 callersFunctionlogConventions
(io *iostreams.IOStreams, skills []discovery.Skill)
pkg/cmd/skills/install/install.go:646
↓ 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:156
↓ 1 callersFunctionlogoutWithRevocation
(opts *LogoutOptions, authCfg gh.AuthConfig, hostname, username string)
pkg/cmd/auth/logout/logout.go:225
↓ 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:551
↓ 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:465
↓ 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:457
↓ 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:865
↓ 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
← previousnext →3,401–3,500 of 7,572, ranked by callers