mirror of https://github.com/databricks/cli.git
12 lines
280 B
Go
12 lines
280 B
Go
|
package cluster_policies
|
||
|
|
||
|
import "github.com/databricks/bricks/libs/cmdio"
|
||
|
|
||
|
func init() {
|
||
|
listCmd.Annotations["template"] = cmdio.Heredoc(`
|
||
|
{{range .}}{{.PolicyId | green}} {{.Name}}
|
||
|
{{end}}`)
|
||
|
|
||
|
getCmd.Annotations["template"] = cmdio.Heredoc(`{{.Definition | pretty_json}}`)
|
||
|
}
|