databricks-cli/libs/template
shreyas-goenka d9fe2ab43d
Improve error message when path is not a bundle template (#985)
Adds better error message when input path is not a bundle template

before:
```
shreyas.goenka@THW32HFW6T bricks % cli bundle init ~/bricks
Error: open /Users/shreyas.goenka/bricks/databricks_template_schema.json: no such file or directory
```

after:
```
shreyas.goenka@THW32HFW6T bricks % cli bundle init ~/bricks
Error: expected to find a template schema file at /Users/shreyas.goenka/bricks/databricks_template_schema.json
```
2023-11-22 12:25:16 +00:00
..
templates/default-python Work around DLT issue with `$PYTHONPATH` not being set correctly (#999) 2023-11-20 19:25:43 +00:00
testdata Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
config.go Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
config_test.go Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
file.go Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
file_test.go Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
helpers.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
helpers_test.go Add a foundation for built-in templates (#685) 2023-08-25 09:03:42 +00:00
materialize.go Improve error message when path is not a bundle template (#985) 2023-11-22 12:25:16 +00:00
materialize_test.go Improve error message when path is not a bundle template (#985) 2023-11-22 12:25:16 +00:00
renderer.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
renderer_test.go Fix template initialization from current working directory (#976) 2023-11-14 22:09:18 +00:00