A file-based task manager

FIX: binary name should be tsk, follow defaults to idx 1

+7 -3
+4
Cargo.toml
··· 11 readme = "readme" 12 authors = ["Noah Pederson <noah@packetlost.dev>"] 13 14 [dependencies] 15 clap = { version = "4", features = ["derive", "env"] } 16 clap_complete = "4"
··· 11 readme = "readme" 12 authors = ["Noah Pederson <noah@packetlost.dev>"] 13 14 + [[bin]] 15 + name = "tsk" 16 + path = "src/main.rs" 17 + 18 [dependencies] 19 clap = { version = "4", features = ["derive", "env"] } 20 clap_complete = "4"
+3 -3
src/main.rs
··· 115 /// address the link. That number should be supplied to the -l/link_index where it will be 116 /// subsequently followed opened or shown. 117 Follow { 118 - /// The index of the link to open. Must be supplied. 119 - #[arg(short = 'l')] 120 - link_index: usize, 121 /// The task whose body will be searched for links. 122 #[command(flatten)] 123 task_id: TaskId, 124 /// When opening an internal link, whether to show or edit the addressed task. 125 #[arg(short = 'e', default_value_t = false)] 126 edit: bool,
··· 115 /// address the link. That number should be supplied to the -l/link_index where it will be 116 /// subsequently followed opened or shown. 117 Follow { 118 /// The task whose body will be searched for links. 119 #[command(flatten)] 120 task_id: TaskId, 121 + /// The index of the link to open. Must be supplied. 122 + #[arg(short = 'l', default_value_t = 1)] 123 + link_index: usize, 124 /// When opening an internal link, whether to show or edit the addressed task. 125 #[arg(short = 'e', default_value_t = false)] 126 edit: bool,