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
↓ 1 callers
Function
RegisterJupyterServerHostServer
(s grpc.ServiceRegistrar, srv JupyterServerHostServer)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:69
↓ 1 callers
Function
RegisterSshServerHostServer
(s grpc.ServiceRegistrar, srv SshServerHostServer)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:69
↓ 1 callers
Method
Remove
(name string)
pkg/cmd/extension/manager.go:579
↓ 1 callers
Method
Remove
(value string)
pkg/set/string_set.go:31
↓ 1 callers
Function
RemoveBlockedBy
RemoveBlockedBy removes a "blocked by" relationship between two issues.
api/queries_issue.go:615
↓ 1 callers
Method
RemoveCalls
RemoveCalls gets all the calls that were made to Remove. Check the length with: len(mockedExtensionManager.RemoveCalls())
pkg/extensions/manager_mock.go:372
↓ 1 callers
Function
RemoveDiacritics
RemoveDiacritics returns the input value without "diacritics", or accent marks
internal/text/text.go:109
↓ 1 callers
Function
RemovePullRequestReviews
RemovePullRequestReviews removes requested reviewers from a pull request using the REST API. Team identifiers can be in "org/slug" format.
api/queries_pr_review.go:316
↓ 1 callers
Function
RemoveSubIssue
RemoveSubIssue removes a sub-issue from a parent issue.
api/queries_issue.go:565
↓ 1 callers
Method
Render
Render processes the given logs and writes the rendered output to w. Errors are returned when an unexpected log entry is encountered.
pkg/cmd/agent-task/shared/log.go:58
↓ 1 callers
Method
ReplaceSlice
ReplaceSlice replaces usages of `@copilot` in a slice with Copilot's login.
pkg/cmd/pr/shared/params.go:365
↓ 1 callers
Function
RepoAssignableActors
RepoAssignableActors fetches all the assignable actors for a repository on GitHub hosts that support Actor assignees.
api/queries_repo.go:1288
↓ 1 callers
Function
RepoAssignableUsers
RepoAssignableUsers fetches all the assignable users for a repository
api/queries_repo.go:1237
↓ 1 callers
Function
RepoAssigneeSearchFunc
RepoAssigneeSearchFunc returns a search function for MultiSelectWithSearch that dynamically fetches assignable actors at the repository level. Used du
pkg/cmd/pr/shared/editable.go:675
↓ 1 callers
Function
RepoFindForks
RepoFindForks finds forks of the repo that are affiliated with the viewer
api/queries_repo.go:696
↓ 1 callers
Method
RepoHost
RepoHost is the GitHub hostname of the repository
api/queries_repo.go:262
↓ 1 callers
Function
RepoLabels
RepoLabels fetches all the labels in a repository
api/queries_repo.go:1421
↓ 1 callers
Method
RepoMetadataFetch
(api.RepoMetadataInput)
pkg/cmd/pr/shared/survey.go:154
↓ 1 callers
Method
RepoName
RepoName is the name of the repository
api/queries_repo.go:257
↓ 1 callers
Function
RepoNameFromRemote
RepoNameFromRemote extracts "owner/repo" from a git remote URL.
internal/skills/registry/registry.go:461
↓ 1 callers
Function
RepoNetworkStubResponse
(owner, repo, defaultBranch, permission string)
pkg/httpmock/legacy.go:54
↓ 1 callers
Function
RepoParent
RepoParent finds out the parent repository of a fork
api/queries_repo.go:441
↓ 1 callers
Function
RepoProjects
RepoProjects fetches all open projects for a repository.
api/queries_repo.go:1102
↓ 1 callers
Function
RepoProjectsV2
RepoProjectsV2 fetches all open projectsV2 for a repository.
api/queries_projects_v2.go:247
↓ 1 callers
Method
RepositoryFeatures
()
internal/featuredetection/feature_detection.go:333
↓ 1 callers
Function
RequiredStatusCheckRollupGraphQL
(prID, after string, includeEvent bool)
api/query_builder.go:270
↓ 1 callers
Method
Reset
()
pkg/surveyext/editor_test.go:273
↓ 1 callers
Method
ResetHard
(string)
pkg/cmd/repo/sync/git.go:19
↓ 1 callers
Method
Resolve
()
pkg/cmd/pr/checkout/checkout.go:401
↓ 1 callers
Method
Resolve
()
pkg/cmd/pr/checkout/checkout.go:409
↓ 1 callers
Method
Resolve
()
pkg/cmd/pr/checkout/checkout.go:436
↓ 1 callers
Function
ResolveRemotesToRepos
(remotes Remotes, client *api.Client, base string)
context/context.go:19
↓ 1 callers
Method
Retrieve
()
pkg/cmd/pr/edit/edit.go:613
↓ 1 callers
Method
ReviewStatus
()
api/queries_pr_review.go:104
↓ 1 callers
Method
RoundTrip
(req *http.Request)
api/client_test.go:417
↓ 1 callers
Method
Run
Run satisfies Runnable
internal/run/stub.go:123
↓ 1 callers
Function
SSHSigningKeyUpload
Uploads the provided SSH Signing key. Returns true if the key was uploaded, false if it was not.
pkg/cmd/ssh-key/add/http.go:62
↓ 1 callers
Function
ScopesSuggestion
ScopesSuggestion is an error messaging utility that prints the suggestion to request additional OAuth scopes in case a server response indicates that
api/client.go:345
↓ 1 callers
Function
SearchQueryBuild
(options FilterOptions, advancedIssueSearchSyntax bool)
pkg/cmd/pr/shared/params.go:235
↓ 1 callers
Function
SearchRepoAssignableActors
SearchRepoAssignableActors searches assignable actors for a repository with an optional query string. Unlike RepoAssignableActors which fetches all ac
api/queries_repo.go:1355
↓ 1 callers
Method
Select
(name string)
pkg/cmd/pr/shared/templates.go:212
↓ 1 callers
Method
Select
Hidden codespace `select` command allows to reuse existing codespace selection dialog by external GH CLI extensions. By default output selected codesp
pkg/cmd/codespace/select.go:58
↓ 1 callers
Method
Select
(ctx context.Context)
pkg/cmd/codespace/codespace_selector.go:37
↓ 1 callers
Method
SelectCalls
SelectCalls gets all the calls that were made to Select. Check the length with: len(mockedPrompter.SelectCalls())
internal/prompter/prompter_mock.go:514
↓ 1 callers
Method
ServeHTTP
(w http.ResponseWriter, r *http.Request)
script/ghmock/server.go:131
↓ 1 callers
Method
SetAccessibleColorsEnabled
(enabled bool)
pkg/iostreams/iostreams.go:467
↓ 1 callers
Method
SetClient
(client *http.Client)
pkg/cmd/extension/manager.go:86
↓ 1 callers
Method
SetColorLabels
(colorLabels bool)
pkg/iostreams/iostreams.go:158
↓ 1 callers
Method
SetConfig
(cfg gh.Config)
pkg/cmd/extension/manager.go:82
↓ 1 callers
Method
SetExperimentalPrompterEnabled
(enabled bool)
pkg/iostreams/iostreams.go:483
↓ 1 callers
Method
SetSampleRate
SetSampleRate leaves telemetry disabled.
internal/telemetry/telemetry.go:510
↓ 1 callers
Function
Shell
Shell runs an interactive secure shell over an existing port-forwarding session. It runs until the shell is terminated (including by cancellation of t
internal/codespaces/ssh.go:21
↓ 1 callers
Method
Slug
()
api/queries_pr_review.go:243
↓ 1 callers
Method
Spinner
(hostname string)
internal/config/config.go:196
↓ 1 callers
Method
StartCodespace
(ctx context.Context, name string)
internal/codespaces/codespaces.go:41
↓ 1 callers
Method
StartProgressIndicatorWithLabel
StartProgressIndicatorWithLabel starts a progress indicator with a message.
pkg/cmd/codespace/common.go:54
↓ 1 callers
Method
StartSSHServerWithOptions
(ctx context.Context, options StartSSHServerOptions)
internal/codespaces/rpc/invoker.go:48
↓ 1 callers
Method
StartSSHServerWithOptions
Starts a remote SSH server to allow the user to connect to the codespace via SSH
internal/codespaces/rpc/invoker.go:221
↓ 1 callers
Function
StatusCheckRollupGraphQLWithCountByState
()
api/query_builder.go:208
↓ 1 callers
Method
StopCodespace
(ctx context.Context, opts *stopOptions)
pkg/cmd/codespace/stop.go:40
↓ 1 callers
Method
StopProgressIndicator
StopProgressIndicator stops the progress indicator.
pkg/cmd/codespace/common.go:59
↓ 1 callers
Method
StopProgressIndicator
StopProgressIndicator stops the progress indicator if it is running. Note that a textual progress indicator does not create a progress indicator, so t
pkg/iostreams/iostreams.go:364
↓ 1 callers
Method
String
()
script/ghmock/terminal.go:99
↓ 1 callers
Method
String
()
git/client.go:571
↓ 1 callers
Method
String
()
pkg/cmd/secret/shared/shared.go:29
↓ 1 callers
Method
String
String returns a string representation of the absolute path, or panics if the absolute path is empty. This guards against programmer error.
internal/safepaths/absolute.go:28
↓ 1 callers
Method
String
String returns the wrapped URL verbatim.
internal/safeurl/safeurl.go:127
↓ 1 callers
Method
StubRepoResponseWithPermission
(owner, repo, permission string)
pkg/httpmock/legacy.go:50
↓ 1 callers
Function
SuggestedAssignableActors
SuggestedAssignableActors fetches up to 10 suggested actors for a specific assignable (Issue or PullRequest) node ID. `assignableID` is the GraphQL no
api/queries_pr.go:655
↓ 1 callers
Method
TableHeader
(t string)
pkg/iostreams/color.go:277
↓ 1 callers
Method
Telemetry
()
internal/config/config.go:201
↓ 1 callers
Method
TempFile
(dir, pattern string)
pkg/iostreams/iostreams.go:460
↓ 1 callers
Function
TestRun
(id int64, s Status, c Conclusion)
pkg/cmd/run/shared/test.go:13
↓ 1 callers
Function
TestRunWithCommit
(id int64, s Status, c Conclusion, commit string)
pkg/cmd/run/shared/test.go:17
↓ 1 callers
Function
TestRunWithOrgRequiredWorkflow
(id int64, s Status, c Conclusion, commit string)
pkg/cmd/run/shared/test.go:21
↓ 1 callers
Method
TitleValue
()
pkg/cmd/pr/shared/editable.go:92
↓ 1 callers
Method
TokenFromKeyring
TokenFromKeyring will retrieve the auth token for the given hostname, only searching in encrypted storage.
internal/config/config.go:427
↓ 1 callers
Method
TrackingBranchNames
(context.Context, string)
pkg/cmdutil/flags.go:49
↓ 1 callers
Method
Translate
(*url.URL)
context/remote.go:102
↓ 1 callers
Method
TruncDescription
()
pkg/cmd/gist/shared/shared.go:58
↓ 1 callers
Method
Type
Type is the typename of the project field.
pkg/cmd/project/shared/queries/queries.go:1000
↓ 1 callers
Method
Type
()
pkg/cmd/event/listen/listen.go:218
↓ 1 callers
Method
Type
()
pkg/cmd/codespace/create.go:57
↓ 1 callers
Method
URL
()
pkg/cmd/extension/extension.go:59
↓ 1 callers
Method
UnlinkProjectFromRepository
UnlinkProjectFromRepository unlinks a project from a repository.
pkg/cmd/project/shared/queries/queries.go:1678
↓ 1 callers
Method
UnlinkProjectFromTeam
UnlinkProjectFromTeam unlinks a project from a team.
pkg/cmd/project/shared/queries/queries.go:1691
↓ 1 callers
Method
UnqualifiedHeadRef
()
pkg/cmd/pr/shared/find_refs_resolution.go:100
↓ 1 callers
Method
UpdateBranch
(string, string)
pkg/cmd/repo/sync/git.go:11
↓ 1 callers
Method
UpdateBranch
UpdateBranch moves branch to ref. It uses `git branch --force` rather than `git update-ref` because update-ref will happily move a branch that is chec
pkg/cmd/repo/sync/git.go:29
↓ 1 callers
Method
UpdateCalls
UpdateCalls gets all the calls that were made to Update. Check the length with: len(mockedArtifactClient.UpdateCalls())
pkg/cmd/issue/artifact/client/client_mock.go:387
↓ 1 callers
Method
UpdateDir
UpdateDir returns the extension-specific directory where updates are stored.
pkg/cmd/extension/manager.go:599
↓ 1 callers
Method
UpdateDir
UpdateDir calls UpdateDirFunc.
pkg/extensions/manager_mock.go:385
↓ 1 callers
Method
UpdateDir
(name string)
pkg/extensions/extension.go:41
↓ 1 callers
Function
UpdateIssue
(httpClient *http.Client, repo ghrepo.Interface, id string, isPR bool, options Editable)
pkg/cmd/pr/shared/editable_http.go:12
↓ 1 callers
Function
UpdateIssueIssueType
UpdateIssueIssueType sets or clears the issue type on an issue. Pass an empty issueTypeID to clear the issue type.
api/queries_issue.go:507
↓ 1 callers
Method
UpdatePortVisibility
(ctx context.Context, selector *CodespaceSelector, args []string)
pkg/cmd/codespace/ports.go:234
↓ 1 callers
Method
UpdatePortVisibility
UpdatePortVisibility implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:76
↓ 1 callers
Function
UpdatePullRequestBranch
(client *Client, repo ghrepo.Interface, params githubv4.UpdatePullRequestBranchInput)
api/queries_pr.go:744
↓ 1 callers
Method
UpgradeCalls
UpgradeCalls gets all the calls that were made to Upgrade. Check the length with: len(mockedExtensionManager.UpgradeCalls())
pkg/extensions/manager_mock.go:438
↓ 1 callers
Function
ValidAgentIDs
ValidAgentIDs returns a comma-separated list of valid agent IDs.
internal/skills/registry/registry.go:367
← previous
next →
2,801–2,900 of 7,572, ranked by callers