MCPcopy Create free account
hub / github.com/cli/cli / AuthToken

Method AuthToken

internal/prompter/prompter.go:43–43  ·  view source on GitHub ↗

gh specific prompts AuthToken prompts the user to enter an authentication token.

()

Source from the content-addressed store, hash-verified

41
42 // AuthToken prompts the user to enter an authentication token.
43 AuthToken() (string, error)
44 // ConfirmDeletion prompts the user to confirm deletion of a resource by
45 // typing the requiredValue.
46 ConfirmDeletion(requiredValue string) error

Callers 1

TestAccessiblePrompterFunction · 0.65

Implementers 4

PrompterMockinternal/prompter/prompter_mock.go
huhPrompterinternal/prompter/huh_prompter.go
accessiblePrompterinternal/prompter/prompter.go
surveyPrompterinternal/prompter/prompter.go

Calls

no outgoing calls

Tested by 1

TestAccessiblePrompterFunction · 0.52