pub struct TaskEditArgs {
pub field: TaskEditFieldArg,
pub value: String,
pub task_ids: Vec<String>,
pub tag_filter: Vec<String>,
pub dry_run: bool,
pub no_auto_archive: bool,
}Fields§
§field: TaskEditFieldArgTask field to update.
value: StringNew field value (empty string clears optional fields).
task_ids: Vec<String>Task ID(s) to update.
tag_filter: Vec<String>Filter tasks by tag for batch operation (alternative to explicit IDs).
dry_run: boolPreview changes without modifying the queue.
no_auto_archive: boolDisable auto-archive of terminal tasks during edit.
By default, the edit command may auto-archive terminal tasks (Done/Rejected)
that are older than the configured auto_archive_terminal_after_days.
Use this flag to prevent this side effect.
Trait Implementations§
Source§impl Args for TaskEditArgs
impl Args for TaskEditArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for TaskEditArgs
impl FromArgMatches for TaskEditArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for TaskEditArgs
impl RefUnwindSafe for TaskEditArgs
impl Send for TaskEditArgs
impl Sync for TaskEditArgs
impl Unpin for TaskEditArgs
impl UnsafeUnpin for TaskEditArgs
impl UnwindSafe for TaskEditArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more