MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 1 callersMethodInputCalls
InputCalls gets all the calls that were made to Input. Check the length with: len(mockedPrompter.InputCalls())
internal/prompter/prompter_mock.go:289
↓ 1 callersMethodInputHostname
InputHostname prompts the user to enter a hostname.
internal/prompter/prompter.go:48
↓ 1 callersMethodInstallLocalCalls
InstallLocalCalls gets all the calls that were made to InstallLocal. Check the length with: len(mockedExtensionManager.InstallLocalCalls())
pkg/extensions/manager_mock.go:313
↓ 1 callersMethodIs256ColorSupported
()
pkg/iostreams/iostreams.go:46
↓ 1 callersMethodIsAncestor
(string, string)
pkg/cmd/repo/sync/git.go:16
↓ 1 callersMethodIsBinary
()
pkg/cmd/extension/extension.go:55
↓ 1 callersFunctionIsBinaryFile
(file string)
pkg/cmd/gist/shared/shared.go:198
↓ 1 callersMethodIsBot
()
pkg/search/result.go:260
↓ 1 callersMethodIsColorEnabled
()
pkg/iostreams/iostreams.go:45
↓ 1 callersFunctionIsFullyQualifiedRef
IsFullyQualifiedRef returns true if ref uses the "refs/heads/" or "refs/tags/" prefix.
internal/skills/discovery/discovery.go:133
↓ 1 callersFunctionIsHostSupported
(host string)
pkg/cmd/attestation/auth/host.go:11
↓ 1 callersMethodIsLocal
()
pkg/cmd/extension/extension.go:51
↓ 1 callersMethodIsLocal
IsLocal calls IsLocalFunc.
pkg/extensions/extension_mock.go:187
↓ 1 callersMethodIsLocalGitRepo
(ctx context.Context)
git/client.go:764
↓ 1 callersMethodIsOrganization
()
pkg/cmd/repo/create/http.go:258
↓ 1 callersMethodIsPullRequest
()
pkg/search/result.go:401
↓ 1 callersMethodIsPullRequestCalls
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 callersFunctionIsSessionID
(s string)
pkg/cmd/agent-task/shared/capi.go:71
↓ 1 callersFunctionIsSkipped
(c Conclusion)
pkg/cmd/run/shared/shared.go:327
↓ 1 callersMethodIsTerminalOutput
()
pkg/iostreams/iostreams.go:44
↓ 1 callersFunctionIssueCreate
IssueCreate creates an issue in a GitHub repository
api/queries_issue.go:326
↓ 1 callersMethodIssueFeatures
()
internal/featuredetection/feature_detection.go:189
↓ 1 callersFunctionIssueNodeID
IssueNodeID fetches the node ID for an issue given its number and repository.
api/queries_issue.go:776
↓ 1 callersMethodIssueOrPullRequestID
IssueOrPullRequestID returns the ID of the issue or pull request from a URL.
pkg/cmd/project/shared/queries/queries.go:1297
↓ 1 callersFunctionIssueStatus
(client *Client, repo ghrepo.Interface, options IssueStatusOptions)
api/queries_issue.go:396
↓ 1 callersMethodJupyter
(ctx context.Context, selector *CodespaceSelector)
pkg/cmd/codespace/jupyter.go:32
↓ 1 callersMethodKeepAlive
()
internal/codespaces/rpc/invoker.go:49
↓ 1 callersMethodLabel
Label stylizes text based on label's RGB hex color.
pkg/iostreams/color.go:266
↓ 1 callersFunctionLastCommit
(client *Client, repo ghrepo.Interface)
api/queries_repo.go:676
↓ 1 callersMethodLastCommit
(ctx context.Context)
git/client.go:405
↓ 1 callersMethodLatestVersion
()
pkg/cmd/extension/extension.go:116
↓ 1 callersMethodLatestVersion
LatestVersion calls LatestVersionFunc.
pkg/extensions/extension_mock.go:241
↓ 1 callersMethodLen
()
pkg/set/string_set.go:64
↓ 1 callersMethodLinkProjectToRepository
LinkProjectToRepository links a project to a repository.
pkg/cmd/project/shared/queries/queries.go:1652
↓ 1 callersMethodLinkProjectToTeam
LinkProjectToTeam links a project to a team.
pkg/cmd/project/shared/queries/queries.go:1665
↓ 1 callersMethodList
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/http.go:18
↓ 1 callersMethodList
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/list.go:29
↓ 1 callersMethodList
(ctx context.Context, opts *listOptions, exporter cmdutil.Exporter)
pkg/cmd/codespace/list.go:85
↓ 1 callersMethodListCalls
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 callersMethodListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedExtensionManager.ListCalls())
pkg/extensions/manager_mock.go:342
↓ 1 callersMethodListCodespacesCalls
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 callersMethodListDevContainers
(ctx context.Context, repoID int64, branch string, limit int)
pkg/cmd/codespace/common.go:83
↓ 1 callersMethodListLatestSessionsForViewer
(ctx context.Context, limit int)
pkg/cmd/agent-task/capi/client.go:16
↓ 1 callersMethodListLatestSessionsForViewer
ListLatestSessionsForViewer lists all agent sessions for the authenticated user up to limit.
pkg/cmd/agent-task/capi/sessions.go:212
↓ 1 callersMethodListPorts
ListPorts lists known ports in a codespace.
pkg/cmd/codespace/ports.go:53
↓ 1 callersMethodListPorts
ListPorts implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:71
↓ 1 callersMethodListSessionsByResourceID
(ctx context.Context, resourceType string, resourceID int64, limit int)
pkg/cmd/agent-task/capi/client.go:21
↓ 1 callersMethodLoadEvents
Populate .RepoActivity
pkg/cmd/status/status.go:531
↓ 1 callersMethodLoadNotifications
These are split up by endpoint since it is along that boundary we parallelize work Populate .Mentions
pkg/cmd/status/status.go:261
↓ 1 callersMethodLoadSearchResults
Populate .AssignedPRs, .AssignedIssues, .ReviewRequests
pkg/cmd/status/status.go:415
↓ 1 callersMethodLogins
()
api/queries_pr_review.go:165
↓ 1 callersMethodMagenta
(t string)
pkg/iostreams/color.go:152
↓ 1 callersMethodMarkdownEditor
(string, string, bool)
pkg/cmd/pr/shared/editable.go:366
↓ 1 callersMethodMarkdownEditor
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 callersFunctionMatchesSkillPath
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 callersMethodMergeFastForward
(string)
pkg/cmd/repo/sync/git.go:18
↓ 1 callersMethodMetaMap
()
internal/barista/observability/telemetry.twirp.go:887
↓ 1 callersMethodMilestoneId
()
pkg/cmd/pr/shared/editable.go:278
↓ 1 callersMethodMsg
()
internal/barista/observability/telemetry.twirp.go:885
↓ 1 callersMethodMultiSelect
(string, []string, []string)
pkg/cmd/pr/shared/editable.go:367
↓ 1 callersMethodMultiSelectWithSearch
(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.
pkg/cmd/pr/shared/editable.go:368
↓ 1 callersMethodMultiSelectWithSearch
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 callersMethodName
Name calls NameFunc.
pkg/extensions/extension_mock.go:268
↓ 1 callersMethodNameRef
()
pkg/cmd/attestation/artifact/artifact.go:91
↓ 1 callersFunctionNew
(appVersion string, invokingAgent string, cfgFunc func() (gh.Config, error), ios *iostreams.IOStreams, executa
pkg/cmd/factory/default.go:29
↓ 1 callersFunctionNew
(launcher string, stdout, stderr io.Writer)
internal/browser/browser.go:13
↓ 1 callersFunctionNewClientWithMockGHClient
(hasNextPage bool)
pkg/cmd/attestation/api/client_test.go:21
↓ 1 callersFunctionNewCmdAddItem
(f *cmdutil.Factory, runF func(config addItemConfig) error)
pkg/cmd/project/item-add/item_add.go:37
↓ 1 callersFunctionNewCmdArchive
(f *cmdutil.Factory, runF func(*ArchiveOptions) error)
pkg/cmd/repo/archive/archive.go:29
↓ 1 callersFunctionNewCmdArchiveItem
(f *cmdutil.Factory, runF func(config archiveItemConfig) error)
pkg/cmd/project/item-archive/item_archive.go:43
↓ 1 callersFunctionNewCmdBrowse
(f *cmdutil.Factory, runF func(*BrowseOptions) error)
pkg/cmd/browse/browse.go:52
↓ 1 callersFunctionNewCmdCancel
(f *cmdutil.Factory, runF func(*CancelOptions) error)
pkg/cmd/run/cancel/cancel.go:30
↓ 1 callersFunctionNewCmdCheck
(f *cmdutil.Factory, runF func(*CheckOptions) error)
pkg/cmd/ruleset/check/check.go:36
↓ 1 callersFunctionNewCmdChecks
(f *cmdutil.Factory, runF func(*ChecksOptions) error)
pkg/cmd/pr/checks/checks.go:52
↓ 1 callersFunctionNewCmdClone
(f *cmdutil.Factory, runF func(*CloneOptions) error)
pkg/cmd/gist/clone/clone.go:30
↓ 1 callersFunctionNewCmdClose
(f *cmdutil.Factory, runF func(config closeConfig) error)
pkg/cmd/project/close/close.go:37
↓ 1 callersFunctionNewCmdClose
(f *cmdutil.Factory, runF func(*CloseOptions) error)
pkg/cmd/issue/close/close.go:29
↓ 1 callersFunctionNewCmdClose
(f *cmdutil.Factory, runF func(*CloseOptions) error)
pkg/cmd/pr/close/close.go:31
↓ 1 callersFunctionNewCmdCode
(f *cmdutil.Factory, runF func(*CodeOptions) error)
pkg/cmd/search/code/code.go:29
↓ 1 callersFunctionNewCmdComment
NewCmdComment returns the "discussion comment" command.
pkg/cmd/discussion/comment/comment.go:33
↓ 1 callersFunctionNewCmdComment
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*shared.CommentableOptions) error)
pkg/cmd/pr/comment/comment.go:13
↓ 1 callersFunctionNewCmdCommits
(f *cmdutil.Factory, runF func(*CommitsOptions) error)
pkg/cmd/search/commits/commits.go:28
↓ 1 callersFunctionNewCmdCompletion
(io *iostreams.IOStreams)
pkg/cmd/completion/completion.go:12
↓ 1 callersFunctionNewCmdConfigGet
(f *cmdutil.Factory, runF func(*GetOptions) error)
pkg/cmd/config/get/get.go:22
↓ 1 callersFunctionNewCmdConfigList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/config/list/list.go:20
↓ 1 callersFunctionNewCmdConfigSet
(f *cmdutil.Factory, runF func(*SetOptions) error)
pkg/cmd/config/set/set.go:26
↓ 1 callersFunctionNewCmdCopilot
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*CopilotOptions) error)
pkg/cmd/copilot/copilot.go:42
↓ 1 callersFunctionNewCmdCopy
(f *cmdutil.Factory, runF func(config copyConfig) error)
pkg/cmd/project/copy/copy.go:39
↓ 1 callersFunctionNewCmdCreate
NewCmdCreate returns a cobra command for creating a GitHub Discussion.
pkg/cmd/discussion/create/create.go:32
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/release/create/create.go:67
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/agent-task/create/create.go:49
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(config createConfig) error)
pkg/cmd/project/create/create.go:34
↓ 1 callersFunctionNewCmdCreate
NewCmdCreate creates the gh issue artifact create command.
pkg/cmd/issue/artifact/create/create.go:99
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/gist/create/create.go:42
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(*createOptions) error)
pkg/cmd/repo/autolink/create/create.go:31
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/repo/create/create.go:69
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, runF func(*CreateOptions) error)
pkg/cmd/event/subscription/create/create.go:31
↓ 1 callersFunctionNewCmdCreate
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*CreateOptions) error)
pkg/cmd/pr/create/create.go:205
↓ 1 callersFunctionNewCmdCreateField
(f *cmdutil.Factory, runF func(config createFieldConfig) error)
pkg/cmd/project/field-create/field_create.go:38
↓ 1 callersFunctionNewCmdCreateItem
(f *cmdutil.Factory, runF func(config createItemConfig) error)
pkg/cmd/project/item-create/item_create.go:37
← previousnext →2,501–2,600 of 7,487, ranked by callers