diff --git a/src/config.rs b/src/config.rs index 8dbb812..a589bde 100644 --- a/src/config.rs +++ b/src/config.rs @@ -37,6 +37,15 @@ impl TaskWarriorBool for str { } } +#[derive(Debug)] +pub struct UDA { + label: String, + kind: String, + values: Option>, + default: Option, + urgency: Option, +} + #[derive(Debug)] pub struct Config { pub enabled: bool, @@ -86,6 +95,7 @@ pub struct Config { pub uda_task_report_prompt_on_done: bool, pub uda_task_report_date_time_vague_more_precise: bool, pub uda_context_menu_select_on_move: bool, + pub uda: Vec, } impl Config { @@ -206,6 +216,7 @@ impl Config { uda_task_report_prompt_on_done, uda_task_report_date_time_vague_more_precise, uda_context_menu_select_on_move, + uda: vec![], }) }