diff --git a/src/files/commands.rs b/src/files/commands.rs index e132520..0e778f6 100644 --- a/src/files/commands.rs +++ b/src/files/commands.rs @@ -97,6 +97,14 @@ impl DeltaStep { #[derive(Debug)] pub struct Delta(pub Vec); +#[derive(Debug)] +pub struct Repeat { + /// Start at the date when the latest `DONE` was created instead of the + /// task's previous occurrence. + pub start_at_done: bool, + pub delta: Delta, +} + #[derive(Debug)] pub struct DateSpec { pub start: NaiveDate, @@ -105,7 +113,7 @@ pub struct DateSpec { pub end: Option, pub end_delta: Option, pub end_time: Option