databricks-cli/cmd/workspace/tokens/overrides.go

11 lines
281 B
Go

package tokens
import "github.com/databricks/bricks/libs/cmdio"
func init() {
listCmd.Annotations["template"] = cmdio.Heredoc(`
{{white "ID"}} {{white "Expiry time"}} {{white "Comment"}}
{{range .}}{{.TokenId|green}} {{white "%d" .ExpiryTime}} {{.Comment|white}}
{{end}}`)
}