mirror of https://github.com/databricks/cli.git
12 lines
338 B
Go
12 lines
338 B
Go
package workspace
|
|
|
|
import "github.com/databricks/cli/libs/cmdio"
|
|
|
|
func init() {
|
|
listReq.Path = "/"
|
|
listCmd.Annotations["template"] = cmdio.Heredoc(`
|
|
{{white "ID"}} {{white "Type"}} {{white "Language"}} {{white "Path"}}
|
|
{{range .}}{{green "%d" .ObjectId}} {{blue "%s" .ObjectType}} {{cyan "%s" .Language}} {{.Path|white}}
|
|
{{end}}`)
|
|
}
|