From 2f708ef41c3763f03d42d98d58680439d797f96f Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sun, 1 Feb 2026 11:32:02 -0700 Subject: [PATCH] stub edit --- pttodoest/src/main.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pttodoest/src/main.rs b/pttodoest/src/main.rs index fb4e516..52db5d0 100755 --- a/pttodoest/src/main.rs +++ b/pttodoest/src/main.rs @@ -4,7 +4,11 @@ use serde_yaml; use std::io::{BufRead, Read, Write}; pub fn main() { - let _flags = Flags::new().expect("failed to flags"); + let flags = Flags::new().expect("failed to flags"); + + if flags.edit { + edit(flags.files().expect("couldnt find files from flags")).expect("failed to edit"); + } } #[derive(Debug, Parser)] @@ -91,6 +95,10 @@ mod test_flags { } } +fn edit(files: Vec) -> Result<(), String> { + Err("not impl".to_string()) +} + mod tests { use super::*;