MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 2 callersFunctionparseLogArgs
(args []string)
script/ghmock/log.go:21
↓ 2 callersFunctionparsePushRevision
(revParseOut []byte)
git/client.go:643
↓ 2 callersFunctionparseRemoteURLOrName
(value string)
git/client.go:1038
↓ 2 callersFunctionparseRemotes
(remotesStr []string)
git/client.go:1000
↓ 2 callersFunctionparseRepoArgs
(args []string)
script/ghmock/gitcmd.go:24
↓ 2 callersFunctionparseRepoVisibility
(s string)
internal/skills/discovery/discovery.go:178
↓ 2 callersFunctionparseRunArgs
(args []string)
script/ghmock/run.go:82
↓ 2 callersFunctionparseSCPArgs
(args []string)
internal/codespaces/ssh.go:146
↓ 2 callersFunctionparseScaffoldArgs
(args []string)
script/ghmock/scaffold.go:22
↓ 2 callersFunctionparseSchemaArgs
(args []string)
script/ghmock/schemacmd.go:30
↓ 2 callersFunctionparseScriptFilter
parseScriptFilter splits a comma-separated GH_ACCEPTANCE_SCRIPT value into individual script names, trimming whitespace and ignoring empty entries.
acceptance/scriptfilter_test.go:11
↓ 2 callersFunctionparseSetArgs
(args []string)
script/ghmock/set.go:36
↓ 2 callersFunctionparseTemplate
(tmpl string)
script/ghmock/restcheck.go:58
↓ 2 callersFunctionparseTrialEvidence
(value: unknown)
evals/src/suites/events/grading/evidence.ts:33
↓ 2 callersFunctionparseWorktrees
parseWorktrees parses the output of `git worktree list --porcelain` into a slice of Worktree. Each record begins with a "worktree <path>" line followe
git/client.go:299
↓ 2 callersFunctionparseWriteArgs
(args []string)
script/ghmock/gitcmd.go:105
↓ 2 callersFunctionpartitionReviewersByType
partitionReviewersByType splits reviewer identifiers into users, bots, and teams. Team identifiers are in the form "org/slug" and are returned as-is.
pkg/cmd/pr/edit/edit.go:627
↓ 2 callersMethodpersistRefreshedCredential
persistRefreshedCredential writes a renewed refreshable credential back to the storage form it already lived in. Refreshable credentials are resolved
internal/config/refreshable.go:714
↓ 2 callersFunctionpersistentWait
(call: Call)
evals/src/suites/events/commands.ts:40
↓ 2 callersFunctionpinRun
(opts *PinOptions)
pkg/cmd/issue/pin/pin.go:82
↓ 2 callersFunctionplainHttpClientFunc
(ios *iostreams.IOStreams, appVersion string, invokingAgent string, telemetryDisabler ghtelemetry.Disabler)
pkg/cmd/factory/default.go:259
↓ 2 callersFunctionpossibleTypeNames
(schema *ast.Schema, def *ast.Definition)
script/ghmock/graphqlcheck.go:453
↓ 2 callersFunctionprAssigneeList
(pr api.PullRequest)
pkg/cmd/pr/view/view.go:428
↓ 2 callersFunctionprLabelList
(pr api.PullRequest, cs *iostreams.ColorScheme)
pkg/cmd/pr/view/view.go:445
↓ 2 callersFunctionprProjectList
(pr api.PullRequest)
pkg/cmd/pr/view/view.go:467
↓ 2 callersFunctionprReviewerList
prReviewerList generates a reviewer list with their last state
pkg/cmd/pr/view/view.go:357
↓ 2 callersFunctionpreciseAgo
(now time.Time, createdAt time.Time)
pkg/cmd/run/shared/shared.go:684
↓ 2 callersMethodpreload
preload loads both schemas before gh starts, so a first-time download doesn't happen while gh waits for a response.
script/ghmock/checker.go:102
↓ 2 callersFunctionpreviewNamesToMIMETypes
(names []string)
pkg/cmd/api/api.go:739
↓ 2 callersFunctionprintArgs
(w io.Writer, args []string)
internal/run/run.go:90
↓ 2 callersFunctionprintAuthWarnings
printAuthWarnings writes each warning recorded by authCfg to w, prefixed with a warning icon.
internal/ghcmd/cmd.go:351
↓ 2 callersFunctionprintError
printError writes err to out, followed by usage information when the error is the result of command misuse. When fullHelp is set the complete help tex
internal/ghcmd/cmd.go:308
↓ 2 callersFunctionprintFlagsHTML
(w io.Writer, fs *pflag.FlagSet)
internal/docs/markdown.go:113
↓ 2 callersFunctionprintHumanComment
(opts *ViewOptions, out io.Writer, c client.DiscussionComment, indent string, isReply bool, isNewest bool)
pkg/cmd/discussion/view/view.go:495
↓ 2 callersFunctionprintItemResults
(config editItemConfig, item *queries.ProjectItem)
pkg/cmd/project/item-edit/item_edit.go:418
↓ 2 callersFunctionprintListenHint
(w io.Writer, detector fd.Detector, pullRequestURL string, h listenHint)
pkg/cmd/event/shared/hint.go:53
↓ 2 callersFunctionprintRawComment
(out io.Writer, c client.DiscussionComment)
pkg/cmd/discussion/view/view.go:597
↓ 2 callersFunctionprintResults
(config linkConfig, linkedTarget string)
pkg/cmd/project/link/link.go:226
↓ 2 callersFunctionprintResults
(config unlinkConfig, linkedTarget string)
pkg/cmd/project/unlink/unlink.go:226
↓ 2 callersFunctionprintSummary
(io *iostreams.IOStreams, counts checkCounts)
pkg/cmd/pr/checks/output.go:69
↓ 2 callersFunctionproblemGroups
(e loggedRequest)
script/ghmock/report.go:170
↓ 2 callersFunctionprocessFiles
(stdin io.ReadCloser, filenameOverride string, filenames []string)
pkg/cmd/gist/create/create.go:190
↓ 2 callersFunctionprocessResponse
(resp *http.Response, opts *ApiOptions, bodyWriter, headersWriter io.Writer, template *template.Template, isFi
pkg/cmd/api/api.go:488
↓ 2 callersFunctionprojectFieldValueData
(v FieldValueNodes)
pkg/cmd/project/shared/queries/queries.go:1739
↓ 2 callersFunctionpromptForHostname
(opts *LoginOptions)
pkg/cmd/auth/login/login.go:299
↓ 2 callersFunctionpromptForSkillOrigin
promptForSkillOrigin asks the user for the source repository of a skill that has no GitHub metadata.
pkg/cmd/skills/update/update.go:723
↓ 2 callersFunctionpromptInstall
promptInstall shows a multi-select picker for the user to choose skills to install from the search results, then runs the install command for each.
pkg/cmd/skills/search/search.go:504
↓ 2 callersFunctionpublishRelease
(httpClient *http.Client, host string, releaseURL safeurl.SafeURL, discussionCategory string, isLatest *bool)
pkg/cmd/release/create/http.go:182
↓ 2 callersFunctionpullRequestError
(repo ghrepo.Interface, number int)
pkg/cmd/issue/artifact/shared/shared.go:274
↓ 2 callersFunctionrandomSerial
randomSerial returns a random serial number, so certificates from different runs never share one.
script/ghmock/tls.go:69
↓ 2 callersFunctionrandomString
(n int)
acceptance/acceptance_test.go:1261
↓ 2 callersFunctionreactionGroupList
(groups []client.ReactionGroup)
pkg/cmd/discussion/view/view.go:61
↓ 2 callersFunctionreadDirRun
(opts *ReadDirOptions)
pkg/cmd/repo/read-dir/read_dir.go:101
↓ 2 callersFunctionreadFileRun
(opts *ReadFileOptions)
pkg/cmd/repo/read-file/read_file.go:129
↓ 2 callersFunctionreadLog
(t *testing.T, path string)
script/api-host-gateway/gateway/main_test.go:134
↓ 2 callersFunctionreadTestdata
(t *testing.T, name string)
script/ghmock/schemafiles_test.go:51
↓ 2 callersFunctionreadTrialEvidence
(trajectory: Trajectory)
evals/src/suites/events/grading/evidence.ts:47
↓ 2 callersMethodreadmePaneView
()
pkg/cmd/extension/browse/model.go:720
↓ 2 callersFunctionreadyForActor
(wait: Call, calls: Call[], now: number)
evals/src/suites/events/commands.ts:81
↓ 2 callersFunctionrefName
refName is the last part of a schema's $ref, such as simple-user.
script/ghmock/schemacmd.go:508
↓ 2 callersMethodreferenceStyle
referenceStyle reports whether the destination lives in a definition rather than beside the reference.
internal/attachments/references.go:241
↓ 2 callersMethodrefreshCredentialForUser
refreshCredentialForUser renews the given refreshable credential when its access token is expiring and persists the renewal to the same storage the cr
internal/config/refreshable.go:418
↓ 2 callersFunctionrefreshStorageErrorKind
refreshStorageErrorKind classifies a credential storage error for the storage_error dimension.
internal/config/refreshable_telemetry.go:106
↓ 2 callersFunctionrefreshableCredentialFromAccessToken
refreshableCredentialFromAccessToken projects an OAuth access token onto gh.RefreshableCredential. It derives each absolute expiry by adding the serve
internal/authflow/refresh.go:86
↓ 2 callersFunctionrefreshableFromKeyring
(hostname, username string)
internal/config/refreshable.go:318
↓ 2 callersFunctionregisterEventGraders
(registry: GraderRegistry, evidenceFor: EvidenceFor)
evals/src/suites/events/grading/index.ts:7
↓ 2 callersFunctionregisterFixtureRepositoryCleanup
(t *testing.T, skip bool, fixtureRepositories *fixtureRepositoryManager)
acceptance/acceptance_test.go:628
↓ 2 callersMethodreload
reload re-reads the config from disk into the shared config, using the reloadConfig seam when set and the real ghConfig.Reload otherwise. The producti
internal/config/refreshable.go:134
↓ 2 callersFunctionrelocateGitAlternates
(path, source, destination string)
script/ghmock/gitfixture.go:244
↓ 2 callersFunctionremoteSkillFrontmatterForRepo
(name, repoURL, sourcePath, ref, pinned string)
pkg/cmd/skills/list/list_test.go:520
↓ 2 callersFunctionremotesFunc
(f *cmdutil.Factory)
pkg/cmd/factory/default.go:188
↓ 2 callersFunctionremoveCopilot
(installDir string)
pkg/cmd/copilot/copilot.go:448
↓ 2 callersFunctionremoveRun
(opts *DeleteOptions)
pkg/cmd/variable/delete/delete.go:72
↓ 2 callersFunctionrenameRun
(opts *RenameOptions)
pkg/cmd/gist/rename/rename.go:59
↓ 2 callersFunctionrenameRun
(opts *RenameOptions)
pkg/cmd/repo/rename/rename.go:108
↓ 2 callersMethodrenderFile
(filePath, content string)
pkg/cmd/skills/preview/preview.go:376
↓ 2 callersFunctionrenderFileContentAsMarkdown
renderFileContentAsMarkdown renders the given content as markdown based on the file extension of the path.
pkg/cmd/agent-task/shared/log.go:367
↓ 2 callersFunctionrenderFileTree
renderFileTree prints a tree of skill files using box-drawing characters.
pkg/cmd/skills/preview/preview.go:495
↓ 2 callersFunctionrenderListLine
(line string, width int)
pkg/cmd/extension/browse/model.go:662
↓ 2 callersFunctionrenderMarkdownPreview
(io *iostreams.IOStreams, filePath, content string)
pkg/cmd/skills/preview/preview.go:392
↓ 2 callersFunctionrenderMarkdownWithFormat
renderMarkdownWithFormat renders the given markdown string to the given writer. If a formatFunc is provided, the md string is ran through it before re
pkg/cmd/agent-task/shared/log.go:311
↓ 2 callersFunctionrenderTable
renderTable outputs a formatted table of skill results.
pkg/cmd/skills/search/search.go:482
↓ 2 callersFunctionrenderTable
(io *iostreams.IOStreams, skills []listedSkill)
pkg/cmd/skills/list/list.go:500
↓ 2 callersFunctionrenderToolCallTitle
renderToolCallTitle renders a title for a tool call. Should be followed by a call to render a markdown representation of the tool call's content.
pkg/cmd/agent-task/shared/log.go:413
↓ 2 callersMethodrendersAsPlayer
()
internal/attachments/userasset.go:46
↓ 2 callersFunctionrepoExists
(httpClient *http.Client, repo ghrepo.Interface)
pkg/cmd/extension/http.go:15
↓ 2 callersFunctionrepoKeys
(httpClient *http.Client, repo ghrepo.Interface)
pkg/cmd/repo/deploy-key/list/http.go:20
↓ 2 callersFunctionreposRun
(opts *ReposOptions)
pkg/cmd/search/repos/repos.go:134
↓ 2 callersFunctionrepositoryCreationIsManaged
(args []string, fixtureMode string)
acceptance/acceptance_test.go:40
↓ 2 callersMethodrequest
(name string)
script/ghmock/scaffold.go:165
↓ 2 callersFunctionrequestBody
(debug bool)
pkg/cmd/run/rerun/rerun.go:243
↓ 2 callersFunctionrequestName
requestName returns the name responses are stored under: "graphql Operation" for GraphQL calls and "METHOD /path" for REST calls to the API host. Call
script/ghmock/request.go:56
↓ 2 callersFunctionrequestsForRun
(entries []loggedRequest, runID string)
script/ghmock/log.go:92
↓ 2 callersFunctionrequiredScopesFromServerMessage
(msg string)
pkg/cmd/project/shared/queries/queries.go:1727
↓ 2 callersMethodreset
()
script/ghmock/store.go:274
↓ 2 callersFunctionresolveBinary
resolveBinary turns a --gh value into an absolute path. A bare name is looked up on PATH.
script/ghmock/run.go:424
↓ 2 callersFunctionresolveBranchRef
resolveBranchRef looks up a branch by short name and returns a fully qualified ref.
internal/skills/discovery/discovery.go:339
↓ 2 callersFunctionresolveCapiURL
resolveCapiURL queries the GitHub API for the Copilot API endpoint URL.
pkg/cmd/agent-task/shared/capi.go:49
↓ 2 callersFunctionresolveHosts
(opts *InstallOptions, canPrompt bool)
pkg/cmd/skills/install/install.go:893
↓ 2 callersFunctionresolveNetwork
(result *ResolvedRemotes, remotesForLookup int)
context/context.go:40
← previousnext →2,101–2,200 of 7,572, ranked by callers