Documentation ¶
Index ¶
- func NopCloser(w io.Writer) io.WriteCloser
- func ParseBool(str string) (bool, error)
- func PromptFlagBool(f *pflag.Flag) (bool, string)
- func PromptFlagString(f *pflag.Flag) (bool, string)
- func PromptFlags(cmd *cobra.Command, args []string) error
- func PromptNext(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NopCloser ¶
func NopCloser(w io.Writer) io.WriteCloser
NopCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.
func PromptFlags ¶
PromptFlags propts for flags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.