github.com/databricks/cli@v0.203.0/.codegen/cmds-workspace.go.tmpl (about)

     1  // Code generated from OpenAPI specs by Databricks SDK Generator. DO NOT EDIT.
     2  
     3  package workspace
     4  
     5  {{ $excludes := list "command-execution" "statement-execution" "dbfs" "dbsql-permissions" "account-access-control-proxy" }}
     6  
     7  import (
     8  	"github.com/databricks/cli/cmd/root"
     9      {{range .Services}}{{if not .IsAccounts}}{{if not (in $excludes .KebabName) }}
    10  	{{.SnakeName}} "github.com/databricks/cli/cmd/workspace/{{.KebabName}}"{{end}}{{end}}{{end}}
    11  )
    12  
    13  func All() []*cobra.Command {
    14  	var out []*cobra.Command
    15  
    16  	{{range .Services}}{{if not .IsAccounts}}{{if not (in $excludes .KebabName) -}}
    17  	out = append(out, {{.SnakeName}}.New())
    18  	{{end}}{{end}}{{end}}
    19  
    20  	return out
    21  }