MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 1 callersFunctionparseInstalledSkill
parseInstalledSkill parses a SKILL.md file and returns an installedSkill.
pkg/cmd/skills/update/update.go:601
↓ 1 callersFunctionparseInstalledSkill
(data []byte, name, dir string, agentHostIDs []string, scope string)
pkg/cmd/skills/list/list.go:391
↓ 1 callersMethodparsePortVisibilities
(args []string)
pkg/cmd/codespace/ports.go:282
↓ 1 callersFunctionparseRepoVisibility
(s string)
internal/skills/discovery/discovery.go:178
↓ 1 callersFunctionparseReviewers
parseReviewers parses given Reviews and ReviewRequests
pkg/cmd/pr/view/view.go:372
↓ 1 callersFunctionparseSection
(baseRepo ghrepo.Interface, opts *BrowseOptions)
pkg/cmd/browse/browse.go:230
↓ 1 callersFunctionparseSkillFromOpts
(opts *InstallOptions)
pkg/cmd/skills/install/install.go:601
↓ 1 callersFunctionparseSource
parseSource reads one file or URL argument. An http:// or https:// argument is always a link, and any `#` stays part of the URL. Like every link, a UR
pkg/cmd/issue/artifact/create/create.go:250
↓ 1 callersFunctionparseTopics
(s string)
pkg/cmd/repo/edit/edit.go:560
↓ 1 callersFunctionparseTwirpPath
parseTwirpPath extracts path components form a valid Twirp route. Expected format: "[<prefix>]/<package>.<Service>/<Method>" e.g.: prefix, pkgService,
internal/barista/observability/telemetry.twirp.go:667
↓ 1 callersFunctionpatchEnvVariable
(client *api.Client, host string, repoID int64, envName, variableName, value string)
pkg/cmd/variable/set/http.go:156
↓ 1 callersFunctionpatchOrgVariable
(client *api.Client, host, orgName, visibility, variableName, value string, repositoryIDs []int64)
pkg/cmd/variable/set/http.go:143
↓ 1 callersFunctionpatchRepoVariable
(client *api.Client, repo ghrepo.Interface, variableName, value string)
pkg/cmd/variable/set/http.go:167
↓ 1 callersMethodperform
(step: ActorStep, pr: PullRequest)
evals/src/suites/events/actor.ts:107
↓ 1 callersMethodpersistRefreshedCredential
persistRefreshedCredential writes a renewed refreshable credential back to the storage form it already lived in. Refreshable credentials are resolved
internal/config/refreshable.go:540
↓ 1 callersFunctionpickExample
pickExample returns a copy of the example for a response body, preferring the one named default.
script/ghmock/restscaffold.go:97
↓ 1 callersFunctionpickStatus
pickStatus finds the response to describe: the one asked for, or else the first success. It returns a nil response if there's no such status.
script/ghmock/schemacmd.go:359
↓ 1 callersFunctionpinIssue
(httpClient *http.Client, repo ghrepo.Interface, issue *api.Issue)
pkg/cmd/issue/pin/pin.go:115
↓ 1 callersFunctionpngArg
()
internal/attachments/references_test.go:17
↓ 1 callersFunctionpngBytes
()
pkg/cmd/repo/read-file/read_file_test.go:1060
↓ 1 callersMethodpollForPermissions
(ctx context.Context, createParams *api.CreateCodespaceParams)
pkg/cmd/codespace/create.go:422
↓ 1 callersFunctionpolling
()
evals/src/graders.test.ts:109
↓ 1 callersMethodpopulateLatestVersions
(exts []*Extension)
pkg/cmd/extension/manager.go:202
↓ 1 callersFunctionpopulateLogSegments
populateLogSegments populates log segments from the provided jobs and data available in the given ZIP archive map. Any missing logs will be assigned a
pkg/cmd/run/view/logs.go:93
↓ 1 callersFunctionpopulateResolvedRemotes
(remotes RemoteSet, resolved []string)
git/client.go:1049
↓ 1 callersFunctionpopulateStatusChecks
(client *http.Client, repo ghrepo.Interface, pr *api.PullRequest, requiredChecks bool, includeEvent bool)
pkg/cmd/pr/checks/checks.go:257
↓ 1 callersFunctionportableGitPath
(path, root string)
script/ghmock/archive.go:157
↓ 1 callersFunctionpossibleDists
()
pkg/cmd/extension/manager.go:800
↓ 1 callersMethodpostAsset
postAsset does the request and reads the asset URL back. It takes the file rather than the UserAsset, because nothing about sending the bytes depends
internal/attachments/client.go:105
↓ 1 callersFunctionpostEnvVariable
(client *api.Client, host string, repoID int64, envName, variableName, value string)
pkg/cmd/variable/set/http.go:110
↓ 1 callersFunctionpostOrgVariable
(client *api.Client, host, orgName, visibility, variableName, value string, repositoryIDs []int64)
pkg/cmd/variable/set/http.go:96
↓ 1 callersFunctionpostRepoVariable
(client *api.Client, repo ghrepo.Interface, variableName, value string)
pkg/cmd/variable/set/http.go:122
↓ 1 callersFunctionprStateWithDraft
(pr *api.PullRequest)
pkg/cmd/pr/view/view.go:500
↓ 1 callersFunctionpreloadClosedByPullRequestsReferences
(client *http.Client, repo ghrepo.Interface, issue *api.Issue)
pkg/cmd/issue/view/http.go:56
↓ 1 callersFunctionpreloadIssueComments
(client *http.Client, repo ghrepo.Interface, issue *api.Issue)
pkg/cmd/issue/view/http.go:11
↓ 1 callersFunctionpreloadPrChecks
(client *http.Client, repo ghrepo.Interface, pr *api.PullRequest)
pkg/cmd/pr/shared/finder.go:563
↓ 1 callersFunctionpreloadPrClosingIssuesReferences
(client *http.Client, repo ghrepo.Interface, pr *api.PullRequest)
pkg/cmd/pr/shared/finder.go:524
↓ 1 callersFunctionpreloadPrComments
(client *http.Client, repo ghrepo.Interface, pr *api.PullRequest)
pkg/cmd/pr/shared/finder.go:484
↓ 1 callersFunctionpreloadPrReviews
(httpClient *http.Client, repo ghrepo.Interface, pr *api.PullRequest)
pkg/cmd/pr/shared/finder.go:444
↓ 1 callersFunctionpreloadWorkflowNames
(client *api.Client, repo ghrepo.Interface, runs []Run)
pkg/cmd/run/shared/shared.go:445
↓ 1 callersFunctionprepareExportDir
prepareExportDir creates dir, or checks that it's empty, so an export never mixes with other files.
script/ghmock/export.go:149
↓ 1 callersFunctionpressN
()
internal/prompter/huh_prompter_test.go:101
↓ 1 callersFunctionpressY
()
internal/prompter/huh_prompter_test.go:97
↓ 1 callersFunctionpreviewPR
(opts CreateOptions, openURL string)
pkg/cmd/pr/create/create.go:1237
↓ 1 callersFunctionprintAliases
(w io.Writer, cmd *cobra.Command)
internal/docs/markdown.go:29
↓ 1 callersFunctionprintArtifacts
(ios *iostreams.IOStreams, now time.Time, artifacts []client.Artifact)
pkg/cmd/issue/artifact/list/list.go:174
↓ 1 callersFunctionprintBody
printBody writes one artifact's body to standard output with nothing else, so a script gets the body as it's stored. A link's body is its URL. There i
pkg/cmd/issue/artifact/download/download.go:205
↓ 1 callersFunctionprintContent
printContent prints a gist with optional description and content similar to `gh search code` including highlighted matches in the form: {{gist ID}}
pkg/cmd/gist/list/list.go:224
↓ 1 callersFunctionprintDifferences
(w io.Writer, base, other runResult, n int)
script/ghmock/report.go:292
↓ 1 callersFunctionprintDiscussions
(opts *ListOptions, repoName string, discussions []client.Discussion, totalCount int)
pkg/cmd/discussion/list/list.go:316
↓ 1 callersFunctionprintDraftIssueResults
(config editItemConfig, item queries.DraftIssue)
pkg/cmd/project/item-edit/item_edit.go:410
↓ 1 callersFunctionprintEditHistory
printEditHistory lists every version the API returned, newest first, with who saved it and when. "Current" marks the newest version, and "Viewing" mar
pkg/cmd/issue/artifact/view/view.go:294
↓ 1 callersFunctionprintError
(w io.Writer, err error)
pkg/cmd/ssh-key/list/list.go:121
↓ 1 callersFunctionprintEventListenHint
printEventListenHint points agents at `gh event listen` after a successful read of a pull request REST endpoint, because agents tend to poll such endp
pkg/cmd/api/hint.go:16
↓ 1 callersFunctionprintEventListenHint
printEventListenHint points agents at `gh event listen`, because agents tend to poll `gh run view` when asked to wait for the checks of a pull request
pkg/cmd/run/view/hint.go:11
↓ 1 callersFunctionprintEventListenHint
printEventListenHint points agents at `gh event listen`, because agents tend to poll `gh pr view` when asked to wait for a pull request to change.
pkg/cmd/pr/view/hint.go:11
↓ 1 callersFunctionprintFailure
printFailure reports an artifact gh couldn't delete, on stderr. In a terminal, it's the failure line the other artifact commands print. Piped, it's "<
pkg/cmd/issue/artifact/delete/delete.go:181
↓ 1 callersFunctionprintHeaders
(w io.Writer, headers http.Header, colorize bool)
pkg/cmd/api/api.go:624
↓ 1 callersFunctionprintHumanArtifact
(opts *ViewOptions, repo ghrepo.Interface, a *client.ArtifactWithVersions, viewing *client.Version)
pkg/cmd/issue/artifact/view/view.go:215
↓ 1 callersFunctionprintHumanCommentAndReplies
(opts *ViewOptions, c *client.DiscussionComment)
pkg/cmd/discussion/view/view.go:630
↓ 1 callersFunctionprintHumanIssuePreview
(opts *ViewOptions, baseRepo ghrepo.Interface, issue *api.Issue)
pkg/cmd/issue/view/view.go:248
↓ 1 callersFunctionprintHumanPrPreview
(opts *ViewOptions, baseRepo ghrepo.Interface, pr *api.PullRequest)
pkg/cmd/pr/view/view.go:205
↓ 1 callersFunctionprintHumanView
(opts *ViewOptions, d *client.Discussion)
pkg/cmd/discussion/view/view.go:343
↓ 1 callersFunctionprintInspectionSummary
(logger *io.Handler, bundles []BundleInspection)
pkg/cmd/attestation/inspect/inspect.go:252
↓ 1 callersFunctionprintJSON
(config deleteItemConfig, id githubv4.ID)
pkg/cmd/project/item-delete/item_delete.go:128
↓ 1 callersFunctionprintJSONFields
(w io.Writer, cmd *cobra.Command)
internal/docs/markdown.go:18
↓ 1 callersFunctionprintLabels
(io *iostreams.IOStreams, labels []label)
pkg/cmd/label/list.go:135
↓ 1 callersFunctionprintLinkedBranches
(io *iostreams.IOStreams, branches []api.LinkedBranch)
pkg/cmd/issue/develop/develop.go:342
↓ 1 callersFunctionprintLog
(w io.Writer, entries []loggedRequest, full bool)
script/ghmock/log.go:102
↓ 1 callersFunctionprintLogs
(opts *ViewOptions, capiClient capi.CapiClient, sessionID string)
pkg/cmd/agent-task/view/view.go:370
↓ 1 callersFunctionprintNotes
(w io.Writer, notes []string)
script/ghmock/report.go:50
↓ 1 callersMethodprintOpenSSHConfig
(ctx context.Context, opts sshOptions)
pkg/cmd/codespace/ssh.go:552
↓ 1 callersFunctionprintOptions
(w io.Writer, cmd *cobra.Command)
internal/docs/markdown.go:38
↓ 1 callersFunctionprintOutput
(w io.Writer, label, text string)
script/ghmock/report.go:195
↓ 1 callersFunctionprintProblems
printProblems lists what the schema checks found, request by request.
script/ghmock/report.go:150
↓ 1 callersFunctionprintPrs
(io *iostreams.IOStreams, totalCount int, prs ...api.PullRequest)
pkg/cmd/pr/status/status.go:231
↓ 1 callersFunctionprintRawArtifact
printRawArtifact prints key lines in a fixed order, then the body after a "--" line, like gh issue view. Null values print as empty fields, so every a
pkg/cmd/issue/artifact/view/view.go:189
↓ 1 callersFunctionprintRawComments
printRawComments writes the comments as a sequence of metadata blocks, without any discussion-level fields or nested replies. Comments are printed in
pkg/cmd/discussion/view/view.go:482
↓ 1 callersFunctionprintRawIssuePreview
(out io.Writer, issue *api.Issue)
pkg/cmd/issue/view/view.go:205
↓ 1 callersFunctionprintRawPrPreview
(io *iostreams.IOStreams, pr *api.PullRequest)
pkg/cmd/pr/view/view.go:164
↓ 1 callersFunctionprintRawReplies
printRawReplies writes the replies of a comment as a sequence of metadata blocks, without any fields of the parent comment. Replies are printed in chr
pkg/cmd/discussion/view/view.go:649
↓ 1 callersFunctionprintRawView
(out io.Writer, d *client.Discussion)
pkg/cmd/discussion/view/view.go:460
↓ 1 callersFunctionprintResult
(w io.Writer, command string, res runResult)
script/ghmock/report.go:60
↓ 1 callersFunctionprintResults
(config closeConfig, project queries.ProjectMutationQuery)
pkg/cmd/project/close/close.go:126
↓ 1 callersFunctionprintResults
(config copyConfig, project queries.ProjectMutationQuery)
pkg/cmd/project/copy/copy.go:137
↓ 1 callersFunctionprintResults
(config markTemplateConfig, project queries.ProjectMutationQuery)
pkg/cmd/project/mark-template/mark_template.go:153
↓ 1 callersFunctionprintResults
(config deleteFieldConfig, field queries.ProjectField)
pkg/cmd/project/field-delete/field_delete.go:87
↓ 1 callersFunctionprintResults
(config listConfig, fields []queries.ProjectField, login string)
pkg/cmd/project/field-list/field_list.go:103
↓ 1 callersFunctionprintResults
(config deleteConfig, project queries.ProjectMutationQuery)
pkg/cmd/project/delete/delete.go:118
↓ 1 callersFunctionprintResults
(config viewConfig, project *queries.Project)
pkg/cmd/project/view/view.go:107
↓ 1 callersFunctionprintResults
(config createFieldConfig, field queries.ProjectField)
pkg/cmd/project/field-create/field_create.go:145
↓ 1 callersFunctionprintResults
(config deleteItemConfig)
pkg/cmd/project/item-delete/item_delete.go:119
↓ 1 callersFunctionprintResults
(config addItemConfig, item queries.ProjectItem)
pkg/cmd/project/item-add/item_add.go:126
↓ 1 callersFunctionprintResults
(config listConfig, items []queries.ProjectItem, login string, extraFields []fieldColumn)
pkg/cmd/project/item-list/item_list.go:224
↓ 1 callersFunctionprintResults
(config listConfig, projects queries.Projects, owner string)
pkg/cmd/project/list/list.go:155
↓ 1 callersFunctionprintResults
(config archiveItemConfig, item queries.ProjectItem)
pkg/cmd/project/item-archive/item_archive.go:148
↓ 1 callersFunctionprintResults
(config createConfig, project queries.ProjectMutationQuery)
pkg/cmd/project/create/create.go:107
↓ 1 callersFunctionprintResults
(config createItemConfig, item queries.ProjectItem)
pkg/cmd/project/item-create/item_create.go:122
↓ 1 callersFunctionprintResults
(config editConfig, project queries.ProjectMutationQuery)
pkg/cmd/project/edit/edit.go:147
↓ 1 callersFunctionprintSession
(opts *ViewOptions, session *capi.Session)
pkg/cmd/agent-task/view/view.go:303
← previousnext →3,601–3,700 of 7,487, ranked by callers