mirror of https://github.com/databricks/cli.git
68 lines
3.1 KiB
JSON
68 lines
3.1 KiB
JSON
{
|
|
"welcome_message": "\nWelcome to the default Python template for Databricks Asset Bundles!",
|
|
"properties": {
|
|
"project_name": {
|
|
"type": "string",
|
|
"default": "my_project",
|
|
"description": "\nPlease provide a unique name for this project.\nproject_name",
|
|
"order": 1,
|
|
"pattern": "^[A-Za-z0-9_]+$",
|
|
"pattern_match_failure_message": "Name must consist of letters, numbers, and underscores."
|
|
},
|
|
"include_notebook": {
|
|
"type": "string",
|
|
"default": "yes",
|
|
"enum": ["yes", "no"],
|
|
"description": "\nWould you like to include a stub (sample) notebook in '{{.project_name}}{{path_separator}}src'?",
|
|
"order": 2
|
|
},
|
|
"include_dlt": {
|
|
"type": "string",
|
|
"default": "yes",
|
|
"enum": ["yes", "no"],
|
|
"description": "Would you like to include a stub (sample) Delta Live Tables pipeline in '{{.project_name}}{{path_separator}}src'?",
|
|
"order": 3
|
|
},
|
|
"include_python": {
|
|
"type": "string",
|
|
"default": "yes",
|
|
"enum": ["yes", "no"],
|
|
"description": "Would you like to include a stub (sample) Python package in '{{.project_name}}{{path_separator}}src'?",
|
|
"order": 4
|
|
},
|
|
"default_catalog": {
|
|
"type": "string",
|
|
"default": "{{default_catalog}}",
|
|
"pattern": "^\\w*$",
|
|
"pattern_match_failure_message": "Invalid catalog name.",
|
|
"description": "\nPlease provide an initial catalog{{if eq (default_catalog) \"\"}} (leave blank when not using Unity Catalog){{end}}.\ndefault_catalog",
|
|
"order": 5
|
|
},
|
|
"personal_schemas": {
|
|
"type": "string",
|
|
"description": "\nWould you like to use a personal schema for each user working on this project? (e.g., 'catalog.{{short_name}}')\npersonal_schemas",
|
|
"enum": [
|
|
"yes, use a schema based on the current user name during development",
|
|
"no, use a shared schema during development"
|
|
],
|
|
"order": 6
|
|
},
|
|
"shared_schema": {
|
|
"skip_prompt_if": {
|
|
"properties": {
|
|
"personal_schemas": {
|
|
"const": "yes, use a schema based on the current user name during development"
|
|
}
|
|
}
|
|
},
|
|
"type": "string",
|
|
"default": "default",
|
|
"pattern": "^\\w+$",
|
|
"pattern_match_failure_message": "Invalid schema name.",
|
|
"description": "\nPlease provide default schema during development.\ndefault_schema",
|
|
"order": 7
|
|
}
|
|
},
|
|
"success_message": "\nWorkspace to use (auto-detected, edit in '{{.project_name}}/databricks.yml').\nworkspace_host: {{workspace_host}}\n\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."
|
|
}
|