pub struct PrdCreateArgs {
pub path: PathBuf,
pub multi: bool,
pub dry_run: bool,
pub priority: Option<PrdPriorityArg>,
pub tag: Vec<String>,
pub draft: bool,
}Fields§
§path: PathBufPath to the PRD markdown file.
multi: boolCreate multiple tasks (one per user story) instead of a single consolidated task.
dry_run: boolPreview generated tasks without inserting into the queue.
priority: Option<PrdPriorityArg>Set priority for generated tasks (low, medium, high, critical).
tag: Vec<String>Add tags to all generated tasks (repeatable).
draft: boolCreate tasks as draft status instead of todo.
Trait Implementations§
Source§impl Args for PrdCreateArgs
impl Args for PrdCreateArgs
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 PrdCreateArgs
impl FromArgMatches for PrdCreateArgs
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 PrdCreateArgs
impl RefUnwindSafe for PrdCreateArgs
impl Send for PrdCreateArgs
impl Sync for PrdCreateArgs
impl Unpin for PrdCreateArgs
impl UnsafeUnpin for PrdCreateArgs
impl UnwindSafe for PrdCreateArgs
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