Skip to content

Commit 7adcec0

Browse files
authored
fix: add name field to genie manifest for non-interactive --set support (#384)
The CLI `apps init --set genie.genie-space.name=<value>` was rejected because the genie manifest only declared `id`. The CLI generator needs both `id` and `name` for valid DABs genie_space YAML. Every other multi-field plugin already declares all its fields in the manifest. Co-authored-by: Isaac
1 parent f65be0e commit 7adcec0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

packages/appkit/src/plugins/genie/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
"id": {
1515
"env": "DATABRICKS_GENIE_SPACE_ID",
1616
"description": "Default Genie Space ID"
17+
},
18+
"name": {
19+
"description": "Genie Space display name"
1720
}
1821
}
1922
}

template/appkit.plugins.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@
9292
"id": {
9393
"env": "DATABRICKS_GENIE_SPACE_ID",
9494
"description": "Default Genie Space ID"
95+
},
96+
"name": {
97+
"description": "Genie Space display name"
9598
}
9699
}
97100
}

0 commit comments

Comments
 (0)