mirror of https://github.com/databricks/cli.git
24 lines
381 B
Go
24 lines
381 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"log"
|
|
|
|
"github.com/databricks/bricks/bundle/internal/tf/codegen/generator"
|
|
"github.com/databricks/bricks/bundle/internal/tf/codegen/schema"
|
|
)
|
|
|
|
func main() {
|
|
ctx := context.Background()
|
|
|
|
schema, err := schema.Load(ctx)
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
|
|
err = generator.Run(ctx, schema, "../schema")
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
}
|