mirror of https://github.com/databricks/cli.git
23 lines
774 B
Cheetah
23 lines
774 B
Cheetah
// Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
|
|
|
|
package workspace
|
|
|
|
{{$excludes := list "command-execution" "statement-execution" "dbfs" "dbsql-permissions"}}
|
|
|
|
import (
|
|
"github.com/databricks/cli/cmd/root"
|
|
{{range .Services}}{{if not .IsAccounts}}{{if not (in $excludes .KebabName) }}
|
|
{{.SnakeName}} "github.com/databricks/cli/cmd/workspace/{{.KebabName}}"{{end}}{{end}}{{end}}
|
|
)
|
|
|
|
func init() {
|
|
{{range .Services}}{{if not .IsAccounts}}{{if not (in $excludes .KebabName) -}}
|
|
root.RootCmd.AddCommand({{.SnakeName}}.Cmd)
|
|
{{end}}{{end}}{{end}}
|
|
|
|
// Register commands with groups
|
|
{{range .Services}}{{if not .IsAccounts}}{{if not (in $excludes .KebabName) -}}
|
|
{{.SnakeName}}.Cmd.GroupID = "{{ .Package.Name }}"
|
|
{{end}}{{end}}{{end}}
|
|
}
|