From cb8a173456004e978d67dd99701a9e166932393b Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sun, 1 Feb 2026 11:37:00 -0700 Subject: [PATCH] stub into add, reconcile, edit, dump --- pttodoest/src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pttodoest/src/main.rs b/pttodoest/src/main.rs index 4d24c35..001167a 100755 --- a/pttodoest/src/main.rs +++ b/pttodoest/src/main.rs @@ -15,6 +15,11 @@ pub fn main() { .expect("failed to add"); } + if flags.add.is_some() || flags.edit { + reconcile(flags.files().expect("couldnt find files from flags")) + .expect("failed to reconcile"); + } + if flags.edit { edit(flags.files().expect("couldnt find files from flags")).expect("failed to edit"); } @@ -110,6 +115,10 @@ fn add(files: Vec, add: String, add_schedule: Option) -> Result< Err("not impl".to_string()) } +fn reconcile(files: Vec) -> Result<(), String> { + Err("not impl".to_string()) +} + fn edit(files: Vec) -> Result<(), String> { Err("not impl".to_string()) }