From 013c5c211ba3e7ad708e5827f7c35b5409470b4e Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Thu, 16 Mar 2023 15:46:21 -0400 Subject: [PATCH] feat: Working initialization --- src/bin/cli/init.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/cli/init.rs b/src/bin/cli/init.rs index fb76625..65bc6bb 100644 --- a/src/bin/cli/init.rs +++ b/src/bin/cli/init.rs @@ -37,6 +37,8 @@ impl InitArgs { site.config.domain.domain_name = domain_name; } debug!(?site); - todo!() + site.write(&site_dir) + .context("Failed to initialize site directory")?; + Ok(()) } }