Skip to content

Commit 9bed9cb

Browse files
Add default project name and success message to default-scala template (#4661)
## Changes This adds makes the `project_name` and a `success_message` fields consistent with other templates. --------- Co-authored-by: Claude Opus 4.6 <[email protected]>
1 parent 0cd9bd4 commit 9bed9cb

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Bundles
1212
* engine/direct: Fix permanent drift on experiment name field ([#4627](https://github.com/databricks/cli/pull/4627))
1313
* engine/direct: Fix permissions state path to match input config schema ([#4703](https://github.com/databricks/cli/pull/4703))
14+
* Add default project name and success message to default-scala template ([#4661](https://github.com/databricks/cli/pull/4661))
1415

1516
### Dependency updates
1617

acceptance/bundle/templates/default-scala/output.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ Welcome to the default-scala template for Databricks Asset Bundles!
55

66
A workspace was selected based on your current profile. For information about how to change this, see https://docs.databricks.com/dev-tools/cli/profiles.html.
77
workspace_host: [DATABRICKS_URL]
8-
✨ Successfully initialized template
8+
9+
✨ Your new project has been created in the 'my_default_scala' directory!
10+
11+
Please refer to the README.md file for "getting started" instructions.
12+
See also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html.

libs/template/templates/default-scala/databricks_template_schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"properties": {
44
"project_name": {
55
"type": "string",
6+
"default": "my_scala_project",
67
"description": "\nPlease provide a unique name for this project.\nproject_name",
78
"order": 1,
89
"pattern": "^[A-Za-z_][A-Za-z0-9-_]+$",
@@ -54,5 +55,6 @@
5455
"description": "\nPlease provide an initial schema during development.\ndefault_schema",
5556
"order": 6
5657
}
57-
}
58+
},
59+
"success_message": "\n✨ Your new project has been created in the '{{.project_name}}' directory!\n\nPlease refer to the README.md file for \"getting started\" instructions.\nSee also the documentation at https://docs.databricks.com/dev-tools/bundles/index.html."
5860
}

0 commit comments

Comments
 (0)