Documentation ¶
Index ¶
- func AskToPersistProjectChoice(server string, projectName string) error
- func Confirm(message string, defaultValue bool) (bool, error)
- func Input(message string) (string, error)
- func MultiSelect(message string, items map[string]string) ([]string, error)
- func ReadSecret(message string, file *os.File) (string, error)
- func ReadSecretWithFeedback(message string) (string, error)
- func Select(message string, items map[string]string, sorted bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskToPersistProjectChoice ¶ added in v0.22.0
askToPersistProjectChoice asks the user if they want to persist their choice of server and project. If they do, it adds the server and project to the cifuzz.yaml file.
func MultiSelect ¶ added in v0.5.0
MultiSelect offers the user a list of items (label:value) to select from and returns the values of the selected items
func ReadSecret ¶ added in v0.13.0
ReadSecret reads a secret from the user without printing * characters.
func ReadSecretWithFeedback ¶ added in v0.23.0
ReadSecretWithFeedback reads a secret from the user and prints * characters instead of the actual secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.