Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ Confirm
Method
Confirm
pkg/cmd/repo/fork/fork.go:29–29 ·
view source on GitHub ↗
(string, bool)
Source
from the content-addressed store, hash-verified
27
28
type
iprompter
interface
{
29
Confirm(string, bool) (bool, error)
30
}
31
32
type
ForkOptions
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