func printColumn(formatter cli.Formatter) { err := formatter.ToColumns(os.Stdout) if err != nil { log.Error("Error: %s", err.Error()) } }
func printEncodedType(formatter cli.Formatter, encoder encoding.EncoderType) { e, _ := encoding.NewEncoder(encoder) str, _ := e.MarshalIndent(formatter.Data().Data) fmt.Println(str) }