feat: install workspace backend config template

This commit is contained in:
2026-07-02 01:38:47 +09:00
parent 8b1e4b721f
commit a123db83ad
6 changed files with 118 additions and 2 deletions
+1
View File
@@ -67,6 +67,7 @@ async fn run() -> Result<(), Box<dyn std::error::Error>> {
async fn run_serve(options: ServeOptions) -> Result<(), Box<dyn std::error::Error>> {
let identity = WorkspaceIdentity::load_or_init(&options.workspace)?;
WorkspaceBackendConfigFile::ensure_default_template_for_workspace(&options.workspace)?;
let config_file = WorkspaceBackendConfigFile::load_for_workspace(&options.workspace)?;
let mut resolved = config_file.resolve(&options.workspace, identity)?;
if let Some(db) = options.db {