mirror of https://github.com/databricks/cli.git
12 lines
329 B
Go
12 lines
329 B
Go
package queries
|
|
|
|
import "github.com/databricks/bricks/libs/cmdio"
|
|
|
|
func init() {
|
|
// TODO: figure out colored/non-colored headers and colspan shifts
|
|
listCmd.Annotations["template"] = cmdio.Heredoc(`
|
|
{{white "ID"}} {{white "Name"}} {{white "Author"}}
|
|
{{range .}}{{.Id|green}} {{.Name|white}} {{.User.Email|white}}
|
|
{{end}}`)
|
|
}
|