databricks-cli/libs/template
Lennart Kats (databricks) a2ee8bb45b
Improve the output of the `databricks bundle init` command (#795)
Improve the output of help, prompts, and so on for `databricks bundle
init` and the default template.

Among other things, this PR adds support for a new `welcome_message`
property that lets a template print a custom message on success:

```
$ databricks bundle init
Template to use [default-python]:
Unique name for this project [my_project]: lennart_project
Include a stub (sample) notebook in 'lennart_project/src': yes
Include a stub (sample) Delta Live Tables pipeline in 'lennart_project/src': yes
Include a stub (sample) Python package in 'lennart_project/src': yes

 Your new project has been created in the 'lennart_project' directory!

Please refer to the README.md of your project for further instructions on getting started.
Or read the documentation on Databricks Asset Bundles at https://docs.databricks.com/dev-tools/bundles/index.html.
```

---------

Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
2023-10-19 07:08:36 +00:00
..
templates/default-python Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
testdata Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
config.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
config_test.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +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 the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +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 Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00