MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions5,909 in github.com/cli/cli

↓ 5 callersFunctionrunAddItem
(config addItemConfig)
pkg/cmd/project/item-add/item_add.go:84
↓ 5 callersFunctionrunCommand
(rt http.RoundTripper, pm *prompter.MockPrompter, isTTY bool, cli string)
pkg/cmd/issue/delete/delete_test.go:28
↓ 5 callersFunctionrunCommand
(rt http.RoundTripper, isTTY bool, cli string)
pkg/cmd/pr/ready/ready_test.go:91
↓ 5 callersFunctionrunCopy
(config copyConfig)
pkg/cmd/project/copy/copy.go:88
↓ 5 callersFunctionrunCreate
(config createConfig)
pkg/cmd/project/create/create.go:72
↓ 5 callersFunctionrunCreateItem
(config createItemConfig)
pkg/cmd/project/item-create/item_create.go:85
↓ 5 callersFunctionrunDelete
(config deleteConfig)
pkg/cmd/project/delete/delete.go:79
↓ 5 callersFunctionrunDeleteItem
(config deleteItemConfig)
pkg/cmd/project/item-delete/item_delete.go:83
↓ 5 callersFunctionsingleSkillTreeJSON
singleSkillTreeJSON returns tree entries for a single skill with the given name.
pkg/cmd/skills/install/install_test.go:289
↓ 5 callersFunctionsp
(v string)
pkg/cmd/repo/edit/edit_test.go:998
↓ 5 callersFunctionstubExtensionUpdate
(updatePath string)
pkg/cmd/extension/manager_test.go:1607
↓ 5 callersFunctionvalidateName
validateName checks if a skill name is safe for use (filesystem-safe).
internal/skills/discovery/discovery.go:1089
↓ 5 callersFunctionverifyNotifyCodespaceOfClientActivity
Test that the RPC invoker notifies the codespace of client activity on connection
internal/codespaces/rpc/invoker_test.go:90
↓ 5 callersFunctionverifyRun
(config *VerifyConfig)
pkg/cmd/release/verify/verify.go:118
↓ 5 callersMethodwarnf
(format string, args ...interface{})
pkg/cmd/pr/merge/merge.go:491
↓ 5 callersFunctionwrapInternal
wrapInternal wraps an error with a prefix as an Internal error. The original error cause is accessible by github.com/pkg/errors.Cause.
internal/barista/observability/telemetry.twirp.go:831
↓ 5 callersMethodwriteError
writeError writes an HTTP response with a valid Twirp error format, and triggers hooks. If err is not a twirp.Error, it will get wrapped with twirp.In
internal/barista/observability/telemetry.twirp.go:266
↓ 4 callersFunctionAccessControlEntriesToVisibility
AccessControlEntriesToVisibility converts the access control entries used by Dev Tunnels to a friendly visibility value.
internal/codespaces/portforwarder/port_forwarder.go:362
↓ 4 callersMethodAddRemote
(ctx context.Context, name, urlStr string, trackingBranches []string)
git/client.go:783
↓ 4 callersMethodAll
All returns a map of all aliases to their corresponding expansions.
internal/gh/gh.go:185
↓ 4 callersFunctionAuthTokenWriteable
(authCfg gh.AuthConfig, hostname string)
pkg/cmd/auth/shared/writeable.go:15
↓ 4 callersMethodAuthorLogin
()
pkg/cmd/pr/shared/comments.go:17
↓ 4 callersMethodBoldf
(t string, args ...interface{})
pkg/iostreams/color.go:67
↓ 4 callersFunctionBuildAliasList
(cmd *cobra.Command, aliases []string)
pkg/cmd/root/help.go:315
↓ 4 callersFunctionBuildRepoURL
BuildRepoURL returns the canonical repository URL stored in skill metadata.
internal/skills/source/source.go:15
↓ 4 callersMethodChoose
()
pkg/cmd/pr/shared/templates.go:184
↓ 4 callersMethodCode
(Query)
pkg/search/searcher.go:31
↓ 4 callersMethodCurrentUserComments
()
pkg/cmd/pr/shared/commentable.go:34
↓ 4 callersFunctionDefault
Default returns the host name of the default GitHub instance.
internal/ghinstance/host.go:21
↓ 4 callersFunctionDelete
Delete secret from keyring.
internal/keyring/keyring.go:62
↓ 4 callersMethodDescription
()
pkg/cmd/extension/browse/browse.go:81
↓ 4 callersMethodDetailedItems
()
pkg/cmd/project/shared/queries/queries.go:261
↓ 4 callersMethodDigest
Digest returns the artifact's digest
pkg/cmd/attestation/artifact/artifact.go:77
↓ 4 callersFunctionDiscoverSkillsWithOptions
DiscoverSkillsWithOptions finds all skills in a repository at the given commit SHA, with configurable discovery behavior.
internal/skills/discovery/discovery.go:575
↓ 4 callersMethodEdit
(string, string)
pkg/cmd/pr/merge/merge.go:23
↓ 4 callersFunctionEditorName
(editorCommand string)
pkg/surveyext/editor.go:162
↓ 4 callersMethodExecutable
()
pkg/cmd/codespace/common.go:28
↓ 4 callersFunctionFetchRepository
(client *Client, repo ghrepo.Interface, fields []string)
api/queries_repo.go:286
↓ 4 callersFunctionFilterAttestations
(predicateType string, attestations []*Attestation)
pkg/cmd/attestation/api/attestation.go:27
↓ 4 callersMethodFindSelected
()
pkg/cmd/extension/browse/browse.go:276
↓ 4 callersFunctionFlagErrorWrap
FlagErrorWrap returns a new FlagError that wraps the specified error.
pkg/cmdutil/errors.go:17
↓ 4 callersMethodGetByDigest
GetByDigest fetches the attestation by digest and either owner or repo depending on which is provided
pkg/cmd/attestation/api/client.go:89
↓ 4 callersMethodGetByNumber
GetByNumber returns a single discussion by its number.
pkg/cmd/discussion/client/client.go:31
↓ 4 callersMethodGetCodespace
(ctx context.Context, name string, includeConnection bool)
internal/codespaces/codespaces.go:40
↓ 4 callersFunctionGetGist
(client *http.Client, hostname, gistID string)
pkg/cmd/gist/shared/shared.go:64
↓ 4 callersMethodGetImageDigest
where name is formed like ghcr.io/github/my-image-repo
pkg/cmd/attestation/artifact/oci/client.go:49
↓ 4 callersFunctionGetSecretApp
(app string, entity SecretEntity)
pkg/cmd/secret/shared/shared.go:66
↓ 4 callersFunctionGetSecretEntity
(orgName, envName string, userSecrets bool)
pkg/cmd/secret/shared/shared.go:46
↓ 4 callersFunctionGetWorkflows
(client *api.Client, repo ghrepo.Interface, limit int)
pkg/cmd/workflow/shared/shared.go:57
↓ 4 callersMethodGitDir
(ctx context.Context)
git/client.go:675
↓ 4 callersFunctionGitHubTUFOptions
(tufMetadataDir o.Option[string], hc *http.Client)
pkg/cmd/attestation/verification/tuf.go:48
↓ 4 callersMethodHasMetadata
()
pkg/cmd/pr/shared/state.go:55
↓ 4 callersFunctionInstall
Install fetches and writes skills to the target directory.
internal/skills/installer/installer.go:56
↓ 4 callersFunctionIsAuthCheckEnabled
(cmd *cobra.Command)
pkg/cmdutil/auth_check.go:41
↓ 4 callersFunctionIsFailureState
(c Conclusion)
pkg/cmd/run/shared/shared.go:318
↓ 4 callersMethodIsHiddenDirConvention
IsHiddenDirConvention returns true if the skill was discovered in a hidden (dot-prefixed) directory such as .claude/skills/ or .agents/skills/.
internal/skills/discovery/discovery.go:90
↓ 4 callersMethodIsOurs
IsOurs returns true if the helper command is the GitHub CLI credential helper
pkg/cmd/auth/shared/gitcredentials/helper_config.go:78
↓ 4 callersMethodIsSome
IsSome returns true if the [Option] is a [Some] variant.
pkg/option/option.go:111
↓ 4 callersFunctionIsSupportedSecretEntity
(app App, entity SecretEntity)
pkg/cmd/secret/shared/shared.go:86
↓ 4 callersMethodLatestVersion
()
pkg/extensions/extension.go:23
↓ 4 callersFunctionListArtifacts
(httpClient *http.Client, repo ghrepo.Interface, runID string)
pkg/cmd/run/shared/artifacts.go:23
↓ 4 callersMethodListPorts
(ctx context.Context)
internal/codespaces/portforwarder/port_forwarder.go:47
↓ 4 callersMethodMatches
Matches checks whether the provided baseBranchName and headRef match the refs. It is used to determine whether Pull Requests returned from the API
pkg/cmd/pr/shared/find_refs_resolution.go:106
↓ 4 callersMethodMembersToIDs
(names []string)
api/queries_repo.go:751
↓ 4 callersFunctionMetadataSurvey
(p Prompt, io *iostreams.IOStreams, baseRepo ghrepo.Interface, fetcher RepoMetadataFetcher, state *IssueMetada
pkg/cmd/pr/shared/survey.go:157
↓ 4 callersFunctionMockInit
()
internal/keyring/keyring.go:76
↓ 4 callersFunctionNewAssignableBot
(id, login string)
api/queries_repo.go:1208
↓ 4 callersFunctionNewClient
(httpClient *http.Client, hostname string, ios *iostreams.IOStreams)
pkg/cmd/project/shared/queries/queries.go:19
↓ 4 callersFunctionNewCmdExtension
(io *iostreams.IOStreams, em extensions.ExtensionManager, ext extensions.Extension, checkExtensionReleaseInfo
pkg/cmd/root/extension.go:22
↓ 4 callersFunctionNewCmdRoot
(f *cmdutil.Factory, telemetry ghtelemetry.CommandRecorder, version, buildDate string)
pkg/cmd/root/root.go:64
↓ 4 callersFunctionNewCmdUpdate
NewCmdUpdate creates the "skills update" command.
pkg/cmd/skills/update/update.go:66
↓ 4 callersFunctionNewCodespaceConnection
NewCodespaceConnection initializes a connection to a codespace. This connections allows for port forwarding which enables the use of most features of
internal/codespaces/connection/connection.go:42
↓ 4 callersFunctionNewDigestedArtifact
(client oci.Client, reference, digestAlg string)
pkg/cmd/attestation/artifact/artifact.go:64
↓ 4 callersFunctionNewMockHttpClient
(opts ...mockClientOpt)
internal/codespaces/connection/tunnels_api_server_mock.go:43
↓ 4 callersFunctionNewQualifiedHeadRef
NewQualifiedHeadRef creates a QualifiedHeadRef. If the empty string is provided for the owner, it will be treated as None.
pkg/cmd/pr/shared/find_refs_resolution.go:32
↓ 4 callersFunctionNormalizeRepoName
NormalizeRepoName takes in the repo name the user inputted and normalizes it using the same logic as GitHub (GitHub.com/new)
pkg/cmd/repo/shared/repo.go:11
↓ 4 callersFunctionOnGetByDigestFailure
(params FetchParams)
pkg/cmd/attestation/api/mock_client.go:55
↓ 4 callersMethodOwner
()
pkg/cmd/extension/extension.go:182
↓ 4 callersMethodPassword
(string)
pkg/cmd/auth/shared/prompt.go:9
↓ 4 callersMethodProjectsTitlesToIDs
ProjectsTitlesToIDs returns two arrays: - the first contains IDs of projects V1 - the second contains IDs of projects V2 - if neither project V1 or pr
api/queries_repo.go:828
↓ 4 callersFunctionProjectsV2IgnorableError
When querying ProjectsV2 fields we generally don't want to show the user scope errors, field does not exist errors, or authorization errors. ProjectsV
api/queries_projects_v2.go:330
↓ 4 callersFunctionPromptGists
(prompter prompter.Prompter, client *http.Client, host string, cs *iostreams.ColorScheme)
pkg/cmd/gist/shared/shared.go:228
↓ 4 callersFunctionPromptWhenAmbiguousBaseRepoFunc
(baseRepoFn baseRepoFn, ios *iostreams.IOStreams, prompter prompter.Prompter)
pkg/cmd/secret/shared/base_repo.go:24
↓ 4 callersMethodPull
(remote, branch string)
pkg/cmd/extension/git.go:16
↓ 4 callersMethodPush
(ctx context.Context, remote string, ref string, mods ...CommandModifier)
git/client.go:848
↓ 4 callersMethodReadBranchConfig
(ctx context.Context, branchName string)
pkg/cmd/pr/shared/finder.go:39
↓ 4 callersMethodRebuildContainer
(ctx context.Context, full bool)
internal/codespaces/rpc/invoker.go:46
↓ 4 callersMethodReplaceSlice
(handles []string)
pkg/cmd/pr/shared/params.go:317
↓ 4 callersMethodReplaceSlice
(logins []string)
pkg/cmd/pr/shared/editable.go:204
↓ 4 callersFunctionRepoGitIgnoreTemplates
RepoGitIgnoreTemplates fetches available repository gitignore templates. It uses API v3 here because gitignore template isn't supported by GraphQL.
api/queries_repo.go:1730
↓ 4 callersFunctionRepoLicenses
RepoLicenses fetches available repository licenses. It uses API v3 because licenses are not supported by GraphQL.
api/queries_repo.go:1698
↓ 4 callersMethodRepositories
(Query)
pkg/search/searcher.go:33
↓ 4 callersFunctionRequireNoAmbiguityBaseRepoFunc
RequireNoAmbiguityBaseRepoFunc returns a function to resolve the base repo, ensuring that there was only one option, regardless of whether the base re
pkg/cmd/secret/shared/base_repo.go:58
↓ 4 callersFunctionResolveHomeDir
ResolveHomeDir returns the user's home directory, or "" on error.
internal/skills/installer/installer.go:329
↓ 4 callersFunctionResolveRef
ResolveRef determines the git ref to use for a given owner/repo. Priority: explicit version > latest release tag > default branch.
internal/skills/discovery/discovery.go:207
↓ 4 callersFunctionResolveWorkflow
(p iprompter, io *iostreams.IOStreams, client *api.Client, repo ghrepo.Interface, prompt bool, workflowSelecto
pkg/cmd/workflow/shared/shared.go:200
↓ 4 callersMethodRoundTrip
(req *http.Request)
api/http_client.go:193
↓ 4 callersMethodScopesSuggestion
()
api/client.go:51
↓ 4 callersFunctionSerialize
Serialize writes a frontmatter map and body back to a SKILL.md string.
internal/skills/frontmatter/frontmatter.go:130
↓ 4 callersMethodSetAlternateScreenBufferEnabled
(enabled bool)
pkg/iostreams/iostreams.go:411
← previousnext →501–600 of 5,909, ranked by callers