You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: acceptance/bundle/templates/default-scala/output.txt
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,8 @@ Welcome to the default-scala template for Databricks Asset Bundles!
5
5
6
6
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.
7
7
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.
Copy file name to clipboardExpand all lines: libs/template/templates/default-scala/databricks_template_schema.json
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
"properties": {
4
4
"project_name": {
5
5
"type": "string",
6
+
"default": "my_scala_project",
6
7
"description": "\nPlease provide a unique name for this project.\nproject_name",
7
8
"order": 1,
8
9
"pattern": "^[A-Za-z_][A-Za-z0-9-_]+$",
@@ -54,5 +55,6 @@
54
55
"description": "\nPlease provide an initial schema during development.\ndefault_schema",
55
56
"order": 6
56
57
}
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."
0 commit comments