Documentation ¶ Index ¶ func PromptPassword(cmd *cobra.Command, prompt string) (string, error) func PromptString(cmd *cobra.Command, prompt string) (string, error) type Response func PromptYesNo(cmd *cobra.Command, prompt string, defaultValue bool) Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func PromptPassword ¶ func PromptPassword(cmd *cobra.Command, prompt string) (string, error) func PromptString ¶ func PromptString(cmd *cobra.Command, prompt string) (string, error) Types ¶ type Response ¶ type Response struct { Confirmed bool IsFlag bool } func PromptYesNo ¶ func PromptYesNo(cmd *cobra.Command, prompt string, defaultValue bool) Response Source Files ¶ View all Source files prompt.go Click to show internal directories. Click to hide internal directories.