Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,487 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
↓ 1 callers
Method
InputCalls
InputCalls gets all the calls that were made to Input. Check the length with: len(mockedPrompter.InputCalls())
internal/prompter/prompter_mock.go:289
↓ 1 callers
Method
InputHostname
InputHostname prompts the user to enter a hostname.
internal/prompter/prompter.go:48
↓ 1 callers
Method
InstallLocalCalls
InstallLocalCalls gets all the calls that were made to InstallLocal. Check the length with: len(mockedExtensionManager.InstallLocalCalls())
pkg/extensions/manager_mock.go:313
↓ 1 callers
Method
Is256ColorSupported
()
pkg/iostreams/iostreams.go:46
↓ 1 callers
Method
IsAncestor
(string, string)
pkg/cmd/repo/sync/git.go:16
↓ 1 callers
Method
IsBinary
()
pkg/cmd/extension/extension.go:55
↓ 1 callers
Function
IsBinaryFile
(file string)
pkg/cmd/gist/shared/shared.go:198
↓ 1 callers
Method
IsBot
()
pkg/search/result.go:260
↓ 1 callers
Method
IsColorEnabled
()
pkg/iostreams/iostreams.go:45
↓ 1 callers
Function
IsFullyQualifiedRef
IsFullyQualifiedRef returns true if ref uses the "refs/heads/" or "refs/tags/" prefix.
internal/skills/discovery/discovery.go:133
↓ 1 callers
Function
IsHostSupported
(host string)
pkg/cmd/attestation/auth/host.go:11
↓ 1 callers
Method
IsLocal
()
pkg/cmd/extension/extension.go:51
↓ 1 callers
Method
IsLocal
IsLocal calls IsLocalFunc.
pkg/extensions/extension_mock.go:187
↓ 1 callers
Method
IsLocalGitRepo
(ctx context.Context)
git/client.go:764
↓ 1 callers
Method
IsOrganization
()
pkg/cmd/repo/create/http.go:258
↓ 1 callers
Method
IsPullRequest
()
pkg/search/result.go:401
↓ 1 callers
Method
IsPullRequestCalls
IsPullRequestCalls gets all the calls that were made to IsPullRequest. Check the length with: len(mockedArtifactClient.IsPullRequestCalls())
pkg/cmd/issue/artifact/client/client_mock.go:301
↓ 1 callers
Function
IsSessionID
(s string)
pkg/cmd/agent-task/shared/capi.go:71
↓ 1 callers
Function
IsSkipped
(c Conclusion)
pkg/cmd/run/shared/shared.go:327
↓ 1 callers
Method
IsTerminalOutput
()
pkg/iostreams/iostreams.go:44
↓ 1 callers
Function
IssueCreate
IssueCreate creates an issue in a GitHub repository
api/queries_issue.go:326
↓ 1 callers
Method
IssueFeatures
()
internal/featuredetection/feature_detection.go:189
↓ 1 callers
Function
IssueNodeID
IssueNodeID fetches the node ID for an issue given its number and repository.
api/queries_issue.go:776
↓ 1 callers
Method
IssueOrPullRequestID
IssueOrPullRequestID returns the ID of the issue or pull request from a URL.
pkg/cmd/project/shared/queries/queries.go:1297
↓ 1 callers
Function
IssueStatus
(client *Client, repo ghrepo.Interface, options IssueStatusOptions)
api/queries_issue.go:396
↓ 1 callers
Method
Jupyter
(ctx context.Context, selector *CodespaceSelector)
pkg/cmd/codespace/jupyter.go:32
↓ 1 callers
Method
KeepAlive
()
internal/codespaces/rpc/invoker.go:49
↓ 1 callers
Method
Label
Label stylizes text based on label's RGB hex color.
pkg/iostreams/color.go:266
↓ 1 callers
Function
LastCommit
(client *Client, repo ghrepo.Interface)
api/queries_repo.go:676
↓ 1 callers
Method
LastCommit
(ctx context.Context)
git/client.go:405
↓ 1 callers
Method
LatestVersion
()
pkg/cmd/extension/extension.go:116
↓ 1 callers
Method
LatestVersion
LatestVersion calls LatestVersionFunc.
pkg/extensions/extension_mock.go:241
↓ 1 callers
Method
Len
()
pkg/set/string_set.go:64
↓ 1 callers
Method
LinkProjectToRepository
LinkProjectToRepository links a project to a repository.
pkg/cmd/project/shared/queries/queries.go:1652
↓ 1 callers
Method
LinkProjectToTeam
LinkProjectToTeam links a project to a team.
pkg/cmd/project/shared/queries/queries.go:1665
↓ 1 callers
Method
List
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/http.go:18
↓ 1 callers
Method
List
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/list.go:29
↓ 1 callers
Method
List
(ctx context.Context, opts *listOptions, exporter cmdutil.Exporter)
pkg/cmd/codespace/list.go:85
↓ 1 callers
Method
ListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedArtifactClient.ListCalls())
pkg/cmd/issue/artifact/client/client_mock.go:341
↓ 1 callers
Method
ListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedExtensionManager.ListCalls())
pkg/extensions/manager_mock.go:342
↓ 1 callers
Method
ListCodespacesCalls
ListCodespacesCalls gets all the calls that were made to ListCodespaces. Check the length with: len(mockedapiClient.ListCodespacesCalls())
pkg/cmd/codespace/mock_api.go:837
↓ 1 callers
Method
ListDevContainers
(ctx context.Context, repoID int64, branch string, limit int)
pkg/cmd/codespace/common.go:83
↓ 1 callers
Method
ListLatestSessionsForViewer
(ctx context.Context, limit int)
pkg/cmd/agent-task/capi/client.go:16
↓ 1 callers
Method
ListLatestSessionsForViewer
ListLatestSessionsForViewer lists all agent sessions for the authenticated user up to limit.
pkg/cmd/agent-task/capi/sessions.go:212
↓ 1 callers
Method
ListPorts
ListPorts lists known ports in a codespace.
pkg/cmd/codespace/ports.go:53
↓ 1 callers
Method
ListPorts
ListPorts implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:71
↓ 1 callers
Method
ListSessionsByResourceID
(ctx context.Context, resourceType string, resourceID int64, limit int)
pkg/cmd/agent-task/capi/client.go:21
↓ 1 callers
Method
LoadEvents
Populate .RepoActivity
pkg/cmd/status/status.go:531
↓ 1 callers
Method
LoadNotifications
These are split up by endpoint since it is along that boundary we parallelize work Populate .Mentions
pkg/cmd/status/status.go:261
↓ 1 callers
Method
LoadSearchResults
Populate .AssignedPRs, .AssignedIssues, .ReviewRequests
pkg/cmd/status/status.go:415
↓ 1 callers
Method
Logins
()
api/queries_pr_review.go:165
↓ 1 callers
Method
Magenta
(t string)
pkg/iostreams/color.go:152
↓ 1 callers
Method
MarkdownEditor
(string, string, bool)
pkg/cmd/pr/shared/editable.go:366
↓ 1 callers
Method
MarkdownEditor
MarkdownEditor prompts the user to edit a markdown document in an editor. If blankAllowed is true, the user can skip the editor and an empty string wi
internal/prompter/prompter.go:52
↓ 1 callers
Function
MatchesSkillPath
MatchesSkillPath checks if a file path matches any known skill convention and returns the skill name. Returns empty string if the path doesn't match.
internal/skills/discovery/discovery.go:395
↓ 1 callers
Method
MergeFastForward
(string)
pkg/cmd/repo/sync/git.go:18
↓ 1 callers
Method
MetaMap
()
internal/barista/observability/telemetry.twirp.go:887
↓ 1 callers
Method
MilestoneId
()
pkg/cmd/pr/shared/editable.go:278
↓ 1 callers
Method
Msg
()
internal/barista/observability/telemetry.twirp.go:885
↓ 1 callers
Method
MultiSelect
(string, []string, []string)
pkg/cmd/pr/shared/editable.go:367
↓ 1 callers
Method
MultiSelectWithSearch
(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.
pkg/cmd/pr/shared/editable.go:368
↓ 1 callers
Method
MultiSelectWithSearch
MultiSelectWithSearch is MultiSelect with an added search option to the list, prompting the user for text input to filter the options via the searchFu
internal/prompter/prompter.go:32
↓ 1 callers
Method
Name
Name calls NameFunc.
pkg/extensions/extension_mock.go:268
↓ 1 callers
Method
NameRef
()
pkg/cmd/attestation/artifact/artifact.go:91
↓ 1 callers
Function
New
(appVersion string, invokingAgent string, cfgFunc func() (gh.Config, error), ios *iostreams.IOStreams, executa
pkg/cmd/factory/default.go:29
↓ 1 callers
Function
New
(launcher string, stdout, stderr io.Writer)
internal/browser/browser.go:13
↓ 1 callers
Function
NewClientWithMockGHClient
(hasNextPage bool)
pkg/cmd/attestation/api/client_test.go:21
↓ 1 callers
Function
NewCmdAddItem
(f *cmdutil.Factory, runF func(config addItemConfig) error)
pkg/cmd/project/item-add/item_add.go:37
↓ 1 callers
Function
NewCmdArchive
(f *cmdutil.Factory, runF func(*ArchiveOptions) error)
pkg/cmd/repo/archive/archive.go:29
↓ 1 callers
Function
NewCmdArchiveItem
(f *cmdutil.Factory, runF func(config archiveItemConfig) error)
pkg/cmd/project/item-archive/item_archive.go:43
↓ 1 callers
Function
NewCmdBrowse
(f *cmdutil.Factory, runF func(*BrowseOptions) error)
pkg/cmd/browse/browse.go:52
↓ 1 callers
Function
NewCmdCancel
(f *cmdutil.Factory, runF func(*CancelOptions) error)
pkg/cmd/run/cancel/cancel.go:30
↓ 1 callers
Function
NewCmdCheck
(f *cmdutil.Factory, runF func(*CheckOptions) error)
pkg/cmd/ruleset/check/check.go:36
↓ 1 callers
Function
NewCmdChecks
(f *cmdutil.Factory, runF func(*ChecksOptions) error)
pkg/cmd/pr/checks/checks.go:52
↓ 1 callers
Function
NewCmdClone
(f *cmdutil.Factory, runF func(*CloneOptions) error)
pkg/cmd/gist/clone/clone.go:30
↓ 1 callers
Function
NewCmdClose
(f *cmdutil.Factory, runF func(config closeConfig) error)
pkg/cmd/project/close/close.go:37
↓ 1 callers
Function
NewCmdClose
(f *cmdutil.Factory, runF func(*CloseOptions) error)
pkg/cmd/issue/close/close.go:29
↓ 1 callers
Function
NewCmdClose
(f *cmdutil.Factory, runF func(*CloseOptions) error)
pkg/cmd/pr/close/close.go:31
↓ 1 callers
Function
NewCmdCode
(f *cmdutil.Factory, runF func(*CodeOptions) error)
pkg/cmd/search/code/code.go:29
↓ 1 callers
Function
NewCmdComment
NewCmdComment returns the "discussion comment" command.
pkg/cmd/discussion/comment/comment.go:33
↓ 1 callers
Function
NewCmdComment
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*shared.CommentableOptions) error)
pkg/cmd/pr/comment/comment.go:13
↓ 1 callers
Function
NewCmdCommits
(f *cmdutil.Factory, runF func(*CommitsOptions) error)
pkg/cmd/search/commits/commits.go:28
↓ 1 callers
Function
NewCmdCompletion
(io *iostreams.IOStreams)
pkg/cmd/completion/completion.go:12
↓ 1 callers
Function
NewCmdConfigGet
(f *cmdutil.Factory, runF func(*GetOptions) error)
pkg/cmd/config/get/get.go:22
↓ 1 callers
Function
NewCmdConfigList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/config/list/list.go:20
↓ 1 callers
Function
NewCmdConfigSet
(f *cmdutil.Factory, runF func(*SetOptions) error)
pkg/cmd/config/set/set.go:26
↓ 1 callers
Function
NewCmdCopilot
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*CopilotOptions) error)
pkg/cmd/copilot/copilot.go:42
↓ 1 callers
Function
NewCmdCopy
(f *cmdutil.Factory, runF func(config copyConfig) error)
pkg/cmd/project/copy/copy.go:39
↓ 1 callers
Function
NewCmdCreate
NewCmdCreate returns a cobra command for creating a GitHub Discussion.
pkg/cmd/discussion/create/create.go:32
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/release/create/create.go:67
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/agent-task/create/create.go:49
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(config createConfig) error)
pkg/cmd/project/create/create.go:34
↓ 1 callers
Function
NewCmdCreate
NewCmdCreate creates the gh issue artifact create command.
pkg/cmd/issue/artifact/create/create.go:99
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/gist/create/create.go:42
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(*createOptions) error)
pkg/cmd/repo/autolink/create/create.go:31
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/repo/create/create.go:69
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/event/subscription/create/create.go:31
↓ 1 callers
Function
NewCmdCreate
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*CreateOptions) error)
pkg/cmd/pr/create/create.go:205
↓ 1 callers
Function
NewCmdCreateField
(f *cmdutil.Factory, runF func(config createFieldConfig) error)
pkg/cmd/project/field-create/field_create.go:38
↓ 1 callers
Function
NewCmdCreateItem
(f *cmdutil.Factory, runF func(config createItemConfig) error)
pkg/cmd/project/item-create/item_create.go:37
← previous
next →
2,501–2,600 of 7,487, ranked by callers