From de9c68b085034c897f26ce22fa05bd2601e79373 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Wed, 25 Dec 2024 15:17:12 +0000 Subject: Version 0.2.0 --- src/config.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 2a0e38b..f5754eb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -8,12 +8,19 @@ use serde::{Serialize, Deserialize}; pub struct CopyPath { pub from: String, pub to: String, - pub recursive: bool, + pub recursive: Option, +} + +#[derive(Debug, Serialize, Deserialize)] +pub struct Link { + pub from: String, + pub to: String, + pub symbolic: Option, } #[derive(Debug, Serialize, Deserialize)] pub enum Step { - Link(CopyPath), + Link(Link), Copy(CopyPath), Shell(String), } -- cgit v1.2.3-70-g09d2