Better formatting for config-get custom-columns

This commit is contained in:
David Dworken 2022-11-04 23:45:15 -07:00
parent 35d22e67fc
commit 1be3dcc76f
No known key found for this signature in database

View File

@ -156,8 +156,9 @@ func main() {
}
fmt.Print("\n")
case "custom-columns":
// TODO: better formatting for this
fmt.Printf("%#v", config.CustomColumns)
for _, cc := range config.CustomColumns {
fmt.Println(cc.ColumnName + ": " + cc.ColumnCommand)
}
default:
log.Fatalf("Unrecognized config key: %s", key)
}