pub struct CollectArgs {
pub title: Option<String>,
pub description: Option<String>,
pub by_file: bool,
pub stdin_format: Option<String>,
pub title_template: Option<String>,
pub metadata: Option<String>,
pub blocked_by: Option<String>,
pub json: bool,
}Fields§
§title: Option<String>Title for every created item
description: Option<String>Description for every created item
by_file: boolSplit stdin into one item per file
stdin_format: Option<String>Input format: currently only rg-json is supported
title_template: Option<String>Template for each created item title
metadata: Option<String>Attach metadata as JSON
blocked_by: Option<String>Comma-separated blocker IDs
json: boolOutput as JSON
Trait Implementations§
Source§impl Args for CollectArgs
impl Args for CollectArgs
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 CollectArgs
impl FromArgMatches for CollectArgs
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 CollectArgs
impl RefUnwindSafe for CollectArgs
impl Send for CollectArgs
impl Sync for CollectArgs
impl Unpin for CollectArgs
impl UnsafeUnpin for CollectArgs
impl UnwindSafe for CollectArgs
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