databricks-cli/cmd/bundle
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
..
bundle.go Add documentation link bundle command group description (#770) 2023-09-12 13:38:43 +00:00
deploy.go Correct name for force acquire deploy flag (#656) 2023-08-15 19:03:43 +00:00
destroy.go Add validation for Git settings in bundles (#578) 2023-07-30 12:44:33 +00:00
init.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
init_test.go Add bundle init command and support for prompting user for input values (#631) 2023-08-07 13:14:25 +00:00
launch.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
run.go Use interactive prompt to select resource to run if not specified (#762) 2023-09-11 18:03:12 +00:00
schema.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
sync.go Consolidate environment variable interaction (#747) 2023-09-11 08:18:43 +00:00
test.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
validate.go Remove dependency on global state for remaining commands (#613) 2023-07-27 10:03:08 +00:00
variables.go Renamed `environments` to `targets` in bundle configuration (#670) 2023-08-17 15:22:32 +00:00