databricks-cli/cmd/account/service-principals/overrides.go

10 lines
309 B
Go

package service_principals
import "github.com/databricks/cli/libs/cmdio"
func init() {
listCmd.Annotations["template"] = cmdio.Heredoc(`
{{range .}}{{.Id|green}} {{.ApplicationId}} {{.DisplayName}} {{range .Groups}}{{.Display}} {{end}} {{if .Active}}{{"ACTIVE"|green}}{{else}}DISABLED{{end}}
{{end}}`)
}