MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

MethodLen
https://golang.org/pkg/sort/#Interface
context/remote.go:74
MethodLen
()
pkg/cmd/status/status.go:155
MethodLen
()
pkg/cmd/run/shared/shared.go:247
MethodLess
(i, j int)
context/remote.go:76
MethodLess
(i, j int)
pkg/cmd/run/shared/shared.go:248
MethodLink
()
api/queries_issue.go:475
MethodLink
()
api/queries_pr_review.go:86
MethodLink
()
api/queries_pr.go:316
MethodLink
()
api/queries_comments.go:159
MethodList
List calls ListFunc.
pkg/cmd/discussion/client/client_mock.go:536
MethodList
(repo ghrepo.Interface, filters ListFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:178
MethodList
List calls ListFunc.
pkg/cmd/issue/artifact/client/client_mock.go:316
MethodList
List requests pages until one comes back short or the limit is reached. Every request asks for the same page size, so the page numbers line up.
pkg/cmd/issue/artifact/client/client.go:87
MethodList
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/list_test.go:104
MethodList
(runID string)
pkg/cmd/run/download/download_test.go:165
MethodList
(opts ListOptions)
pkg/cmd/pr/shared/lister.go:38
MethodList
(opt ListOptions)
pkg/cmd/pr/shared/lister.go:163
MethodList
()
pkg/cmd/extension/manager.go:142
MethodList
List calls ListFunc.
pkg/extensions/manager_mock.go:326
MethodList
()
pkg/extensions/extension.go:33
MethodList
()
cmd/gen-docs/main.go:102
MethodListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedDiscussionClient.ListCalls())
pkg/cmd/discussion/client/client_mock.go:561
MethodListCategories
ListCategories calls ListCategoriesFunc.
pkg/cmd/discussion/client/client_mock.go:580
MethodListCategories
(repo ghrepo.Interface)
pkg/cmd/discussion/client/client.go:778
MethodListCategoriesCalls
ListCategoriesCalls gets all the calls that were made to ListCategories. Check the length with: len(mockedDiscussionClient.ListCategoriesCalls())
pkg/cmd/discussion/client/client_mock.go:599
MethodListCodespaces
ListCodespaces calls ListCodespacesFunc.
pkg/cmd/codespace/mock_api.go:816
MethodListDevContainers
ListDevContainers calls ListDevContainersFunc.
pkg/cmd/codespace/mock_api.go:852
MethodListDevContainers
ListDevContainers returns a list of valid devcontainer.json files for the repo. Pass a negative limit to request all pages from the API until all devc
internal/codespaces/api/api.go:1093
MethodListDevContainersCalls
ListDevContainersCalls gets all the calls that were made to ListDevContainers. Check the length with: len(mockedapiClient.ListDevContainersCalls())
pkg/cmd/codespace/mock_api.go:877
MethodListLabels
ListLabels calls ListLabelsFunc.
pkg/cmd/discussion/client/client_mock.go:612
MethodListLabels
ListLabels fetches all labels for a repository, ordered alphabetically by name.
pkg/cmd/discussion/client/client.go:855
MethodListLabelsCalls
ListLabelsCalls gets all the calls that were made to ListLabels. Check the length with: len(mockedDiscussionClient.ListLabelsCalls())
pkg/cmd/discussion/client/client_mock.go:631
MethodListLatestSessionsForViewer
ListLatestSessionsForViewer calls ListLatestSessionsForViewerFunc.
pkg/cmd/agent-task/capi/client_mock.go:370
MethodListLatestSessionsForViewerCalls
ListLatestSessionsForViewerCalls gets all the calls that were made to ListLatestSessionsForViewer. Check the length with: len(mockedCapiClient.ListL
pkg/cmd/agent-task/capi/client_mock.go:391
MethodListPorts
(ctx context.Context)
pkg/cmd/codespace/jupyter_test.go:21
MethodListPorts
ListPorts fetches the list of ports that are currently forwarded.
internal/codespaces/portforwarder/port_forwarder.go:254
MethodListSessionsByResourceID
ListSessionsByResourceID calls ListSessionsByResourceIDFunc.
pkg/cmd/agent-task/capi/client_mock.go:406
MethodListSessionsByResourceIDCalls
ListSessionsByResourceIDCalls gets all the calls that were made to ListSessionsByResourceID. Check the length with: len(mockedCapiClient.ListSession
pkg/cmd/agent-task/capi/client_mock.go:431
MethodListSubscriptions
ListSubscriptions calls ListSubscriptionsFunc.
pkg/cmd/event/client/client_mock.go:219
MethodListSubscriptions
(ctx context.Context, limit int)
pkg/cmd/event/client/client.go:154
MethodListSubscriptionsCalls
ListSubscriptionsCalls gets all the calls that were made to ListSubscriptions. Check the length with: len(mockedEventClient.ListSubscriptionsCalls()
pkg/cmd/event/client/client_mock.go:240
MethodLogin
(host, username, token, gitProtocol string, encrypt bool)
pkg/cmd/auth/shared/login_flow_test.go:31
MethodLogin
(string, string, string, string, bool)
pkg/cmd/auth/shared/login_flow_test.go:53
MethodLogin
Login will set user, git protocol, and auth token for the given hostname. If the encrypt option is specified it will first try to store the auth token
internal/config/config.go:527
MethodLogin
()
api/queries_pr_review.go:189
MethodLogin
()
api/queries_pr_review.go:239
MethodLogin
()
api/queries_repo.go:1196
MethodLogin
()
api/queries_repo.go:1226
MethodLoginRefreshable
(host, username string, credential gh.Credential, gitProtocol string, encrypt bool)
pkg/cmd/auth/shared/login_flow_test.go:38
MethodLoginRefreshable
(string, string, gh.Credential, string, bool)
pkg/cmd/auth/shared/login_flow_test.go:57
MethodLoginRefreshable
LoginRefreshable stores a refreshable credential for the user, sets the git protocol, and activates the user. It mirrors Login: secure storage is pref
internal/config/refreshable.go:146
MethodLogins
()
api/queries_issue.go:152
MethodLogout
Logout will remove user, git protocol, and auth token for the given hostname. It will remove the auth token from the encrypted storage if it exists th
internal/config/config.go:625
MethodLogoutWithCredential
(hostname, username string, beforeLogout func(gh.Credential, error, func(gh.RefreshableCredential) error) erro
pkg/cmd/auth/logout/logout_test.go:1318
MethodLogoutWithCredential
LogoutWithCredential coordinates credential-dependent cleanup with concurrent refreshes. Advisory locking is best effort, matching Logout. The callbac
internal/config/config.go:637
MethodMagentaf
(t string, args ...any)
pkg/iostreams/color.go:159
FunctionMakeTestExporter
(fields []string, wh func(io *iostreams.IOStreams, data any) error)
pkg/cmd/run/shared/test.go:282
FunctionMap
Map applies a function to the contained value of (if [Some]), or returns [None]. Use this function very sparingly as it can lead to very unidiomatic
pkg/option/option.go:140
MethodMarkdownEditor
MarkdownEditor calls MarkdownEditorFunc.
internal/prompter/prompter_mock.go:331
MethodMarkdownEditor
(prompt, defaultValue string, blankAllowed bool)
internal/prompter/huh_prompter.go:273
MethodMarkdownEditor
(prompt, defaultValue string, blankAllowed bool)
internal/prompter/prompter.go:304
MethodMarkdownEditor
(prompt, defaultValue string, blankAllowed bool)
internal/prompter/prompter.go:562
MethodMarkdownEditor
(prompt, defaultValue string, blankAllowed bool)
internal/prompter/test.go:87
MethodMarkdownEditorCalls
MarkdownEditorCalls gets all the calls that were made to MarkdownEditor. Check the length with: len(mockedPrompter.MarkdownEditorCalls())
internal/prompter/prompter_mock.go:354
MethodMarshalJSON
()
pkg/search/result.go:381
MethodMarshalJSON
MarshalJSON emits the raw content as a JSON string so a value round-trips faithfully through encode/decode.
pkg/iostreams/untrusted.go:74
MethodMarshalJSON
()
api/queries_issue.go:294
MethodMarshalJSON
()
api/reaction_groups.go:10
FunctionMatchAny
(*http.Request)
pkg/httpmock/stub.go:27
MethodMerge
(m2 *RepoMetadataResult)
api/queries_repo.go:951
MethodMergeFastForward
(ref string)
pkg/cmd/repo/sync/git.go:94
MethodMergeFastForward
(a string)
pkg/cmd/repo/sync/mocks.go:52
MethodMeta
(key string)
internal/barista/observability/telemetry.twirp.go:886
MethodMigrate
Migrate applies a migration to the configuration.
internal/gh/gh.go:82
MethodMigrate
Migrate calls MigrateFunc.
internal/gh/mock/config.go:659
MethodMigrateCalls
MigrateCalls gets all the calls that were made to Migrate. Check the length with: len(mockedConfig.MigrateCalls())
internal/gh/mock/config.go:678
MethodMultiSelect
(prompt string, defaults []string, options []string)
pkg/cmd/repo/edit/edit.go:28
MethodMultiSelect
MultiSelect calls MultiSelectFunc.
internal/prompter/prompter_mock.go:371
MethodMultiSelect
(prompt string, defaults []string, options []string)
internal/prompter/huh_prompter.go:100
MethodMultiSelect
(prompt string, defaults []string, options []string)
internal/prompter/prompter.go:148
MethodMultiSelect
(prompt string, defaultValues, options []string)
internal/prompter/prompter.go:357
MethodMultiSelectCalls
MultiSelectCalls gets all the calls that were made to MultiSelect. Check the length with: len(mockedPrompter.MultiSelectCalls())
internal/prompter/prompter_mock.go:394
MethodMultiSelectWithSearch
MultiSelectWithSearch calls MultiSelectWithSearchFunc.
internal/prompter/prompter_mock.go:411
MethodMultiSelectWithSearch
(prompt, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) MultiSelectSea
internal/prompter/huh_prompter.go:115
MethodMultiSelectWithSearch
(prompt, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) MultiSelectSea
internal/prompter/prompter.go:341
MethodMultiSelectWithSearch
(prompt string, searchPrompt string, defaultValues, persistentValues []string, searchFunc func(string) MultiSe
internal/prompter/prompter.go:361
MethodMultiSelectWithSearch
(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) MultiSele
internal/prompter/test.go:100
MethodMultiSelectWithSearchCalls
MultiSelectWithSearchCalls gets all the calls that were made to MultiSelectWithSearch. Check the length with: len(mockedPrompter.MultiSelectWithSear
internal/prompter/prompter_mock.go:438
MethodMutate
(queryName string, query any, variables map[string]any)
pkg/cmd/project/shared/queries/queries.go:72
MethodMutate
Mutate performs a GraphQL mutation based on a struct and parses the response with the same struct as the receiver. If there are errors in the response
api/client.go:123
MethodName
()
pkg/cmd/pr/shared/templates.go:29
MethodName
()
pkg/cmd/pr/shared/templates.go:45
MethodName
()
pkg/cmd/pr/shared/templates.go:296
MethodName
()
pkg/cmd/extension/extension.go:43
MethodName
()
internal/safepaths/link_windows_test.go:165
MethodName
()
api/queries_repo.go:1200
MethodName
()
api/queries_repo.go:1230
MethodNameCalls
NameCalls gets all the calls that were made to Name. Check the length with: len(mockedExtension.NameCalls())
pkg/extensions/extension_mock.go:284
MethodNameForSubmit
()
pkg/cmd/pr/shared/templates.go:33
MethodNameForSubmit
()
pkg/cmd/pr/shared/templates.go:49
← previousnext →4,701–4,800 of 7,572, ranked by callers