MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 1 callersFunctionComparePullRequestBaseBranchWith
(client *Client, repo ghrepo.Interface, prNumber int, headRef string)
api/queries_pr.go:886
↓ 1 callersMethodConfigureOurs
(hostname string)
pkg/cmd/auth/setupgit/setupgit.go:16
↓ 1 callersMethodConfigureOurs
(hostname string)
pkg/cmd/auth/shared/git_credential.go:13
↓ 1 callersMethodConfiguredHelper
ConfiguredHelper returns the configured git credential helper for a given hostname.
pkg/cmd/auth/shared/gitcredentials/helper_config.go:92
↓ 1 callersMethodConfirm
(string, bool)
pkg/cmd/pr/shared/editable.go:369
↓ 1 callersMethodConfirmDeletion
ConfirmDeletion prompts the user to confirm deletion of a resource by typing the requiredValue.
internal/prompter/prompter.go:46
↓ 1 callersMethodConfirmDeletionCalls
ConfirmDeletionCalls gets all the calls that were made to ConfirmDeletion. Check the length with: len(mockedPrompter.ConfirmDeletionCalls())
internal/prompter/prompter_mock.go:255
↓ 1 callersFunctionConfirmPRSubmission
(p Prompt, allowPreview, allowMetadata, isDraft bool)
pkg/cmd/pr/shared/survey.go:51
↓ 1 callersMethodConnectToForwardedPort
ConnectToForwardedPort implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:21
↓ 1 callersMethodConnectToForwardedPort
(ctx context.Context, conn io.ReadWriteCloser, opts ForwardPortOpts)
internal/codespaces/portforwarder/port_forwarder.go:47
↓ 1 callersMethodConnectToForwardedPort
ConnectToForwardedPort connects to the forwarded port via a given ReadWriteCloser. Optionally, it detects traffic over the connection and sends activi
internal/codespaces/portforwarder/port_forwarder.go:232
↓ 1 callersFunctionConvertPullRequestToDraft
(client *Client, repo ghrepo.Interface, pr *PullRequest)
api/queries_pr.go:854
↓ 1 callersFunctionCopy
Copy runs an scp command over the specified port. scpArgs should contain both scp flags as well as the list of files to copy, with the flags first. R
internal/codespaces/ssh.go:42
↓ 1 callersMethodCount
()
api/reaction_groups.go:42
↓ 1 callersMethodCreate
(repo ghrepo.Interface, request AutolinkCreateRequest)
pkg/cmd/repo/autolink/create/http.go:25
↓ 1 callersMethodCreate
(key string, content io.Reader)
pkg/cmd/run/view/view.go:50
↓ 1 callersMethodCreate
Create creates a new Codespace
pkg/cmd/codespace/create.go:129
↓ 1 callersMethodCreateBranch
(string, string, string)
pkg/cmd/repo/sync/git.go:13
↓ 1 callersMethodCreateCalls
CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedArtifactClient.CreateCalls())
pkg/cmd/issue/artifact/client/client_mock.go:179
↓ 1 callersMethodCreateCalls
CreateCalls gets all the calls that were made to Create. Check the length with: len(mockedExtensionManager.CreateCalls())
pkg/extensions/manager_mock.go:172
↓ 1 callersMethodCreateJob
(ctx context.Context, owner, repo, problemStatement, baseBranch string, customAgent string)
pkg/cmd/agent-task/capi/client.go:17
↓ 1 callersFunctionCreateLinkedBranch
(client *Client, host string, repoID, issueID, branchID, branchName string)
api/queries_branch_issue_reference.go:15
↓ 1 callersFunctionCreatePullRequest
CreatePullRequest creates a pull request in a GitHub repository
api/queries_pr.go:490
↓ 1 callersMethodCreateSubscriptionCalls
CreateSubscriptionCalls gets all the calls that were made to CreateSubscription. Check the length with: len(mockedEventClient.CreateSubscriptionCall
pkg/cmd/event/client/client_mock.go:130
↓ 1 callersFunctionCurrentLoginNameAndOrgs
(client *Client, hostname string)
api/queries_user.go:17
↓ 1 callersFunctionCurrentUserID
(client *Client, hostname string)
api/queries_user.go:37
↓ 1 callersFunctionCurrentUserProjectsV2
CurrentUserProjectsV2 fetches all open projectsV2 for current user.
api/queries_projects_v2.go:287
↓ 1 callersMethodCurrentVersion
CurrentVersion calls CurrentVersionFunc.
pkg/extensions/extension_mock.go:133
↓ 1 callersFunctionDataDir
()
internal/config/config.go:1044
↓ 1 callersMethodDelete
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/delete/http.go:17
↓ 1 callersMethodDelete
(repo ghrepo.Interface, id string)
pkg/cmd/repo/autolink/delete/delete.go:28
↓ 1 callersMethodDelete
(ctx context.Context, opts deleteOptions)
pkg/cmd/codespace/delete.go:92
↓ 1 callersMethodDelete
Delete removes an alias.
internal/gh/gh.go:359
↓ 1 callersMethodDeleteCodespace
(ctx context.Context, name string, orgName string, userName string)
pkg/cmd/codespace/common.go:74
↓ 1 callersMethodDeleteCodespaceCalls
DeleteCodespaceCalls gets all the calls that were made to DeleteCodespace. Check the length with: len(mockedapiClient.DeleteCodespaceCalls())
pkg/cmd/codespace/mock_api.go:370
↓ 1 callersMethodDetailedItem
()
pkg/cmd/project/shared/queries/queries.go:569
↓ 1 callersFunctionDetect
Detect returns the name of the AI coding agent driving the CLI, or an empty AgentName if none is detected.
internal/agents/detect.go:44
↓ 1 callersMethodDisable
Disable leaves telemetry disabled.
internal/telemetry/telemetry.go:507
↓ 1 callersFunctionDisableTelemetryForSubcommands
(cmd *cobra.Command)
pkg/cmdutil/telemetry.go:71
↓ 1 callersMethodDisabled
()
pkg/cmd/workflow/shared/shared.go:46
↓ 1 callersMethodDispatchCalls
DispatchCalls gets all the calls that were made to Dispatch. Check the length with: len(mockedExtensionManager.DispatchCalls())
pkg/extensions/manager_mock.go:212
↓ 1 callersMethodDisplayName
DisplayName returns the skill name, prefixed with namespace if present to disambiguate skills from different authors in the same repository. Skills di
internal/skills/discovery/discovery.go:61
↓ 1 callersMethodDisplayName
DisplayName returns a user-friendly name via actorDisplayName.
api/queries_repo.go:1188
↓ 1 callersMethodDisplayName
()
api/queries_repo.go:1218
↓ 1 callersFunctionDisplayWidth
(s string)
internal/text/text.go:34
↓ 1 callersMethodDownload
(url safeurl.SafeURL, openDestination func() (*safepaths.Root, error))
pkg/cmd/run/download/http.go:27
↓ 1 callersMethodDownload
(url safeurl.SafeURL, openDestination func() (*safepaths.Root, error))
pkg/cmd/run/download/download.go:33
↓ 1 callersMethodEdit
(filename, initialValue string)
pkg/cmd/pr/shared/survey.go:390
↓ 1 callersMethodEdit
Edits a codespace
pkg/cmd/codespace/edit.go:47
↓ 1 callersMethodEditCodespace
(ctx context.Context, codespaceName string, params *api.EditCodespaceParams)
pkg/cmd/codespace/common.go:78
↓ 1 callersMethodEditFields
(*shared.Editable, string)
pkg/cmd/pr/edit/edit.go:587
↓ 1 callersFunctionEditFieldsSurvey
(p EditPrompter, editable *Editable, editorCommand string)
pkg/cmd/pr/shared/editable.go:372
↓ 1 callersMethodEditableOptionsFetch
(*api.Client, ghrepo.Interface, *shared.Editable, gh.ProjectsV1Support)
pkg/cmd/pr/edit/edit.go:603
↓ 1 callersMethodEditor
(hostname string)
internal/config/config.go:161
↓ 1 callersMethodEnableDryRunModeCalls
EnableDryRunModeCalls gets all the calls that were made to EnableDryRunMode. Check the length with: len(mockedExtensionManager.EnableDryRunModeCalls
pkg/extensions/manager_mock.go:247
↓ 1 callersMethodEndCursor
()
pkg/cmd/project/shared/queries/queries.go:756
↓ 1 callersFunctionEndpointNeedsScopes
EndpointNeedsScopes adds additional OAuth scopes to an HTTP response as if they were returned from the server endpoint. This improves HTTP 4xx error m
api/client.go:355
↓ 1 callersMethodError
()
pkg/cmd/repo/autolink/list/list_test.go:110
↓ 1 callersMethodError
()
pkg/cmd/repo/autolink/create/create_test.go:114
↓ 1 callersMethodError
()
pkg/cmd/config/get/get.go:82
↓ 1 callersMethodError
()
internal/codespaces/codespaces.go:54
↓ 1 callersMethodError
()
internal/prompter/multi_select_with_search.go:395
↓ 1 callersFunctionEventTypeDescription
EventTypeDescription returns the description of the named event type, or an empty string if it is unknown.
pkg/cmd/event/shared/help.go:24
↓ 1 callersMethodExitCode
()
git/client.go:50
↓ 1 callersMethodExitCode
()
pkg/cmd/repo/fork/fork.go:58
↓ 1 callersMethodExperimentalPrompterEnabled
()
pkg/iostreams/iostreams.go:487
↓ 1 callersMethodExpiringCredentials
(hostname string)
internal/config/config.go:191
↓ 1 callersMethodExportData
(fields []string)
pkg/cmd/cache/shared/shared.go:99
↓ 1 callersMethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:341
↓ 1 callersMethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:514
↓ 1 callersMethodExportData
ExportData implements the cmdutil exportable interface for --json output.
pkg/cmd/repo/read-file/http.go:32
↓ 1 callersMethodExportData
(fields []string)
internal/codespaces/api/api.go:321
↓ 1 callersMethodExportData
(fields []string)
api/export_pr.go:8
↓ 1 callersMethodExportData
(fields []string)
api/export_pr.go:123
↓ 1 callersMethodExportReply
ExportReply returns a reply as a map for JSON output, without nested replies.
pkg/cmd/discussion/client/types.go:221
↓ 1 callersMethodExternalHTTPClient
()
internal/codespaces/codespaces.go:42
↓ 1 callersFunctionExtractHeader
ExtractHeader extracts a named header from any response received by this client and, if non-blank, saves it to dest.
api/http_client.go:308
↓ 1 callersFunctionExtractZip
ExtractZip extracts the contents of a zip archive to destDir. Entries that would escape destDir lexically are skipped.
internal/zip/zip.go:21
↓ 1 callersMethodFetchAttestationsFromGitHubAPI
FetchAttestationsFromGitHubAPI returns true if the command should fetch attestations from the GitHub API It checks that a bundle path is not provided
pkg/cmd/attestation/verify/options.go:58
↓ 1 callersMethodFieldsToEdit
(*shared.Editable)
pkg/cmd/pr/edit/edit.go:586
↓ 1 callersFunctionFillFromJSON
(io *iostreams.IOStreams, recoverFile string, state *IssueMetadataState)
pkg/cmd/pr/shared/state.go:63
↓ 1 callersFunctionFilterAttestationsByFileDigest
(attestations []*api.Attestation, fileDigest string)
pkg/cmd/release/shared/attestation.go:76
↓ 1 callersFunctionFind
Find locates the `sh` interpreter on the system.
pkg/findsh/find.go:8
↓ 1 callersMethodFind
(opts FindOptions)
pkg/cmd/pr/shared/finder.go:111
↓ 1 callersFunctionFindIssuesOrPRs
FindIssuesOrPRs loads 1 or more issues or pull requests with the specified fields. If some of the fields could not be fetched by GraphQL, this returns
pkg/cmd/issue/shared/lookup.go:105
↓ 1 callersFunctionFindRepoBranchID
(client *Client, repo ghrepo.Interface, ref string)
api/queries_branch_issue_reference.go:112
↓ 1 callersMethodFinish
Finish has no payload to complete.
internal/telemetry/telemetry.go:513
↓ 1 callersMethodFlakyOnRESTSuccessWithNextPageHandler
Returns a func that just calls OnRESTSuccessWithNextPage but half the time it returns a 500 error.
pkg/cmd/attestation/api/mock_githubApiClient_test.go:51
↓ 1 callersMethodForwardPortToListener
(ctx context.Context, opts ForwardPortOpts, listener *net.TCPListener)
internal/codespaces/portforwarder/port_forwarder.go:45
↓ 1 callersMethodGetAttestations
(name name.Reference, digest string)
pkg/cmd/attestation/artifact/oci/client.go:24
↓ 1 callersMethodGetClientActivities
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:71
↓ 1 callersMethodGetCodespaceBillableOwner
(ctx context.Context, nwo string)
pkg/cmd/codespace/common.go:85
↓ 1 callersMethodGetCodespaceRepoSuggestions
(ctx context.Context, partialSearch string, params api.RepoSearchParameters)
pkg/cmd/codespace/common.go:84
↓ 1 callersMethodGetCodespaceRepoSuggestions
GetCodespaceRepoSuggestions searches for and returns repo names based on the provided search text.
internal/codespaces/api/api.go:754
↓ 1 callersMethodGetCodespaceRepositoryContents
(ctx context.Context, codespace *api.Codespace, path string)
pkg/cmd/codespace/common.go:82
↓ 1 callersMethodGetCodespacesMachines
(ctx context.Context, repoID int64, branch string, location string, devcontainerPath string)
pkg/cmd/codespace/common.go:80
↓ 1 callersMethodGetCodespacesPermissionsCheck
(ctx context.Context, repoID int64, branch string, devcontainerPath string)
pkg/cmd/codespace/common.go:81
↓ 1 callersMethodGetImageDigest
(imgName string)
pkg/cmd/attestation/artifact/oci/client.go:23
↓ 1 callersMethodGetJob
(ctx context.Context, owner, repo, jobID string)
pkg/cmd/agent-task/capi/client.go:18
↓ 1 callersMethodGetKeepAliveReason
()
internal/codespaces/portforwarder/port_forwarder.go:51
← previousnext →2,401–2,500 of 7,572, ranked by callers