diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2024-12-25 15:17:12 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2024-12-25 15:17:12 +0000 |
| commit | de9c68b085034c897f26ce22fa05bd2601e79373 (patch) | |
| tree | 9996862988168ba7fa6e561bc2e5133072356c0e /src/config.rs | |
| parent | ffa08735aee2d69e17bce5c29a7ef96cc7e2233f (diff) | |
Version 0.2.0
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), } |
