pub struct QueueExportArgs {
pub format: QueueExportFormat,
pub output: Option<PathBuf>,
pub status: Vec<StatusArg>,
pub tag: Vec<String>,
pub scope: Vec<String>,
pub id_pattern: Option<String>,
pub created_after: Option<String>,
pub created_before: Option<String>,
pub include_archive: bool,
pub only_archive: bool,
pub quiet: bool,
}Expand description
Arguments for ralph queue export.
Fields§
§format: QueueExportFormatOutput format.
output: Option<PathBuf>Output file path (default: stdout).
status: Vec<StatusArg>Filter by status (repeatable).
tag: Vec<String>Filter by tag (repeatable, case-insensitive).
scope: Vec<String>Filter by scope token (repeatable, case-insensitive; substring match).
id_pattern: Option<String>Filter by task ID pattern (substring match).
created_after: Option<String>Filter tasks created after this date (RFC3339 or YYYY-MM-DD).
created_before: Option<String>Filter tasks created before this date (RFC3339 or YYYY-MM-DD).
include_archive: boolInclude tasks from .ralph/done.jsonc archive.
only_archive: boolOnly export tasks from .ralph/done.jsonc (ignores active queue).
quiet: boolSuppress size warning output.
Trait Implementations§
Source§impl Args for QueueExportArgs
impl Args for QueueExportArgs
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 QueueExportArgs
impl FromArgMatches for QueueExportArgs
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 QueueExportArgs
impl RefUnwindSafe for QueueExportArgs
impl Send for QueueExportArgs
impl Sync for QueueExportArgs
impl Unpin for QueueExportArgs
impl UnsafeUnpin for QueueExportArgs
impl UnwindSafe for QueueExportArgs
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