Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ types & classes
Types & classes
1,328 in github.com/cli/cli
⨍
Functions
6,141
◇
Types & classes
1,328
↓ 7 callers
Interface
httpClient
httpClient makes HTTP calls to all non-GitHub API endpoints
pkg/cmd/attestation/api/client.go:62
↓ 3 callers
FuncType
baseRepoFn
func() (ghrepo.Interface, error)
pkg/cmd/secret/shared/base_repo.go:21
↓ 3 callers
Struct
fetcher
pkg/cmd/pr/edit/edit.go:612
↓ 3 callers
FuncType
roundTripperFunc
func(*http.Request) (*http.Response, error)
pkg/cmd/project/shared/queries/queries_test.go:16
↓ 3 callers
TypeAlias
username
pkg/cmd/auth/refresh/refresh.go:22
↓ 2 callers
TypeAlias
Scope
Scope determines where skills are installed.
internal/skills/registry/registry.go:26
↓ 2 callers
TypeAlias
args
git/client_test.go:1968
↓ 2 callers
FuncType
colorFunc
func(string) string
pkg/cmd/run/shared/shared.go:598
↓ 2 callers
Interface
config
pkg/cmd/auth/gitcredential/helper.go:16
↓ 2 callers
TypeAlias
token
pkg/cmd/auth/refresh/refresh.go:21
↓ 1 callers
TypeAlias
AgentName
AgentName is a validated agent identifier safe for use in HTTP headers.
internal/agents/detect.go:11
↓ 1 callers
TypeAlias
ExtTemplateType
pkg/extensions/extension.go:9
↓ 1 callers
TypeAlias
PushDefault
PushDefault defines the action git push should take if no refspec is given. See: https://git-scm.com/docs/git-config#Documentation/git-config.txt-push
git/client.go:507
↓ 1 callers
TypeAlias
Results
pkg/cmd/status/status.go:153
↓ 1 callers
Struct
c
pkg/cmd/root/help_test.go:23
↓ 1 callers
TypeAlias
exitCode
internal/ghcmd/cmd.go:42
↓ 1 callers
FuncType
funcTripper
funcTripper drives uploadWithDelete from a plain function. It is a RoundTripper rather than a Do-er because the upload path takes a concrete *http.Cli
pkg/cmd/release/shared/upload_test.go:121
↓ 1 callers
Struct
lister
pkg/cmd/pr/shared/lister.go:28
↓ 1 callers
FuncType
remotesFn
func() (ghContext.Remotes, error)
pkg/cmd/secret/shared/base_repo.go:22
↓ 1 callers
FuncType
roundTripFunc
roundTripFunc lets a plain function satisfy http.RoundTripper.
api/client_test.go:415
↓ 1 callers
Struct
run
pkg/cmd/run/download/download_test.go:150
↓ 1 callers
TypeAlias
testHostConfig
pkg/cmd/status/status_test.go:21
Struct
API
API is the interface to the codespace service.
internal/codespaces/api/api.go:63
Struct
Absolute
Absolute must be constructed via ParseAbsolute, or other methods in this package. The zero value of Absolute will panic when String is called.
internal/safepaths/absolute.go:11
Struct
AcceptPermissionsRequiredError
internal/codespaces/api/api.go:946
Struct
AccessibilityOptions
pkg/cmd/accessibility/accessibility.go:19
TypeAlias
Action
pkg/cmd/pr/shared/survey.go:18
Struct
ActionsFeatures
internal/featuredetection/feature_detection.go:167
Struct
Actor
Actor is a superset of User and Bot, among others. At the time of writing, some of these fields are not directly supported by the Actor type and inste
api/queries_repo.go:161
Struct
AddBlockedByInput
api/queries_issue.go:591
Struct
AddOptions
pkg/cmd/gpg-key/add/add.go:17
Struct
AddOptions
pkg/cmd/repo/deploy-key/add/add.go:16
Struct
AddOptions
pkg/cmd/ssh-key/add/add.go:16
Struct
AddSubIssueInput
api/queries_issue.go:539
Struct
AdvancedIssueSearchDetectorMock
internal/featuredetection/detector_mock.go:77
Struct
AgentHost
AgentHost represents an AI agent that can use skills.
internal/skills/registry/registry.go:14
Interface
AliasConfig
AliasConfig defines an interface for managing command aliases.
internal/gh/gh.go:218
Struct
AliasConfig
internal/config/config.go:575
Struct
AmbiguousBaseRepoError
pkg/cmd/secret/shared/base_repo.go:13
Struct
Annotation
pkg/cmd/run/shared/shared.go:251
Struct
ApiOptions
pkg/cmd/api/api.go:37
Struct
App
pkg/cmd/codespace/common.go:31
TypeAlias
App
pkg/cmd/secret/shared/shared.go:19
Struct
ArchiveOptions
pkg/cmd/repo/archive/archive.go:19
Struct
Artifact
pkg/cmd/run/shared/artifacts.go:12
Struct
ArtifactAttestations
pkg/cmd/attestation/api/trust_domain.go:5
Struct
AssetForUpload
pkg/cmd/release/shared/upload.go:25
Interface
AssignableActor
api/queries_repo.go:1164
Struct
AssignableBot
api/queries_repo.go:1206
Struct
AssignableUser
Always a user
api/queries_repo.go:1173
Struct
AssignedActors
api/queries_issue.go:147
Struct
Assignees
api/queries_issue.go:134
Struct
Attestation
pkg/cmd/attestation/api/attestation.go:13
Struct
AttestationDetail
AttestationDetail captures attestation source details that will be returned by the inspect command
pkg/cmd/attestation/inspect/bundle.go:49
Struct
AttestationProcessingResult
AttestationProcessingResult captures processing a given attestation's signature verification and policy evaluation
pkg/cmd/attestation/verification/sigstore.go:28
Struct
AttestationVerifier
pkg/cmd/release/shared/attestation.go:25
Struct
AttestationsResponse
pkg/cmd/attestation/api/attestation.go:19
Interface
AuthConfig
AuthConfig is used for interacting with some persistent configuration for gh, with knowledge on how to access encrypted storage when necessary. Behavi
internal/gh/gh.go:136
Struct
AuthConfig
AuthConfig is used for interacting with some persistent configuration for gh, with knowledge on how to access encrypted storage when neccesarry. Behav
internal/config/config.go:229
Struct
AuthError
pkg/cmd/root/root.go:56
Struct
AuthFailClient
pkg/cmd/attestation/artifact/oci/mock_client.go:41
Struct
Author
api/queries_issue.go:283
Struct
AutoMergeRequest
api/queries_pr.go:267
Struct
Autolink
pkg/cmd/repo/autolink/shared/autolink.go:5
Interface
AutolinkCreateClient
pkg/cmd/repo/autolink/create/create.go:27
Struct
AutolinkCreateRequest
pkg/cmd/repo/autolink/create/http.go:19
Struct
AutolinkCreator
pkg/cmd/repo/autolink/create/http.go:15
Interface
AutolinkDeleteClient
pkg/cmd/repo/autolink/delete/delete.go:27
Struct
AutolinkDeleter
pkg/cmd/repo/autolink/delete/http.go:13
Interface
AutolinkListClient
pkg/cmd/repo/autolink/list/list.go:28
Struct
AutolinkLister
pkg/cmd/repo/autolink/list/http.go:14
Interface
AutolinkViewClient
pkg/cmd/repo/autolink/view/view.go:24
Struct
AutolinkViewer
pkg/cmd/repo/autolink/view/http.go:14
Struct
BinaryTerminalError
BinaryTerminalError reports that binary content was about to be written to a terminal, where it is unreadable and may carry control bytes.
pkg/iostreams/content.go:40
Struct
BranchConfig
These are the keys we read from the git branch.<name> config.
git/objects.go:64
Struct
BranchRef
BranchRef is the branch name in a GitHub repository
api/queries_repo.go:169
Struct
BrowseOptions
pkg/cmd/browse/browse.go:30
Interface
Browser
internal/browser/browser.go:9
Struct
BundleInspectResult
pkg/cmd/attestation/inspect/inspect.go:137
Struct
BundleInspection
pkg/cmd/attestation/inspect/inspect.go:141
Struct
CAPIClient
CAPIClient is a client for interacting with the Copilot API
pkg/cmd/agent-task/capi/client.go:24
Struct
Cache
pkg/cmd/cache/shared/shared.go:23
Struct
CachePayload
pkg/cmd/cache/shared/shared.go:33
Struct
CachedBranchConfigGitConfigClient
pkg/cmd/pr/shared/git_cached_config_client.go:11
Struct
CancelOptions
pkg/cmd/run/cancel/cancel.go:18
Interface
CapiClient
go:generate moq -rm -out client_mock.go . CapiClient CapiClient defines the methods used by the caller. Implementations may be replaced with test doub
pkg/cmd/agent-task/capi/client.go:13
Struct
CapiClientMock
CapiClientMock is a mock implementation of CapiClient. func TestSomethingThatUsesCapiClient(t *testing.T) { // make and configure a mocked CapiCl
pkg/cmd/agent-task/capi/client_mock.go:48
Struct
Cell
pkg/cmd/repo/garden/garden.go:47
Struct
CertificateInspection
pkg/cmd/attestation/inspect/inspect.go:149
TypeAlias
CheckConclusionState
https://docs.github.com/en/graphql/reference/enums#checkconclusionstate
api/queries_pr.go:188
Struct
CheckContext
api/queries_pr.go:219
Struct
CheckContexts
api/queries_pr.go:202
Struct
CheckOptions
pkg/cmd/ruleset/check/check.go:23
Struct
CheckRun
pkg/cmd/run/shared/shared.go:270
Struct
CheckRunCountByState
api/queries_pr.go:154
TypeAlias
CheckRunState
https://docs.github.com/en/graphql/reference/enums#checkrunstate
api/queries_pr.go:135
TypeAlias
CheckStatusState
https://docs.github.com/en/graphql/reference/enums#checkstatusstate
api/queries_pr.go:176
Struct
CheckSuite
api/queries_pr.go:241
Struct
CheckoutOptions
pkg/cmd/pr/checkout/checkout.go:23
Struct
ChecksOptions
pkg/cmd/pr/checks/checks.go:35
next →
1–100 of 1,328, ranked by callers