MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 2 callersMethodGetSpinnerDisabled
()
pkg/iostreams/iostreams.go:292
↓ 2 callersMethodGetTrustDomain
()
pkg/cmd/attestation/api/client.go:68
↓ 2 callersMethodGetWithComments
GetWithComments returns a discussion along with a page of its comments.
pkg/cmd/discussion/client/client.go:30
↓ 2 callersFunctionGetWorkflowContent
(client *api.Client, repo ghrepo.Interface, workflow Workflow, ref string)
pkg/cmd/workflow/shared/shared.go:238
↓ 2 callersFunctionGraphQLEndpoint
(hostname string)
internal/ghinstance/host.go:46
↓ 2 callersMethodGray
Deprecated: Use Muted instead for thematically contrasting color.
pkg/iostreams/color.go:137
↓ 2 callersMethodGreenf
(t string, args ...any)
pkg/iostreams/color.go:125
↓ 2 callersMethodHTTPUnixSocket
HTTPUnixSocket returns the configured HTTP unix socket, optionally scoped by host.
internal/gh/gh.go:57
↓ 2 callersMethodHostForAPIHost
HostForAPIHost returns the known host whose api_host is the given hostname, reporting false when no host claims it. See config.AuthConfig.HostForAPIHo
internal/gh/gh.go:274
↓ 2 callersMethodHostForAPIHost
(string)
api/http_client.go:24
↓ 2 callersMethodID
ID is the ID of the project field.
pkg/cmd/project/shared/queries/queries.go:976
↓ 2 callersFunctionInjectGitHubMetadata
InjectGitHubMetadata adds GitHub tracking metadata to the spec-defined "metadata" map in frontmatter. Keys are prefixed with "github-" to avoid collis
internal/skills/frontmatter/frontmatter.go:70
↓ 2 callersFunctionInjectLocalMetadata
InjectLocalMetadata adds local-source tracking metadata to frontmatter. sourcePath is the absolute path to the source skill directory.
internal/skills/frontmatter/frontmatter.go:102
↓ 2 callersMethodInputHostname
()
pkg/cmd/auth/shared/prompt.go:6
↓ 2 callersMethodInstallCalls
InstallCalls gets all the calls that were made to Install. Check the length with: len(mockedExtensionManager.InstallCalls())
pkg/extensions/manager_mock.go:279
↓ 2 callersFunctionInstallLocal
InstallLocal copies skills from a local directory to the target install location.
internal/skills/installer/installer.go:156
↓ 2 callersMethodIsBinary
()
pkg/extensions/extension.go:26
↓ 2 callersMethodIsDefault
()
pkg/cmd/pr/shared/params.go:188
↓ 2 callersMethodIsDirty
()
pkg/cmd/repo/sync/git.go:17
↓ 2 callersMethodIsEdited
()
pkg/cmd/pr/shared/comments.go:22
↓ 2 callersFunctionIsGitHubActions
IsGitHubActions determines if the current execution context is within GitHub Actions. GitHub Actions sets the GITHUB_ACTIONS environment variable to "
internal/ci/ci.go:17
↓ 2 callersFunctionIsHTMLFile
IsHTMLFile reports whether path is an HTML file, which create reads as an HTML document. It goes by the .html and .htm extensions, in any case.
pkg/cmd/issue/artifact/shared/content.go:56
↓ 2 callersMethodIsHidden
()
pkg/cmd/pr/shared/comments.go:23
↓ 2 callersFunctionIsInternalPort
IsInternalPort returns true if the port is internal.
internal/codespaces/portforwarder/port_forwarder.go:404
↓ 2 callersFunctionIsTerminal
IsTerminal determines if a file descriptor is an interactive terminal / TTY.
internal/update/update.go:194
↓ 2 callersMethodIsTrueColorSupported
()
pkg/iostreams/iostreams.go:47
↓ 2 callersFunctionIsURL
(u string)
git/url.go:8
↓ 2 callersFunctionIsUserCancellation
(err error)
pkg/cmdutil/errors.go:43
↓ 2 callersMethodKeepAlive
(reason string)
internal/codespaces/portforwarder/port_forwarder.go:50
↓ 2 callersMethodLess
(i, j int)
git/objects.go:13
↓ 2 callersMethodLess
(i, j int)
pkg/cmd/status/status.go:159
↓ 2 callersMethodLink
()
pkg/cmd/pr/shared/commentable.go:35
↓ 2 callersMethodList
List returns discussions in a repository matching the given filters.
pkg/cmd/discussion/client/client.go:24
↓ 2 callersMethodList
(runID string)
pkg/cmd/run/download/http.go:23
↓ 2 callersMethodList
(runID string)
pkg/cmd/run/download/download.go:32
↓ 2 callersMethodListCodespaces
ListCodespaces returns a list of codespaces for the user. Pass a negative limit to request all pages from the API until all codespaces have been fetch
internal/codespaces/api/api.go:369
↓ 2 callersFunctionListGists
(client *http.Client, hostname string, limit int, filter *regexp.Regexp, includeContent bool, visibility strin
pkg/cmd/gist/shared/shared.go:103
↓ 2 callersFunctionListHeader
(repoName string, itemName string, matchCount int, totalMatchCount int, hasFilters bool)
pkg/cmd/pr/shared/display.go:73
↓ 2 callersFunctionListLinkedBranches
(client *Client, repo ghrepo.Interface, issueNumber int)
api/queries_branch_issue_reference.go:51
↓ 2 callersFunctionListNoResults
(repoName string, itemName string, hasFilters bool)
pkg/cmd/pr/shared/display.go:66
↓ 2 callersFunctionListOrgRulesets
(httpClient *http.Client, orgLogin string, limit int, host string, includeParents bool)
pkg/cmd/ruleset/shared/http.go:40
↓ 2 callersFunctionListRepoRulesets
(httpClient *http.Client, repo ghrepo.Interface, limit int, includeParents bool)
pkg/cmd/ruleset/shared/http.go:30
↓ 2 callersMethodListSessionsByResourceID
ListSessionsByResourceID retrieves sessions associated with the given resource type and ID.
pkg/cmd/agent-task/capi/sessions.go:368
↓ 2 callersFunctionListSkillFiles
ListSkillFiles returns all files in a skill directory as public SkillFile structs with paths relative to the skill root.
internal/skills/discovery/discovery.go:845
↓ 2 callersFunctionListURLWithQuery
(listURL string, options FilterOptions, advancedIssueSearchSyntax bool)
pkg/cmd/pr/shared/params.go:222
↓ 2 callersMethodLoginOrSlug
()
api/queries_pr_review.go:149
↓ 2 callersMethodLogins
()
api/queries_issue.go:139
↓ 2 callersMethodLogs
(ctx context.Context, selector *CodespaceSelector, follow bool)
pkg/cmd/codespace/logs.go:35
↓ 2 callersFunctionMain
()
internal/ghcmd/cmd.go:51
↓ 2 callersMethodMarkDirty
()
pkg/cmd/pr/shared/state.go:47
↓ 2 callersFunctionMatchSkillPath
MatchSkillPath checks if a file path matches any known skill convention and returns the skill name and namespace. Returns empty strings if the path do
internal/skills/discovery/discovery.go:407
↓ 2 callersMethodModTime
()
internal/safepaths/link_windows_test.go:168
↓ 2 callersMethodName
Name is the name of the project field.
pkg/cmd/project/shared/queries/queries.go:988
↓ 2 callersMethodNames
()
api/queries_issue.go:207
↓ 2 callersMethodNetworkRepos
NetworkRepos fetches info about remotes for the network of repos. Pass a value of 0 to fetch info on all remotes.
context/context.go:132
↓ 2 callersFunctionNewCmdAgentTask
NewCmdAgentTask creates the base `agent-task` command.
pkg/cmd/agent-task/agent_task.go:19
↓ 2 callersFunctionNewCmdAlias
(io *iostreams.IOStreams, aliasName, aliasValue string)
pkg/cmd/root/alias.go:53
↓ 2 callersFunctionNewCmdCheckout
(f *cmdutil.Factory, runF func(*CheckoutOptions) error)
pkg/cmd/pr/checkout/checkout.go:40
↓ 2 callersFunctionNewCmdClone
(f *cmdutil.Factory, runF func(*CloneOptions) error)
pkg/cmd/repo/clone/clone.go:33
↓ 2 callersFunctionNewCmdCreate
(f *cmdutil.Factory, telemetry ghtelemetry.InvocationRecorder, runF func(*CreateOptions) error)
pkg/cmd/issue/create/create.go:66
↓ 2 callersFunctionNewCmdDelete
(f *cmdutil.Factory, runF func(*DeleteOptions) error)
pkg/cmd/secret/delete/delete.go:32
↓ 2 callersFunctionNewCmdHelpTopic
(ios *iostreams.IOStreams, ht helpTopic)
pkg/cmd/root/help_topic.go:330
↓ 2 callersFunctionNewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/issue/list/list.go:48
↓ 2 callersFunctionNewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/repo/list/list.go:42
↓ 2 callersFunctionNewCmdList
(f *cmdutil.Factory, runF func(*ListOptions) error)
pkg/cmd/secret/list/list.go:50
↓ 2 callersFunctionNewCmdMerge
(f *cmdutil.Factory, runF func(*MergeOptions) error)
pkg/cmd/pr/merge/merge.go:60
↓ 2 callersFunctionNewCmdOfficialExtensionStub
NewCmdOfficialExtensionStub creates a hidden stub command for an official extension that has not yet been installed. When invoked, it suggests install
pkg/cmd/root/official_extension_stub.go:20
↓ 2 callersFunctionNewCmdPreview
NewCmdPreview creates the "skills preview" command.
pkg/cmd/skills/preview/preview.go:44
↓ 2 callersFunctionNewCmdPublish
NewCmdPublish creates the "skills publish" command.
pkg/cmd/skills/publish/publish.go:92
↓ 2 callersFunctionNewCmdReady
(f *cmdutil.Factory, runF func(*ReadyOptions) error)
pkg/cmd/pr/ready/ready.go:26
↓ 2 callersFunctionNewCmdReview
(f *cmdutil.Factory, runF func(*ReviewOptions) error)
pkg/cmd/pr/review/review.go:34
↓ 2 callersFunctionNewCmdSearch
NewCmdSearch creates the "skills search" command.
pkg/cmd/skills/search/search.go:68
↓ 2 callersFunctionNewCmdSet
(f *cmdutil.Factory, runF func(*SetOptions) error)
pkg/cmd/secret/set/set.go:48
↓ 2 callersFunctionNewCmdShellAlias
(io *iostreams.IOStreams, aliasName, aliasValue string)
pkg/cmd/root/alias.go:20
↓ 2 callersFunctionNewCmdTransfer
(f *cmdutil.Factory, runF func(*TransferOptions) error)
pkg/cmd/issue/transfer/transfer.go:27
↓ 2 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/issue/view/view.go:42
↓ 2 callersFunctionNewCmdView
(f *cmdutil.Factory, runF func(*ViewOptions) error)
pkg/cmd/pr/view/view.go:43
↓ 2 callersFunctionNewConfig
()
internal/config/config.go:46
↓ 2 callersFunctionNewCopilotReplacer
NewCopilotReplacer creates a replacer for assignee @copilot references.
pkg/cmd/pr/shared/params.go:339
↓ 2 callersFunctionNewDigestedArtifactForRelease
(digest string, digestAlg string)
pkg/cmd/attestation/artifact/artifact.go:57
↓ 2 callersFunctionNewDiscussionClient
NewDiscussionClient creates a DiscussionClient backed by the given HTTP client.
pkg/cmd/discussion/client/client.go:65
↓ 2 callersFunctionNewDownloadCmd
(f *cmdutil.Factory, runF func(*Options) error)
pkg/cmd/attestation/download/download.go:19
↓ 2 callersFunctionNewEventClient
NewEventClient returns an EventClient that sends requests for host through httpClient.
pkg/cmd/event/client/client.go:66
↓ 2 callersFunctionNewExternalHTTPClient
NewExternalHTTPClient creates an HTTP client for talking to non-GitHub hosts. It includes debug logging and a User-Agent header but does not attach an
api/http_client.go:132
↓ 2 callersFunctionNewInspectCmd
(f *cmdutil.Factory, runF func(*Options) error)
pkg/cmd/attestation/inspect/inspect.go:28
↓ 2 callersFunctionNewLogRenderer
()
pkg/cmd/agent-task/shared/log.go:25
↓ 2 callersFunctionNewMeReplacer
(apiClient *api.Client, hostname string)
pkg/cmd/pr/shared/params.go:291
↓ 2 callersFunctionNewMergeContext
Creates a new MergeContext from MergeOptions.
pkg/cmd/pr/merge/merge.go:568
↓ 2 callersFunctionNewRegexpWriter
(out io.Writer, re *regexp.Regexp, repl string)
pkg/cmd/pr/create/regexp_writer.go:9
↓ 2 callersFunctionNewRemoteCommand
NewRemoteCommand returns an exec.Cmd that will securely run a shell command on the remote machine.
internal/codespaces/ssh.go:53
↓ 2 callersFunctionNewReviewerBot
(login string)
api/queries_pr_review.go:212
↓ 2 callersFunctionNewReviewerTeam
NewReviewerTeam creates a new ReviewerTeam.
api/queries_pr_review.go:231
↓ 2 callersFunctionNewReviewerUser
(login, name string)
api/queries_pr_review.go:199
↓ 2 callersFunctionNewTelemetryAPIServer
NewTelemetryAPIServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the prov
internal/barista/observability/telemetry.twirp.go:241
↓ 2 callersFunctionNewWithWriter
NewWithWriter creates a TablePrinter from a Writer, whether the output is a terminal, the terminal width, and more.
internal/tableprinter/table_printer.go:58
↓ 2 callersFunctionNoRulesetsFoundError
(orgOption string, repoI ghrepo.Interface, includeParents bool)
pkg/cmd/ruleset/shared/shared.go:114
↓ 2 callersFunctionNormalizeEventTypes
NormalizeEventTypes drops blank and duplicate event types, which the API rejects.
pkg/cmd/event/shared/subscription.go:24
↓ 2 callersMethodNotifyCodespaceOfClientActivity
(ctx context.Context, in *NotifyCodespaceOfClientActivityRequest, opts ...grpc.CallOption)
internal/codespaces/rpc/codespace/codespace_host_service.v1_grpc.pb.go:25
↓ 2 callersMethodNumber
Number is the number of the project item. It is only valid for issues and pull requests.
pkg/cmd/project/shared/queries/queries.go:635
↓ 2 callersMethodOnRESTWithNextSuccessHelper
(hostname, method, p string, body io.Reader, data any, hasNext bool)
pkg/cmd/attestation/api/mock_githubApiClient_test.go:79
← previousnext →1,401–1,500 of 7,487, ranked by callers