MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 1 callersMethodReviewStatus
()
api/queries_pr_review.go:104
↓ 1 callersMethodRoundTrip
(req *http.Request)
api/client_test.go:417
↓ 1 callersMethodRun
Run satisfies Runnable
internal/run/stub.go:123
↓ 1 callersFunctionSSHSigningKeyUpload
Uploads the provided SSH Signing key. Returns true if the key was uploaded, false if it was not.
pkg/cmd/ssh-key/add/http.go:62
↓ 1 callersFunctionScopesSuggestion
ScopesSuggestion is an error messaging utility that prints the suggestion to request additional OAuth scopes in case a server response indicates that
api/client.go:344
↓ 1 callersFunctionSearchQueryBuild
(options FilterOptions, advancedIssueSearchSyntax bool)
pkg/cmd/pr/shared/params.go:235
↓ 1 callersFunctionSearchRepoAssignableActors
SearchRepoAssignableActors searches assignable actors for a repository with an optional query string. Unlike RepoAssignableActors which fetches all ac
api/queries_repo.go:1355
↓ 1 callersMethodSelect
(name string)
pkg/cmd/pr/shared/templates.go:213
↓ 1 callersMethodSelect
Hidden codespace `select` command allows to reuse existing codespace selection dialog by external GH CLI extensions. By default output selected codesp
pkg/cmd/codespace/select.go:58
↓ 1 callersMethodSelect
(ctx context.Context)
pkg/cmd/codespace/codespace_selector.go:37
↓ 1 callersMethodSelectCalls
SelectCalls gets all the calls that were made to Select. Check the length with: len(mockedPrompter.SelectCalls())
internal/prompter/prompter_mock.go:514
↓ 1 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
script/ghmock/server.go:131
↓ 1 callersMethodSetAccessibleColorsEnabled
(enabled bool)
pkg/iostreams/iostreams.go:467
↓ 1 callersMethodSetClient
(client *http.Client)
pkg/cmd/extension/manager.go:86
↓ 1 callersMethodSetColorLabels
(colorLabels bool)
pkg/iostreams/iostreams.go:158
↓ 1 callersMethodSetConfig
(cfg gh.Config)
pkg/cmd/extension/manager.go:82
↓ 1 callersMethodSetExperimentalPrompterEnabled
(enabled bool)
pkg/iostreams/iostreams.go:483
↓ 1 callersMethodSetSampleRate
SetSampleRate leaves telemetry disabled.
internal/telemetry/telemetry.go:510
↓ 1 callersFunctionShell
Shell runs an interactive secure shell over an existing port-forwarding session. It runs until the shell is terminated (including by cancellation of t
internal/codespaces/ssh.go:21
↓ 1 callersMethodSlug
()
api/queries_pr_review.go:243
↓ 1 callersMethodSpinner
(hostname string)
internal/config/config.go:193
↓ 1 callersMethodStartCodespace
(ctx context.Context, name string)
internal/codespaces/codespaces.go:41
↓ 1 callersMethodStartProgressIndicatorWithLabel
StartProgressIndicatorWithLabel starts a progress indicator with a message.
pkg/cmd/codespace/common.go:54
↓ 1 callersMethodStartSSHServerWithOptions
(ctx context.Context, options StartSSHServerOptions)
internal/codespaces/rpc/invoker.go:48
↓ 1 callersMethodStartSSHServerWithOptions
Starts a remote SSH server to allow the user to connect to the codespace via SSH
internal/codespaces/rpc/invoker.go:221
↓ 1 callersFunctionStatusCheckRollupGraphQLWithCountByState
()
api/query_builder.go:208
↓ 1 callersMethodStopCodespace
(ctx context.Context, opts *stopOptions)
pkg/cmd/codespace/stop.go:40
↓ 1 callersMethodStopProgressIndicator
StopProgressIndicator stops the progress indicator.
pkg/cmd/codespace/common.go:59
↓ 1 callersMethodStopProgressIndicator
StopProgressIndicator stops the progress indicator if it is running. Note that a textual progress indicator does not create a progress indicator, so t
pkg/iostreams/iostreams.go:364
↓ 1 callersMethodString
()
script/ghmock/terminal.go:99
↓ 1 callersMethodString
()
git/client.go:571
↓ 1 callersMethodString
()
pkg/cmd/secret/shared/shared.go:29
↓ 1 callersMethodString
String returns a string representation of the absolute path, or panics if the absolute path is empty. This guards against programmer error.
internal/safepaths/absolute.go:28
↓ 1 callersMethodString
String returns the wrapped URL verbatim.
internal/safeurl/safeurl.go:127
↓ 1 callersMethodStubRepoResponseWithPermission
(owner, repo, permission string)
pkg/httpmock/legacy.go:50
↓ 1 callersFunctionSuggestedAssignableActors
SuggestedAssignableActors fetches up to 10 suggested actors for a specific assignable (Issue or PullRequest) node ID. `assignableID` is the GraphQL no
api/queries_pr.go:655
↓ 1 callersMethodTableHeader
(t string)
pkg/iostreams/color.go:277
↓ 1 callersMethodTelemetry
()
internal/config/config.go:198
↓ 1 callersMethodTempFile
(dir, pattern string)
pkg/iostreams/iostreams.go:460
↓ 1 callersFunctionTestRun
(id int64, s Status, c Conclusion)
pkg/cmd/run/shared/test.go:13
↓ 1 callersFunctionTestRunWithCommit
(id int64, s Status, c Conclusion, commit string)
pkg/cmd/run/shared/test.go:17
↓ 1 callersFunctionTestRunWithOrgRequiredWorkflow
(id int64, s Status, c Conclusion, commit string)
pkg/cmd/run/shared/test.go:21
↓ 1 callersMethodTitleValue
()
pkg/cmd/pr/shared/editable.go:92
↓ 1 callersMethodTokenFromKeyring
TokenFromKeyring will retrieve the auth token for the given hostname, only searching in encrypted storage.
internal/config/config.go:403
↓ 1 callersMethodTrackingBranchNames
(context.Context, string)
pkg/cmdutil/flags.go:49
↓ 1 callersMethodTranslate
(*url.URL)
context/remote.go:102
↓ 1 callersMethodTruncDescription
()
pkg/cmd/gist/shared/shared.go:58
↓ 1 callersMethodType
Type is the typename of the project field.
pkg/cmd/project/shared/queries/queries.go:1000
↓ 1 callersMethodType
()
pkg/cmd/event/listen/listen.go:215
↓ 1 callersMethodType
()
pkg/cmd/codespace/create.go:57
↓ 1 callersMethodURL
()
pkg/cmd/extension/extension.go:59
↓ 1 callersMethodUnlinkProjectFromRepository
UnlinkProjectFromRepository unlinks a project from a repository.
pkg/cmd/project/shared/queries/queries.go:1678
↓ 1 callersMethodUnlinkProjectFromTeam
UnlinkProjectFromTeam unlinks a project from a team.
pkg/cmd/project/shared/queries/queries.go:1691
↓ 1 callersMethodUnqualifiedHeadRef
()
pkg/cmd/pr/shared/find_refs_resolution.go:100
↓ 1 callersMethodUpdateBranch
(string, string)
pkg/cmd/repo/sync/git.go:11
↓ 1 callersMethodUpdateBranch
UpdateBranch moves branch to ref. It uses `git branch --force` rather than `git update-ref` because update-ref will happily move a branch that is chec
pkg/cmd/repo/sync/git.go:29
↓ 1 callersMethodUpdateCalls
UpdateCalls gets all the calls that were made to Update. Check the length with: len(mockedArtifactClient.UpdateCalls())
pkg/cmd/issue/artifact/client/client_mock.go:387
↓ 1 callersMethodUpdateDir
UpdateDir returns the extension-specific directory where updates are stored.
pkg/cmd/extension/manager.go:599
↓ 1 callersMethodUpdateDir
UpdateDir calls UpdateDirFunc.
pkg/extensions/manager_mock.go:385
↓ 1 callersMethodUpdateDir
(name string)
pkg/extensions/extension.go:41
↓ 1 callersFunctionUpdateIssue
(httpClient *http.Client, repo ghrepo.Interface, id string, isPR bool, options Editable)
pkg/cmd/pr/shared/editable_http.go:12
↓ 1 callersFunctionUpdateIssueIssueType
UpdateIssueIssueType sets or clears the issue type on an issue. Pass an empty issueTypeID to clear the issue type.
api/queries_issue.go:507
↓ 1 callersMethodUpdatePortVisibility
(ctx context.Context, selector *CodespaceSelector, args []string)
pkg/cmd/codespace/ports.go:233
↓ 1 callersMethodUpdatePortVisibility
UpdatePortVisibility implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:76
↓ 1 callersFunctionUpdatePullRequestBranch
(client *Client, repo ghrepo.Interface, params githubv4.UpdatePullRequestBranchInput)
api/queries_pr.go:744
↓ 1 callersMethodUpgradeCalls
UpgradeCalls gets all the calls that were made to Upgrade. Check the length with: len(mockedExtensionManager.UpgradeCalls())
pkg/extensions/manager_mock.go:438
↓ 1 callersMethodUsersForHost
(hostname string)
internal/config/config.go:696
↓ 1 callersFunctionValidAgentIDs
ValidAgentIDs returns a comma-separated list of valid agent IDs.
internal/skills/registry/registry.go:361
↓ 1 callersFunctionValidDigestAlgorithms
ValidDigestAlgorithms returns a list of supported digest algorithms
pkg/cmd/attestation/artifact/digest/digest.go:33
↓ 1 callersFunctionValidURL
Maximum length of a URL: 8192 bytes
pkg/cmd/pr/shared/params.go:55
↓ 1 callersMethodVerbosePrint
(msg string)
pkg/cmd/attestation/io/handler.go:56
↓ 1 callersMethodView
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/view/http.go:18
↓ 1 callersMethodViewerLoginName
ViewerLoginName returns the login name of the viewer.
pkg/cmd/project/shared/queries/queries.go:1230
↓ 1 callersFunctionWithBaseURL
(u string)
pkg/markdown/markdown.go:34
↓ 1 callersFunctionWithPrompter
WithPrompter is a test option to set the prompter for the test client.
pkg/cmd/project/shared/queries/queries.go:35
↓ 1 callersFunctionWithSpecificPorts
WithSpecificPorts allows you to specify a map of ports to TunnelPorts that will be returned by the mock HTTP client. Note that this does not take a co
internal/codespaces/connection/tunnels_api_server_mock.go:37
↓ 1 callersMethodWrite
(p []byte)
script/ghmock/terminal.go:149
↓ 1 callersMethodWrite
(data []byte)
pkg/cmd/pr/create/regexp_writer.go:20
↓ 1 callersMethodYellowf
(t string, args ...any)
pkg/iostreams/color.go:114
↓ 1 callersFunctionacceptanceTestGroups
(t *testing.T)
acceptance/acceptance_test.go:654
↓ 1 callersFunctionaccessTokenNeedsRefresh
accessTokenNeedsRefresh reports whether the credential's access token has expired or falls within refreshExpiryLeeway of expiring as of now. A credent
internal/config/refreshable.go:369
↓ 1 callersFunctionacquireFLock
acquireFLock attempts to acquire an exclusive file lock to serialize concurrent access. Returns the locked file handle and an unlock function, or an e
internal/skills/lockfile/lockfile.go:155
↓ 1 callersFunctionactionsExplainer
(cs *iostreams.ColorScheme)
pkg/cmd/actions/actions.go:25
↓ 1 callersFunctionaddAgentSkillsTopic
addAgentSkillsTopic adds the "agent-skills" topic to the repo, preserving existing topics.
pkg/cmd/skills/publish/publish.go:704
↓ 1 callersFunctionaddGitAuthentication
Inject git authentication string for specific git commands.
internal/run/stub.go:144
↓ 1 callersFunctionaddItemArgs
(config addItemConfig)
pkg/cmd/project/item-add/item_add.go:117
↓ 1 callersMethodaddJob
(jobID int64, zf *zip.File)
pkg/cmd/run/view/logs.go:187
↓ 1 callersFunctionaddLabels
(httpClient *http.Client, id string, repo ghrepo.Interface, labels []string)
pkg/cmd/pr/shared/editable_http.go:152
↓ 1 callersFunctionaddParamsMap
(m map[string]any, key string)
pkg/cmd/api/fields.go:122
↓ 1 callersFunctionaddParamsSlice
(m map[string]any, prevkey, newkey string)
pkg/cmd/api/fields.go:135
↓ 1 callersFunctionaddQueryParam
(query url.Values, key string, value any)
pkg/cmd/api/http.go:131
↓ 1 callersFunctionaddRow
(tp *tableprinter.TablePrinter, io *iostreams.IOStreams, o check)
pkg/cmd/pr/checks/output.go:11
↓ 1 callersFunctionaddSegment
(inrune, segment []rune)
pkg/search/query.go:368
↓ 1 callersMethodaddStep
(jobID int64, stepNumber int, zf *zip.File)
pkg/cmd/run/view/logs.go:182
↓ 1 callersMethodaddWarning
addWarning records msg for Warnings unless an identical message was already recorded.
internal/config/config.go:285
↓ 1 callersFunctionaddedPaths
addedPaths lists where fields were added. Indexes become *, so a field added to every item of a list is listed once.
script/ghmock/scaffold.go:322
↓ 1 callersFunctionagentSessionWebURL
(repo ghrepo.Interface, j *capi.Job)
pkg/cmd/agent-task/create/create.go:197
↓ 1 callersFunctionaggregateChecks
(checkContexts []api.CheckContext, requiredChecks bool)
pkg/cmd/pr/checks/aggregate.go:36
↓ 1 callersFunctionallowsAdminOverride
(status string)
pkg/cmd/pr/merge/merge.go:798
↓ 1 callersFunctionapi
(t: TestContext, expected: Expected[])
evals/src/harness.test.ts:63
← previousnext →2,801–2,900 of 7,487, ranked by callers