Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,572 in github.com/cli/cli
⨍
Functions
7,572
◇
Types & classes
1,537
↓ 2 callers
Function
getExtensions
(opts ExtBrowseOpts)
pkg/cmd/extension/browse/browse.go:62
↓ 2 callers
Function
getFileName
(filePath string)
pkg/cmd/release/verify-asset/verify_asset.go:210
↓ 2 callers
Function
getFilesToAdd
(file string, content []byte)
pkg/cmd/gist/edit/edit.go:420
↓ 2 callers
Function
getGPGKeys
(httpClient *http.Client, host string)
pkg/cmd/gpg-key/delete/http.go:26
↓ 2 callers
Function
getHostname
getHostname returns the hostname the request is addressed to, preferring an explicit Host override and falling back to the URL host. Any port in the h
api/http_client.go:333
↓ 2 callers
Function
getOrgAndRepo
(tenant, repoURL string)
pkg/cmd/attestation/inspect/bundle.go:57
↓ 2 callers
Function
getRemotes
(opts *CreateOptions)
pkg/cmd/pr/create/create.go:1082
↓ 2 callers
Function
getRepoVisibilityOptions
(owner string)
pkg/cmd/repo/create/create.go:918
↓ 2 callers
Function
getRun
(opts *GetOptions)
pkg/cmd/variable/get/get.go:73
↓ 2 callers
Function
getRun
(opts *GetOptions)
pkg/cmd/config/get/get.go:55
↓ 2 callers
Function
getSSHKey
(httpClient *http.Client, host string, keyID string)
pkg/cmd/ssh-key/delete/http.go:25
↓ 2 callers
Function
getSecretsFromOptions
(opts *SetOptions)
pkg/cmd/secret/set/set.go:376
↓ 2 callers
Function
getTags
(httpClient *http.Client, repo ghrepo.Interface, limit int)
pkg/cmd/release/create/http.go:60
↓ 2 callers
Function
getTrustedRoot
(makeTUF tufClientInstantiator, opts *Options, hc *http.Client)
pkg/cmd/attestation/trustedroot/trustedroot.go:125
↓ 2 callers
Function
getUserKeys
(httpClient *http.Client, hostname string, u safeurl.SafeURL)
pkg/cmd/ssh-key/shared/user_keys.go:76
↓ 2 callers
Function
getVariablesFromOptions
(opts *SetOptions)
pkg/cmd/variable/set/set.go:229
↓ 2 callers
Function
getViewer
(httpClient *http.Client, hostname, token string)
internal/authflow/flow.go:167
↓ 2 callers
Function
getWorkflowByID
ID can be either a numeric database ID or the workflow file name
pkg/cmd/workflow/shared/shared.go:161
↓ 2 callers
Function
getWorkflowsByName
(client *api.Client, repo ghrepo.Interface, name string, states []WorkflowState)
pkg/cmd/workflow/shared/shared.go:175
↓ 2 callers
Function
getZipLogMap
getZipLogMap populates a logs struct with appropriate log fetchers based on the provided zip file and list of jobs. The structure of zip file is expe
pkg/cmd/run/view/logs.go:219
↓ 2 callers
Function
gitDeadlineEnvironment
(ctx context.Context, env []string)
script/ghmock/gitcmd.go:341
↓ 2 callers
Function
gitRequests
(scratch string, requests []loggedRequest)
script/ghmock/gittransport.go:247
↓ 2 callers
Function
gitTagInfo
(client *git.Client, tagName string)
pkg/cmd/release/create/create.go:573
↓ 2 callers
Function
graphQLErrorText
(err error)
script/ghmock/graphqlcheck.go:122
↓ 2 callers
Function
groupGraphQLVariables
(params map[string]any)
pkg/cmd/api/http.go:95
↓ 2 callers
Function
groupWithOR
(qualifier string, vs []string)
pkg/search/query.go:227
↓ 2 callers
Method
handleAdditionalPermissions
(ctx context.Context, prompter SurveyPrompter, createParams *api.CreateCodespaceParams, allowPermissionsURL st
pkg/cmd/codespace/create.go:354
↓ 2 callers
Method
handleRequestBodyError
handleRequestBodyError is used to handle error when the twirp server cannot read request
internal/barista/observability/telemetry.twirp.go:271
↓ 2 callers
Function
hasActiveToken
(hostname string, expectedToken string)
pkg/cmd/auth/logout/logout_test.go:1364
↓ 2 callers
Method
hasDeferredEdits
hasDeferredEdits reports whether the run asks for an edit that the deferred update path applies, which Editable.Dirty() cannot see. Setting --type is
pkg/cmd/issue/edit/edit.go:283
↓ 2 callers
Function
hasHiddenSegment
hasHiddenSegment reports whether any path component starts with a dot.
internal/skills/discovery/discovery.go:1129
↓ 2 callers
Function
hasNoToken
(hostname string)
pkg/cmd/auth/logout/logout_test.go:1355
↓ 2 callers
Function
hasNonHelpFlags
(fs *pflag.FlagSet)
internal/docs/markdown.go:61
↓ 2 callers
Function
hasScript
(httpClient *http.Client, repo ghrepo.Interface)
pkg/cmd/extension/http.go:44
↓ 2 callers
Function
hasTrailingPathSeparator
(path string)
internal/safepaths/root.go:482
↓ 2 callers
Method
hasUnsavedChanges
hasUnsavedChanges returns whether the environment has unsaved changes.
pkg/cmd/codespace/common.go:226
↓ 2 callers
Function
helperRun
(opts *CredentialOptions)
pkg/cmd/auth/gitcredential/helper.go:60
↓ 2 callers
Function
httpRequest
(client *http.Client, hostname string, apiHost string, method string, p string, params any, headers []string)
pkg/cmd/api/http.go:16
↓ 2 callers
Function
humanFileSize
(s int64)
pkg/cmd/cache/list/list.go:145
↓ 2 callers
Function
humanFileSize
(s int64)
pkg/cmd/release/view/view.go:202
↓ 2 callers
Function
importRun
(opts *ImportOptions)
pkg/cmd/alias/imports/import.go:94
↓ 2 callers
Function
inWindow
(at: number)
evals/src/suites/events/grading/observations.ts:142
↓ 2 callers
Function
installCommandArgs
(skill skillResult, agent, scope string)
pkg/cmd/skills/search/search.go:586
↓ 2 callers
Function
installProgress
(io *iostreams.IOStreams, total int)
pkg/cmd/skills/install/install.go:1100
↓ 2 callers
Function
installSkill
(opts *Options, skill discovery.Skill, baseDir string)
internal/skills/installer/installer.go:251
↓ 2 callers
Function
interrupt
(signal: string)
evals/src/smoke.ts:84
↓ 2 callers
Function
introArgs
(defs ast.ArgumentDefinitionList, args map[string]any)
script/ghmock/introspection.go:344
↓ 2 callers
Method
introValue
introValue turns a resolved value into JSON, following the selection.
script/ghmock/introspection.go:110
↓ 2 callers
Method
introspectionRoot
(f *ast.Field)
script/ghmock/introspection.go:26
↓ 2 callers
Method
isA
(concrete *ast.Definition, name string)
script/ghmock/graphqlcheck.go:294
↓ 2 callers
Function
isArtifactURL
isArtifactURL reports whether arg is meant as an artifact URL: an http(s) URL whose path goes on past its issue number. parseArtifactURL decides wheth
pkg/cmd/issue/artifact/shared/shared.go:140
↓ 2 callers
Function
isBinExtension
(client *http.Client, repo ghrepo.Interface)
pkg/cmd/extension/manager.go:749
↓ 2 callers
Function
isCommit
(arg string)
pkg/cmd/browse/browse.go:353
↓ 2 callers
Function
isCygwinTerminal
(fd uintptr)
pkg/iostreams/iostreams.go:611
↓ 2 callers
Function
isEqualSet
(a, b []string)
pkg/cmd/pr/shared/finder.go:671
↓ 2 callers
Method
isExecutable
isExecutable reports whether the entry is a regular file with an executable bit set.
pkg/cmd/repo/read-dir/http.go:53
↓ 2 callers
Function
isGitPathFile
(path string)
script/ghmock/gitfixture.go:198
↓ 2 callers
Function
isHTTPRedirect
(status int)
internal/barista/observability/telemetry.twirp.go:825
↓ 2 callers
Function
isIncluded
(value string, opts []string)
pkg/cmdutil/flags.go:175
↓ 2 callers
Function
isJupyterServerURLValid
Ensures that the Jupyter server URL is valid and points to a loopback http(s) URL
internal/codespaces/rpc/invoker.go:321
↓ 2 callers
Function
isLabelAlreadyExistsError
(err api.HTTPError)
pkg/cmd/label/create.go:191
↓ 2 callers
Function
isNotFound
isNotFound reports whether err is an API error carrying a 404 status. The release lookups treat a missing release as a sentinel rather than an error,
pkg/cmd/release/shared/fetch.go:296
↓ 2 callers
Function
isNotFound
isNotFound returns true if the error is an HTTP 404 response.
internal/skills/discovery/discovery.go:356
↓ 2 callers
Function
isNumber
(arg string)
pkg/cmd/browse/browse.go:345
↓ 2 callers
Method
isREST
()
script/ghmock/schemacmd.go:26
↓ 2 callers
Function
isRefreshLockInaccessible
isRefreshLockInaccessible reports whether err, returned while acquiring the refresh lock, shows that the lock file or its directory cannot be created
internal/config/refreshable.go:72
↓ 2 callers
Function
isRelativePath
isRelativePath reports whether path is relative to a directory, and so can be placed inside the one the markdown was read from. filepath.IsAbs is not
internal/attachments/references.go:396
↓ 2 callers
Function
isRetryable
isRetryable reports whether a request may succeed later. Network and server errors are retried; anything else, such as a missing subscription or a req
pkg/cmd/event/listen/listen.go:522
↓ 2 callers
Function
isRootCmd
(command *cobra.Command)
pkg/cmd/root/help.go:88
↓ 2 callers
Function
isSameRef
isSameRef checks if the head and base refs point to the same ref in the same repository. For cross-repository PRs (e.g., from a fork), the qualified h
pkg/cmd/pr/create/create.go:184
↓ 2 callers
Function
isSingleImage
isSingleImage reports whether src is one image pointing at wantURL and nothing besides. Asset validation uses it to confirm that escaped alt text cann
internal/attachments/references.go:834
↓ 2 callers
Function
isSupportedProtocol
(u string)
git/url.go:12
↓ 2 callers
Function
isTerminal
(f *os.File)
pkg/iostreams/iostreams.go:607
↓ 2 callers
Function
isWindowsReservedFilename
(filename string)
pkg/cmd/release/download/download.go:514
↓ 2 callers
Function
issueAssigneeList
(issue api.Issue)
pkg/cmd/issue/view/view.go:402
↓ 2 callers
Function
issueLabelList
(issue *api.Issue, cs *iostreams.ColorScheme)
pkg/cmd/issue/view/view.go:453
↓ 2 callers
Function
issueProjectList
(issue api.Issue)
pkg/cmd/issue/view/view.go:419
↓ 2 callers
Function
issueResponseNoIssues2Fields
issueResponseNoIssues2Fields returns a GraphQL response for an issue with no Issues 2.0 fields.
pkg/cmd/issue/view/view_test.go:700
↓ 2 callers
Method
jobsBasePathV1
()
pkg/cmd/agent-task/capi/job.go:55
↓ 2 callers
Function
joinLimited
joinLimited joins items, showing at most limit of them.
script/ghmock/report.go:399
↓ 2 callers
Function
joinLinkedIssues
(issues []api.LinkedIssue, withTitle bool)
pkg/cmd/issue/view/view.go:379
↓ 2 callers
Function
journalResource
(journal: Journal, journalPath: string, kind: string, id: string)
evals/src/core/sandbox.ts:49
↓ 2 callers
Function
jsonOutput
(call: GhCall)
evals/src/suites/events/grading/observations.ts:15
↓ 2 callers
Function
keyUpload
(httpClient *http.Client, hostname string, u safeurl.SafeURL, payload map[string]string)
pkg/cmd/ssh-key/add/http.go:106
↓ 2 callers
Function
keyringServiceName
(hostname string)
internal/config/migration/multi_account.go:229
↓ 2 callers
Function
kindLabel
(k ast.DefinitionKind)
script/ghmock/schemacmd.go:206
↓ 2 callers
Function
labelList
(labels []client.DiscussionLabel, cs *iostreams.ColorScheme)
pkg/cmd/discussion/view/view.go:609
↓ 2 callers
Method
latestRequests
(entries []loggedRequest)
script/ghmock/log.go:73
↓ 2 callers
Method
leaf
leaf returns a certificate for host signed by the authority, making it the first time it's asked for.
script/ghmock/tls.go:75
↓ 2 callers
Function
listAvailableSkills
listAvailableSkills prints discovered skills as a table for non-interactive callers, mirroring the information shown in the interactive picker so the
pkg/cmd/skills/install/install.go:751
↓ 2 callers
Function
listHeader
listHeader describes the listed subscriptions. The API reports no total, so a full page may not be all of them.
pkg/cmd/event/subscription/list/list.go:118
↓ 2 callers
Function
listNames
listNames joins names for messages, shortening long lists.
script/ghmock/checker.go:261
↓ 2 callers
Function
listOrgs
(httpClient *http.Client, hostname string, limit int)
pkg/cmd/org/list/http.go:19
↓ 2 callers
Function
listRepos
(client *http.Client, hostname string, limit int, owner string, filter FilterOptions)
pkg/cmd/repo/list/http.go:32
↓ 2 callers
Function
listRulesets
(httpClient *http.Client, query string, variables map[string]any, limit int, host string)
pkg/cmd/ruleset/shared/http.go:49
↓ 2 callers
Function
listRun
(opts *ListOptions)
pkg/cmd/cache/list/list.go:90
↓ 2 callers
Function
listRun
(opts *ListOptions)
pkg/cmd/discussion/list/list.go:189
↓ 2 callers
Function
listRun
(opts *ListOptions)
pkg/cmd/ruleset/list/list.go:95
↓ 2 callers
Function
listRun
(opts *ListOptions)
pkg/cmd/release/list/list.go:66
↓ 2 callers
Function
listRun
(opts *ListOptions)
pkg/cmd/agent-task/list/list.go:63
← previous
next →
1,901–2,000 of 7,572, ranked by callers