pub async fn run_write( life: &Lifecycle, target: &str, value: &str, include_snapshot: bool, capture: CaptureOpts, ) -> Result<Value, CliError>