Documentation ¶
Overview ¶
The ui package contains functions for retrieving information from an end-user via the CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthDetails ¶
func GetAuthDetails(a auth.Auth, prompterFactory func(message string, hidden bool) Prompter) (map[string]*auth.Detail, error)
GetAuthDetails retrieves the authentication details from the given authentication type and proceeds to prompt the user to provide input for each of the retrieved details. It returns the detail map configured with the input data from the end-user.
Types ¶
Click to show internal directories.
Click to hide internal directories.