databricks-cli/libs/template
shreyas-goenka cb3ad737f1
Add short_name helper function to bundle init templates (#1167)
## Changes
Adds the short_name helper function. short_name is useful when templates
do not want to print the full userName (typically email or service
principal application-id) of the current user.

## Tests
Integration test. Also adds integration tests for other helper functions
that interact with the Databricks API.
2024-02-01 16:46:07 +00:00
..
templates/default-python Change recommended production deployment path from /Shared to /Users (#1091) 2024-01-02 19:58:24 +00:00
testdata Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
config.go Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +00:00
config_test.go Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +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 Add short_name helper function to bundle init templates (#1167) 2024-02-01 16:46:07 +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