Versions in this module Expand all Collapse all v0 v0.0.2 May 25, 2021 Changes in this version + func Example(value string) example + func ExamplePrefixed(prefix string, examples string) example v0.0.1 May 4, 2021 Changes in this version + func AskConfirmation(label string, args ...interface{}) (answeredYes bool, wasAnswered bool) + func CopyFile(inPath, outPath string) + func Dedent(input string) string + func Ensure(condition bool, message string, args ...interface{}) + func FileExists(path string) bool + func NoError(err error, message string, args ...interface{}) + func Quit(message string, args ...interface{}) + func Root(usage, short string, opts ...CommandOption) *cobra.Command + func Run(usage, short string, opts ...CommandOption) + type BeforeAllHook func(cmd *cobra.Command) + type CommandOption interface + func Command(execute func(cmd *cobra.Command, args []string) error, usage, short string, ...) CommandOption + type CommandOptionFunc func(cmd *cobra.Command) + type Description string + type Execute func(cmd *cobra.Command, args []string) error