MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 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:281
↓ 2 callersFunctionprintFileTree
printFileTree renders a text tree of the on-disk contents of each skill directory.
pkg/cmd/skills/install/install.go:1144
↓ 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, pullRequestURL string, h listenHint)
pkg/cmd/event/shared/hint.go:51
↓ 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:484
↓ 2 callersFunctionprojectFieldValueData
(v FieldValueNodes)
pkg/cmd/project/shared/queries/queries.go:1739
↓ 2 callersFunctionpromptForHostname
(opts *LoginOptions)
pkg/cmd/auth/login/login.go:298
↓ 2 callersFunctionpromptForSkillOrigin
promptForSkillOrigin asks the user for the source repository of a skill that has no GitHub metadata.
pkg/cmd/skills/update/update.go:643
↓ 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:416
↓ 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:317
↓ 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 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:187
↓ 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
(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 callersFunctionrenewingRefresher
renewingRefresher returns a mock refresher that always renews to a fresh, long lived credential.
internal/config/refreshable_test.go:847
↓ 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:310
↓ 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:906
↓ 2 callersFunctionresolveNetwork
(result *ResolvedRemotes, remotesForLookup int)
context/context.go:40
↓ 2 callersFunctionresolvePrompt
(prompt: string, placeholders: Readonly<Record<string, string>>)
evals/src/core/suite.ts:118
↓ 2 callersFunctionresolveScope
(opts *InstallOptions, canPrompt bool)
pkg/cmd/skills/install/install.go:961
↓ 2 callersFunctionresolveTagRef
resolveTagRef looks up a tag by short name and returns a fully qualified ref. For annotated tags, the tag object is dereferenced to obtain the commit
internal/skills/discovery/discovery.go:276
↓ 2 callersFunctionrestProblems
restProblems turns schema validation errors into short lines that use the same dotted paths as ghmock set --at. An allOf failure is replaced by the fa
script/ghmock/restcheck.go:237
↓ 2 callersFunctionreview
(id: number)
evals/src/smoke.test.ts:58
↓ 2 callersMethodreviews
(repo: string, number: number)
evals/src/core/github.ts:113
↓ 2 callersFunctionrig
(scenario: Scenario = "review-loop")
evals/src/review-loop.test.ts:17
↓ 2 callersFunctionrootDir
()
internal/safepaths/absolute_test.go:121
↓ 2 callersFunctionrootType
(schema *ast.Schema, op ast.Operation)
script/ghmock/graphqlcheck.go:174
↓ 2 callersFunctionrootUsageFunc
(w io.Writer, command *cobra.Command)
pkg/cmd/root/help.go:20
↓ 2 callersFunctionrulesetsQuery
(org bool)
pkg/cmd/ruleset/shared/http.go:87
↓ 2 callersFunctionrun
(args []string)
cmd/gen-docs/main.go:29
↓ 2 callersFunctionrunAdd
(opts *AddOptions)
pkg/cmd/gpg-key/add/add.go:58
↓ 2 callersFunctionrunAdd
(opts *AddOptions)
pkg/cmd/ssh-key/add/add.go:60
↓ 2 callersFunctionrunAll
runAll runs each binary in turn and appends its requests to the log. It then saves the run and its report for ghmock export. A nil checker turns schem
script/ghmock/run.go:158
↓ 2 callersFunctionrunBrowse
(opts *BrowseOptions)
pkg/cmd/browse/browse.go:187
↓ 2 callersFunctionrunCancel
(opts *CancelOptions)
pkg/cmd/run/cancel/cancel.go:66
↓ 2 callersFunctionrunCloneCommand
(httpClient *http.Client, cli string)
pkg/cmd/gist/clone/clone_test.go:19
↓ 2 callersFunctionrunCommand
(rt http.RoundTripper, cli string)
pkg/cmd/issue/transfer/transfer_test.go:21
↓ 2 callersFunctionrunCommandWithBranchFunc
(rt http.RoundTripper, pm *prompter.PrompterMock, branch func() (string, error), isTTY bool, cli string)
pkg/cmd/pr/merge/merge_test.go:257
↓ 2 callersFunctionrunCommandWithDetector
(rt http.RoundTripper, branch string, isTTY bool, cli string, detector fd.Detector)
pkg/cmd/pr/status/status_test.go:30
↓ 2 callersFunctionrunCopilot
(opts *CopilotOptions)
pkg/cmd/copilot/copilot.go:134
↓ 2 callersFunctionrunDelete
(opts *DeleteOptions)
pkg/cmd/run/delete/delete.go:73
↓ 2 callersFunctionrunDisable
(opts *DisableOptions)
pkg/cmd/workflow/disable/disable.go:66
↓ 2 callersFunctionrunDownload
(opts *Options)
pkg/cmd/attestation/download/download.go:126
↓ 2 callersFunctionrunDownload
(opts *DownloadOptions)
pkg/cmd/run/download/download.go:110
↓ 2 callersFunctionrunEnable
(opts *EnableOptions)
pkg/cmd/workflow/enable/enable.go:66
↓ 2 callersFunctionrunRerun
(opts *RerunOptions)
pkg/cmd/run/rerun/rerun.go:97
↓ 2 callersFunctionrunRun
(opts *RunOptions)
pkg/cmd/workflow/run/run.go:258
↓ 2 callersFunctionrunSmokeProtocol
(protocol: SmokeProtocol)
evals/src/suites/events/smoke-protocol.ts:17
↓ 2 callersFunctionrunSubscriptionCommands
(gh: GhRunner, prUrl: string)
evals/src/suites/events/smoke-protocol.ts:41
↓ 2 callersFunctionrunUpdateVisibilityTest
(t *testing.T, portVisibilities []portVisibility, allowOrgPorts bool)
pkg/cmd/codespace/ports_test.go:68
↓ 2 callersFunctionrunView
(opts *ViewOptions)
pkg/cmd/workflow/view/view.go:99
← previousnext →2,101–2,200 of 7,487, ranked by callers