Versions in this module Expand all Collapse all v2 v2.0.1 Oct 14, 2022 Changes in this version + const FlagDryRun + const FlagDump + const FlagEndpoint + const FlagFormat + const FlagToken + const FormatCSV + const FormatJSON + const FormatTable + var Config config + var Root = cobra.Command + var Stderr = console.NewConsoleOutput(os.Stderr) + var Stdout = console.NewConsoleOutput(os.Stdout) + func Add(app Application, parent *cobra.Command, builder ...CommandBuilder) + func Confirm(message string) bool + func ConfirmDeletion(kind string, item fmt.Stringer) bool + func FormatAndIndent(text string, indent int) string + func FormatExamples(examples string) string + func FormatHelp(help string) string + func Print(out console.Writer, val interface{}) error + func PrintStdout(val interface{}) error + func Run(app Application) + func WaitForOrder(ctx context.Context, action string, ordering common.Ordering) (common.Order, error) + type Application struct + Description string + Endpoint string + Modules []ModuleFactory + Name string + Version string + type CommandBuilder interface + Build func(app Application) *cobra.Command + type ModuleFactory func(app Application) *cobra.Command