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
Function
TestNewHTTPClientLegacyConfigAttachesToken
(t *testing.T)
api/http_client_test.go:309
Function
TestNewHTTPClientLogHeadlineOnly
(t *testing.T)
api/http_client_test.go:335
Function
TestNewHTTPClientRejectsConfigAndRefreshingConfig
(t *testing.T)
api/http_client_test.go:272
Function
TestNewHTTPClientTelemetryDisabler
(t *testing.T)
api/http_client_test.go:564
Function
TestNewHTTPClientVerboseWithoutLog
(t *testing.T)
api/http_client_test.go:550
Function
TestNewHTTPClientWithoutTelemetryDisabler
(t *testing.T)
api/http_client_test.go:612
Function
TestNewInspectCmd_PrintOutputJSONFormat
(t *testing.T)
pkg/cmd/attestation/inspect/inspect_integration_test.go:17
Function
TestNewOwner_nonTTY
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:604
Function
TestNewPortForwarder
(t *testing.T)
internal/codespaces/portforwarder/port_forwarder_test.go:15
Function
TestNewProject_nonTTY
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:598
Function
TestNewServiceLogModeFlushesToWriter
(t *testing.T)
internal/telemetry/telemetry_test.go:296
Function
TestNewServiceLogModeWithColorLogsToWriter
(t *testing.T)
internal/telemetry/telemetry_test.go:317
Function
TestNewTrustedRootCmd
(t *testing.T)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:24
Function
TestNewTrustedRootWithTenancy
(t *testing.T)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:93
Function
TestNewUploader
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:780
Function
TestNewUploader
(t *testing.T)
internal/attachments/client_test.go:372
Function
TestNewVerifyCmd
(t *testing.T)
pkg/cmd/attestation/verify/verify_test.go:36
Function
TestNew_APIURL_customConfig
(t *testing.T)
internal/codespaces/api/api_test.go:162
Function
TestNew_APIURL_dotcomConfig
(t *testing.T)
internal/codespaces/api/api_test.go:139
Function
TestNew_APIURL_dotcomFallback
(t *testing.T)
internal/codespaces/api/api_test.go:210
Function
TestNew_APIURL_env
(t *testing.T)
internal/codespaces/api/api_test.go:187
Function
TestNew_ServerURL_customConfig
(t *testing.T)
internal/codespaces/api/api_test.go:247
Function
TestNew_ServerURL_dotcomConfig
(t *testing.T)
internal/codespaces/api/api_test.go:224
Function
TestNew_ServerURL_dotcomFallback
(t *testing.T)
internal/codespaces/api/api_test.go:295
Function
TestNew_ServerURL_env
(t *testing.T)
internal/codespaces/api/api_test.go:272
Function
TestNoArgs
(t *testing.T)
pkg/cmd/pr/close/close_test.go:98
Function
TestNoOpService
(t *testing.T)
internal/telemetry/telemetry_test.go:523
Function
TestNoRepoCanBeDetermined
(t *testing.T)
pkg/cmd/pr/create/create_test.go:2727
Function
TestNoneExpect
(t *testing.T)
pkg/option/option_test.go:187
Function
TestNoneStringer
(t *testing.T)
pkg/option/option_test.go:120
Function
TestNoneUnwrap
(t *testing.T)
pkg/option/option_test.go:128
Function
TestNoneUnwrapOr
(t *testing.T)
pkg/option/option_test.go:141
Function
TestNoneUnwrapOrElse
(t *testing.T)
pkg/option/option_test.go:149
Function
TestNoneUnwrapOrZero
(t *testing.T)
pkg/option/option_test.go:157
Function
TestNoneValue
(t *testing.T)
pkg/option/option_test.go:177
Function
TestNormalizeReference
(t *testing.T)
pkg/cmd/attestation/artifact/artifact_windows_test.go:11
Function
TestNormalizeReference
(t *testing.T)
pkg/cmd/attestation/artifact/artifact_posix_test.go:11
Function
TestNormalizeRepoName
(t *testing.T)
pkg/cmd/repo/shared/repo_test.go:7
Function
TestOAuthAppHttpClientDoesNotLogCredentials
(t *testing.T)
pkg/cmd/factory/default_test.go:445
Function
TestOfficialExtensionStubRun
(t *testing.T)
pkg/cmd/root/official_extension_stub_test.go:15
Function
TestOfficialExtension_Repository
(t *testing.T)
pkg/extensions/official_test.go:9
Function
TestOpenFileAllowsTrustedParentSymlinks
(t *testing.T)
internal/safepaths/root_test.go:293
Function
TestOpenFileRejectsTrailingSeparator
(t *testing.T)
internal/safepaths/root_test.go:256
Function
TestOpenFileRejectsWindowsTrailingSeparator
(t *testing.T)
internal/safepaths/link_windows_test.go:112
Function
TestOpenRootDirAllowsTrustedPathSymlinks
(t *testing.T)
internal/safepaths/root_test.go:344
Function
TestOpenStream
(t *testing.T)
pkg/cmd/event/client/client_test.go:431
Function
TestOutputForEnvironment
(t *testing.T)
acceptance/acceptance_test.go:590
Function
TestOutputReturnsCommandOutput
(t *testing.T)
git/command_test.go:34
Function
TestOutputReturnsGitError
(t *testing.T)
git/command_test.go:47
Function
TestOwnerBinaryExtension
(t *testing.T)
pkg/cmd/extension/extension_test.go:67
Function
TestOwnerCached
(t *testing.T)
pkg/cmd/extension/extension_test.go:98
Function
TestOwnerGitExtension
(t *testing.T)
pkg/cmd/extension/extension_test.go:87
Function
TestOwnerLocalExtension
(t *testing.T)
pkg/cmd/extension/extension_test.go:55
Function
TestPRCheckout_detach
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1165
Function
TestPRCheckout_detachedHead
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1046
Function
TestPRCheckout_differentRepo
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:981
Function
TestPRCheckout_differentRepoForce
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1004
Function
TestPRCheckout_differentRepo_currentBranch
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1065
Function
TestPRCheckout_differentRepo_existingBranch
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1027
Function
TestPRCheckout_differentRepo_invalidBranchName
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1084
Function
TestPRCheckout_differentRepo_remoteExists
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:950
Function
TestPRCheckout_existingBranch
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:930
Function
TestPRCheckout_force
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1145
Function
TestPRCheckout_maintainerCanModify
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1101
Function
TestPRCheckout_recurseSubmodules
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1124
Function
TestPRCheckout_sameRepo
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:909
Function
TestPRFindRefs
(t *testing.T)
pkg/cmd/pr/shared/find_refs_resolution_test.go:62
Function
TestPRList
(t *testing.T)
pkg/cmd/pr/list/list_test.go:77
Function
TestPRList_Search_withProjectItems
(t *testing.T)
pkg/cmd/pr/list/list_test.go:409
Function
TestPRList_filtering
(t *testing.T)
pkg/cmd/pr/list/list_test.go:119
Function
TestPRList_filteringAssignee
(t *testing.T)
pkg/cmd/pr/list/list_test.go:185
Function
TestPRList_filteringAuthor
(t *testing.T)
pkg/cmd/pr/list/list_test.go:238
Function
TestPRList_filteringClosed
(t *testing.T)
pkg/cmd/pr/list/list_test.go:157
Function
TestPRList_filteringDraft
(t *testing.T)
pkg/cmd/pr/list/list_test.go:201
Function
TestPRList_filteringHeadBranch
(t *testing.T)
pkg/cmd/pr/list/list_test.go:171
Function
TestPRList_filteringRemoveDuplicate
(t *testing.T)
pkg/cmd/pr/list/list_test.go:136
Function
TestPRList_nontty
(t *testing.T)
pkg/cmd/pr/list/list_test.go:100
Function
TestPRList_web
(t *testing.T)
pkg/cmd/pr/list/list_test.go:292
Function
TestPRList_withInvalidLimitFlag
(t *testing.T)
pkg/cmd/pr/list/list_test.go:285
Function
TestPRList_withProjectItems
(t *testing.T)
pkg/cmd/pr/list/list_test.go:335
Function
TestPRMergeEmptyStrategyNonTTY
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1646
Function
TestPRMergeTTY
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1415
Function
TestPRMergeTTY_squashEditCommitMsgAndSubject
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1558
Function
TestPRMergeTTY_withDeleteBranch
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1481
Function
TestPRReady
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:123
Function
TestPRReadyUndo
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:165
Function
TestPRReadyUndo_alreadyDraft
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:190
Function
TestPRReady_alreadyReady
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:148
Function
TestPRReady_closed
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:207
Function
TestPRReopen
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:52
Function
TestPRReopen_alreadyMerged
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:94
Function
TestPRReopen_alreadyOpen
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:77
Function
TestPRReopen_withComment
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:111
Function
TestPRRepositorySelectionMatchesStruct
TestPRRepositorySelectionMatchesStruct guards the seam between the two: a field added to the selection but not the struct is silently dropped, and one
api/queries_pr_test.go:574
Function
TestPRRevert_APIFailure
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:219
Function
TestPRRevert_acceptedIdentifierFormats
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:69
Function
TestPRRevert_missingArgument
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:52
Function
TestPRRevert_multipleInvocations
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:248
Function
TestPRRevert_notRevertable
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:126
Function
TestPRRevert_withDraft
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:183
← previous
next →
6,201–6,300 of 7,572, ranked by callers