diff options
Diffstat (limited to 'src/config.rs')
| -rw-r--r-- | src/config.rs | 11 |
1 files changed, 9 insertions, 2 deletions
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<bool>, +} + +#[derive(Debug, Serialize, Deserialize)] +pub struct Link { + pub from: String, + pub to: String, + pub symbolic: Option<bool>, } #[derive(Debug, Serialize, Deserialize)] pub enum Step { - Link(CopyPath), + Link(Link), Copy(CopyPath), Shell(String), } |
