pub struct WatchArgs {
pub paths: Vec<PathBuf>,
pub patterns: Vec<String>,
pub debounce_ms: u64,
pub auto_queue: bool,
pub notify: bool,
pub ignore_patterns: Vec<String>,
pub comments: Vec<WatchCommentType>,
pub close_removed: bool,
}Fields§
§paths: Vec<PathBuf>Directories or files to watch (defaults to current directory).
patterns: Vec<String>File patterns to watch (comma-separated, default: .rs,.ts,.js,.py,.go,.java,.md,.toml,*.json).
debounce_ms: u64Debounce duration in milliseconds (default: 500).
auto_queue: boolAutomatically create tasks without prompting.
notify: boolEnable desktop notifications for new tasks.
ignore_patterns: Vec<String>Additional gitignore-style exclusions (comma-separated).
comments: Vec<WatchCommentType>Comment types to detect: todo,fixme,hack,xxx,all (default: all).
close_removed: boolAutomatically close (mark done) watch tasks when their originating comments are removed.
Trait Implementations§
Source§impl Args for WatchArgs
impl Args for WatchArgs
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 WatchArgs
impl FromArgMatches for WatchArgs
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 WatchArgs
impl RefUnwindSafe for WatchArgs
impl Send for WatchArgs
impl Sync for WatchArgs
impl Unpin for WatchArgs
impl UnsafeUnpin for WatchArgs
impl UnwindSafe for WatchArgs
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