Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Select
Method
Select
pkg/cmd/repo/setdefault/setdefault.go:38–38 ·
view source on GitHub ↗
(string, string, []string)
Source
from the content-addressed store, hash-verified
36
37
type
iprompter
interface
{
38
Select(string, string, []string) (int, error)
39
}
40
41
type
SetDefaultOptions
struct
{
Callers
nothing calls this directly
Implementers
4
PrompterMock
internal/prompter/prompter_mock.go
huhPrompter
internal/prompter/huh_prompter.go
accessiblePrompter
internal/prompter/prompter.go
surveyPrompter
internal/prompter/prompter.go
Calls
no outgoing calls
Tested by
no test coverage detected