Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ types & classes
Types & classes
1,526 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
↓ 8 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:607
↓ 3 callers
FuncType
roundTripperFunc
func(*http.Request) (*http.Response, error)
pkg/cmd/project/shared/queries/queries_test.go:16
↓ 2 callers
TypeAlias
Scope
Scope determines where skills are installed.
internal/skills/registry/registry.go:26
↓ 2 callers
Interface
config
pkg/cmd/auth/gitcredential/helper.go:18
↓ 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:501
↓ 1 callers
TypeAlias
Results
pkg/cmd/status/status.go:153
↓ 1 callers
Struct
c
pkg/cmd/root/help_test.go:23
↓ 1 callers
Struct
check
pkg/cmd/pr/checks/aggregate.go:12
↓ 1 callers
FuncType
colorFunc
func(string) string
pkg/cmd/run/shared/shared.go:598
↓ 1 callers
TypeAlias
exitCode
internal/ghcmd/cmd.go:41
↓ 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
Struct
release
pkg/cmd/extension/http.go:72
↓ 1 callers
FuncType
remotesFn
func() (ghContext.Remotes, error)
pkg/cmd/secret/shared/base_repo.go:22
↓ 1 callers
Struct
reply
script/ghmock/server_test.go:82
↓ 1 callers
FuncType
roundTripFunc
roundTripFunc lets a plain function satisfy http.RoundTripper.
api/client_test.go:415
↓ 1 callers
FuncType
roundTripperFunc
func(*http.Request) (*http.Response, error)
acceptance/fixture_repository_test.go:87
↓ 1 callers
Struct
run
pkg/cmd/run/download/download_test.go:150
↓ 1 callers
TypeAlias
secondsDuration
secondsDuration is a duration flag that also accepts a bare number of seconds, such as 600.
pkg/cmd/event/listen/listen.go:192
↓ 1 callers
TypeAlias
testHostConfig
pkg/cmd/status/status_test.go:21
Class
evals/src/core/github.ts:23
Class
evals/src/core/github.ts:38
Class
evals/src/core/trial-cleanup.ts:9
Class
evals/src/core/executor.ts:54
Class
evals/src/core/home.ts:12
Class
evals/src/core/observer.ts:23
Class
evals/src/core/errors.ts:2
Class
evals/src/core/actor.ts:10
Class
evals/src/graders/review.ts:21
Class
evals/src/suites/events/github.ts:19
Class
evals/src/suites/events/smoke-protocol.ts:64
Class
evals/src/suites/events/smoke-protocol.ts:125
Class
evals/src/suites/events/actor.ts:11
Class
evals/src/suites/events/grading/task.ts:6
Class
evals/src/suites/events/grading/route.ts:8
Class
evals/src/suites/events/grading/polling.ts:10
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
Class
Actor
evals/src/suites/events/actor.ts:11
Struct
Actor
Actor is a user who created or updated an artifact, or saved one of its versions.
pkg/cmd/issue/artifact/client/types.go:63
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
Class
ActorDriver
evals/src/core/actor.ts:10
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:334
Struct
AliasConfig
internal/config/config.go:750
Struct
AmbiguousBaseRepoError
pkg/cmd/secret/shared/base_repo.go:13
Struct
Annotation
pkg/cmd/run/shared/shared.go:251
Class
ApiError
evals/src/core/github.ts:23
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
Interface
ArgvSpec
evals/src/core/calls.ts:36
Struct
Artifact
Artifact is an issue artifact as the REST API returns it. The API can return null for the users and timestamps, so those are pointers.
pkg/cmd/issue/artifact/client/types.go:43
Struct
Artifact
pkg/cmd/run/shared/artifacts.go:12
Struct
ArtifactAttestations
pkg/cmd/attestation/api/trust_domain.go:5
Interface
ArtifactClient
go:generate moq -rm -out client_mock.go . ArtifactClient ArtifactClient is how the artifact commands reach the API. Every request goes to the host of
pkg/cmd/issue/artifact/client/client.go:22
Struct
ArtifactClientMock
ArtifactClientMock is a mock implementation of ArtifactClient. func TestSomethingThatUsesArtifactClient(t *testing.T) { // make and configure a m
pkg/cmd/issue/artifact/client/client_mock.go:48
Struct
ArtifactWithVersions
ArtifactWithVersions is one artifact with its edit history, as the API returns a single artifact.
pkg/cmd/issue/artifact/client/types.go:83
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:223
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:252
Struct
AuthError
pkg/cmd/root/root.go:57
Struct
AuthFailClient
pkg/cmd/attestation/artifact/oci/mock_client.go:41
Struct
AuthResult
AuthResult carries the outcome of AuthFlow. Refreshable is set only when the server issued a refresh token, so callers can store a refreshable credent
internal/authflow/flow.go:30
Struct
AuthTelemetryEvent
AuthTelemetryEvent tracks the auth-state facts of a single login or refresh invocation in a pending telemetry event. [ghtelemetry.Service.Finish] owns
pkg/cmd/auth/shared/telemetry.go:13
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
next →
1–100 of 1,526, ranked by callers