From 7b8b01853540c5641b1d5d22ec4f4feadbe50bc0 Mon Sep 17 00:00:00 2001 From: Freddie Ridell Date: Mon, 16 Mar 2026 23:18:11 +0000 Subject: [PATCH] docs: add help text to PhaseConfig struct and ::cmd Pi-meta-acfb021d: hmm actually cmd shouldnt be optional here at all update doc and add TODO to unoptionalize add TODO to unoptionalize: --- crates/bough-cli/src/config.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/bough-cli/src/config.rs b/crates/bough-cli/src/config.rs index f1281299..467d01ad 100644 --- a/crates/bough-cli/src/config.rs +++ b/crates/bough-cli/src/config.rs @@ -295,8 +295,11 @@ pub struct TestPhaseConfig { pub overrides: PhaseOverrides, } +/// Configuration for an optional phase (init or reset). +/// Omit the section entirely to skip the phase. #[derive(Facet, Debug, Clone)] pub struct PhaseConfig { + /// Shell command to run for this phase. #[facet(default)] pub cmd: Option, -- knotmirror 0.0.1