MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/gpg-key/list/list.go:45
↓ 2 callersFunctionlistRun
(opts *listOptions)
pkg/cmd/label/list.go:84
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/org/list/list.go:59
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/issue/artifact/list/list.go:87
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/gist/list/list.go:112
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/repo/license/list/list.go:50
↓ 2 callersFunctionlistRun
(opts *listOptions)
pkg/cmd/repo/autolink/list/list.go:71
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/repo/gitignore/list/list.go:44
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/repo/deploy-key/list/list.go:55
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/skills/list/list.go:169
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/ssh-key/list/list.go:49
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/config/list/list.go:45
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/run/list/list.go:104
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/pr/list/list.go:145
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/workflow/list/list.go:69
↓ 2 callersMethodlistView
()
pkg/cmd/extension/browse/model.go:518
↓ 2 callersFunctionload
()
evals/src/replay.ts:30
↓ 2 callersFunctionloadBundleFromJSONFile
(path string)
pkg/cmd/attestation/verification/attestation.go:48
↓ 2 callersFunctionloadGraphQLSchema
(data []byte, name string)
script/ghmock/graphqlcheck.go:19
↓ 2 callersFunctionloadRESTIndex
(data []byte)
script/ghmock/restcheck.go:42
↓ 2 callersFunctionlocalGit
(dir string, env []string, args ...string)
script/ghmock/gitcmd.go:348
↓ 2 callersFunctionlockLockable
lockLockable will lock an issue or pull request
pkg/cmd/issue/lock/lock.go:308
↓ 2 callersFunctionlogin
login returns a user's login, or an empty string for a null user.
pkg/cmd/issue/artifact/view/view.go:329
↓ 2 callersMethodlogin
(hostname, username, token, gitProtocol string, secureStorage bool)
internal/config/config.go:541
↓ 2 callersFunctionloginRefreshable
(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool)
pkg/cmd/auth/token/token_test.go:505
↓ 2 callersFunctionloginRefreshableWithExpiry
(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool, expiresA
pkg/cmd/auth/token/token_test.go:510
↓ 2 callersMethodlogout
(hostname, username string)
internal/config/config.go:666
↓ 2 callersFunctionlookup
(vars map[string]string)
internal/agents/detect_test.go:10
↓ 2 callersMethodlookupCommit
(ctx context.Context, sha, format string)
git/client.go:422
↓ 2 callersFunctionmagicFieldValue
(v string, opts *ApiOptions)
pkg/cmd/api/fields.go:160
↓ 2 callersFunctionmagicFieldValue
TODO MODIFIED copypasta from gh api
pkg/cmd/workflow/run/run.go:158
↓ 2 callersMethodmakePath
(name string)
pkg/cmd/release/download/download.go:408
↓ 2 callersFunctionmakeTestReleaseAttestation
()
pkg/cmd/attestation/api/mock_client.go:9
↓ 2 callersFunctionmalformedRequestError
malformedRequestError is used when the twirp server cannot unmarshal a request
internal/barista/observability/telemetry.twirp.go:891
↓ 2 callersFunctionmapReplyFromNode
mapReplyFromNode converts a discussionReplyNode into the domain DiscussionComment type.
pkg/cmd/discussion/client/client.go:462
↓ 2 callersFunctionmaskToken
(token string)
pkg/cmd/auth/status/status.go:423
↓ 2 callersFunctionmatchesAny
(name string, excludePatterns []string)
pkg/cmd/pr/diff/diff.go:410
↓ 2 callersFunctionmergeMethodSurvey
(p shared.Prompt, baseRepo *api.Repository)
pkg/cmd/pr/merge/merge.go:636
↓ 2 callersFunctionmightBeGHESUser
(cfg gh.Config)
internal/ghcmd/cmd.go:522
↓ 2 callersFunctionminimalNodes
minimalNodes returns count comma-separated minimal JSON discussion nodes.
pkg/cmd/discussion/client/client_test.go:61
↓ 2 callersFunctionmockIssueGet
(_ *testing.T, reg *httpmock.Registry)
pkg/cmd/issue/edit/edit_test.go:1836
↓ 2 callersFunctionmockIssueNumberGet
(_ *testing.T, reg *httpmock.Registry, number int)
pkg/cmd/issue/edit/edit_test.go:1857
↓ 2 callersFunctionmockReviewerResponseForRepoWithCopilot
mockReviewerResponseForRepoWithCopilot generates a GraphQL response for SuggestedReviewerActorsForRepo tests. If copilotAvailable is true, includes Co
api/queries_pr_test.go:387
↓ 2 callersFunctionmockV2ProjectItems
mockV2ProjectItems registers GraphQL queries to report an issue on multiple v2 projects in various states - `NO_STATUS_ITEM`: emulates this issue is o
pkg/cmd/issue/view/view_test.go:626
↓ 2 callersFunctionmultiSelectSurvey
(p EditPrompter, message string, defaults, options []string)
pkg/cmd/pr/shared/editable.go:628
↓ 2 callersFunctionmultiSelectWithSearch
(p Prompter, prompt, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) Mu
internal/prompter/prompter.go:372
↓ 2 callersFunctionmustParseAbsolute
(s string)
internal/safepaths/absolute_test.go:113
↓ 2 callersFunctionnamedPipeWriteError
(path string)
internal/safepaths/root.go:469
↓ 2 callersFunctionnamesPull
Whether a --resource value names the fixture PR, by web URL or by either REST API URL form the server accepts.
evals/src/suites/events/grading/observations.ts:77
↓ 2 callersFunctionneedsComments
needsComments returns true when the command should fetch full comment data, either because --comments was set or because --json requested the comments
pkg/cmd/discussion/view/view.go:235
↓ 2 callersFunctionnewCmdClone
(f *cmdutil.Factory, runF func(*cloneOptions) error)
pkg/cmd/label/clone.go:28
↓ 2 callersFunctionnewCmdCreate
(f *cmdutil.Factory, runF func(*createOptions) error)
pkg/cmd/label/create.go:52
↓ 2 callersFunctionnewCmdDelete
(f *cmdutil.Factory, runF func(*deleteOptions) error)
pkg/cmd/label/delete.go:29
↓ 2 callersFunctionnewCmdEdit
(f *cmdutil.Factory, runF func(*editOptions) error)
pkg/cmd/label/edit.go:28
↓ 2 callersFunctionnewCmdList
(f *cmdutil.Factory, runF func(*listOptions) error)
pkg/cmd/label/list.go:28
↓ 2 callersFunctionnewCmdSendTelemetry
(f *cmdutil.Factory, runF func(*SendTelemetryOptions) error)
pkg/cmd/send-telemetry/send_telemetry.go:33
↓ 2 callersFunctionnewCreateCmd
(app *App)
pkg/cmd/codespace/create.go:84
↓ 2 callersFunctionnewEditCmd
(app *App)
pkg/cmd/codespace/edit.go:19
↓ 2 callersFunctionnewEnforcementCriteria
(opts *Options)
pkg/cmd/attestation/verify/policy.go:66
↓ 2 callersFunctionnewGitClient
(f *cmdutil.Factory)
pkg/cmd/factory/default.go:311
↓ 2 callersFunctionnewGitHubVerifierWithTrustedRoot
(trustedRoot *root.TrustedRoot)
pkg/cmd/attestation/verification/sigstore.go:362
↓ 2 callersFunctionnewListCmd
(app *App)
pkg/cmd/codespace/list.go:23
↓ 2 callersFunctionnewLiveFixtureRepositoryClientWithTransport
(tsEnv testScriptEnv, transport http.RoundTripper)
acceptance/fixture_repository_test.go:40
↓ 2 callersFunctionnewProjectFromQueryBase
(source projectQueryBase)
pkg/cmd/project/shared/queries/queries.go:227
↓ 2 callersFunctionnewPublicGoodVerifierWithTrustedRoot
(trustedRoot *root.TrustedRoot)
pkg/cmd/attestation/verification/sigstore.go:385
↓ 2 callersFunctionnewRemoteNameToRepoFn
newRemoteNameToRepoFn takes a function that returns a list of remotes and returns a function that takes a remote name and returns the corresponding re
pkg/cmd/pr/shared/find_refs_resolution.go:228
↓ 2 callersFunctionnewRequest
newRequest makes an http.Request from a client, adding common headers.
internal/barista/observability/telemetry.twirp.go:699
↓ 2 callersFunctionnewSSHCommand
newSSHCommand populates an exec.Cmd to run a command (or if blank, an interactive shell) over ssh.
internal/codespaces/ssh.go:65
↓ 2 callersFunctionnewSchemaFile
(source schemaSource, path string, data []byte)
script/ghmock/checker.go:45
↓ 2 callersFunctionnewTestGitClient
newTestGitClient returns a git.Client with a fake git path to avoid real git resolution.
pkg/cmd/skills/publish/publish_test.go:26
↓ 2 callersFunctionnewTestRepoWithMode
(t *testing.T, bare bool)
git/client_test.go:1565
↓ 2 callersFunctionnewTestVirtualTerminal
(t *testing.T)
internal/prompter/accessible_prompter_test.go:839
↓ 2 callersFunctionnewTestVirtualTerminalIOStreams
(t *testing.T, console *expect.Console)
internal/prompter/accessible_prompter_test.go:868
↓ 2 callersFunctionnewViewCmd
(app *App)
pkg/cmd/codespace/view.go:25
↓ 2 callersMethodnoVerifierSet
()
pkg/cmd/attestation/verification/sigstore.go:394
↓ 2 callersFunctionnormalizeHostname
(h string)
internal/ghrepo/repo.go:74
↓ 2 callersFunctionnormalizeToUTC
normalizeToUTC returns a copy of the record with any expiration timestamps converted to UTC, so stored records use a single canonical timezone regardl
internal/config/refreshable.go:778
↓ 2 callersFunctionnormalizeVerboseLog
(t string)
api/http_client_test.go:720
↓ 2 callersFunctionnotFound
notFound is an error for a name that doesn't exist. It suggests close matches.
script/ghmock/schemacmd.go:621
↓ 2 callersMethodnotifyCodespaceOfClientActivity
(ctx context.Context, activity string)
internal/codespaces/rpc/invoker.go:300
↓ 2 callersFunctionoauthAppHttpClientFunc
(appVersion string, invokingAgent string, telemetryDisabler ghtelemetry.Disabler)
pkg/cmd/factory/default.go:246
↓ 2 callersFunctionobserve
(calls: Call[], value: unknown, now: number)
evals/src/core/observer.ts:6
↓ 2 callersFunctionofficialExtensionStubRun
(io *iostreams.IOStreams, p prompter.Prompter, em extensions.ExtensionManager, ext *extensions.OfficialExtensi
pkg/cmd/root/official_extension_stub.go:39
↓ 2 callersFunctionopenUserFile
(fn string, stdin io.ReadCloser)
pkg/cmd/api/api.go:648
↓ 2 callersMethodoperationLabel
()
script/ghmock/request.go:32
↓ 2 callersFunctionoperationVariables
(op *ast.OperationDefinition, raw json.RawMessage)
script/ghmock/gqlscaffold.go:72
↓ 2 callersFunctionoutputForEnvironment
(output string)
acceptance/acceptance_test.go:219
↓ 2 callersMethodpageSize
()
pkg/cmd/extension/browse/model.go:582
↓ 2 callersFunctionpaginateAttributes
paginateAttributes is for paginating over the attributes of a project, such as items or fields firstKey and afterKey are the keys in the variables ma
pkg/cmd/project/shared/queries/queries.go:928
↓ 2 callersFunctionparseAgentName
parseAgentName validates and returns an AgentName from a raw string. Only alphanumeric characters, hyphens, and underscores are allowed.
internal/agents/detect.go:35
↓ 2 callersFunctionparseArgs
parseArgs parses arguments into two distinct slices of flags and command. Parsing stops as soon as a non-flag argument is found assuming the remaining
internal/codespaces/ssh.go:153
↓ 2 callersFunctionparseBranchConfig
(branchConfigLines []string)
git/client.go:461
↓ 2 callersFunctionparseCacheID
(arg string)
pkg/cmd/cache/delete/delete.go:236
↓ 2 callersFunctionparseCloneArgs
(extraArgs []string)
git/client.go:990
↓ 2 callersFunctionparseErrorResponse
(r io.Reader, statusCode int)
pkg/cmd/api/api.go:666
↓ 2 callersFunctionparseExportArgs
(args []string)
script/ghmock/export.go:22
↓ 2 callersFunctionparseField
TODO copypasta from gh api
pkg/cmd/workflow/run/run.go:149
↓ 2 callersFunctionparseFile
(opts BrowseOptions, f string)
pkg/cmd/browse/browse.go:302
↓ 2 callersFunctionparseGitArgs
(args []string)
script/ghmock/gitcmd.go:164
↓ 2 callersFunctionparseJournalFile
(path: string)
evals/src/core/sandbox.ts:45
← previousnext →2,001–2,100 of 7,572, ranked by callers