pub struct CreateArgs {Show 18 fields
pub title: Option<String>,
pub title_flag: Option<String>,
pub file: Option<PathBuf>,
pub bead_type: Option<BeadType>,
pub priority: Option<Priority>,
pub description: Option<String>,
pub body: Option<String>,
pub assignee: Option<String>,
pub labels: Vec<String>,
pub label: Vec<String>,
pub design: Option<String>,
pub acceptance: Option<String>,
pub external_ref: Option<String>,
pub id: Option<String>,
pub parent: Option<String>,
pub deps: Vec<String>,
pub estimate: Option<u32>,
pub force: bool,
}Fields§
§title: Option<String>Title (positional).
title_flag: Option<String>Title (compat: --title).
file: Option<PathBuf>Create multiple issues from a markdown file.
bead_type: Option<BeadType>Issue type.
priority: Option<Priority>Priority 0-4 or words like “high”.
description: Option<String>Description.
body: Option<String>Alias for –description (GitHub CLI convention).
assignee: Option<String>Assignee (compat; only supports current actor).
labels: Vec<String>Labels (comma-separated or repeat).
label: Vec<String>Alias for –labels.
design: Option<String>Design text.
acceptance: Option<String>Acceptance criteria text.
external_ref: Option<String>External reference (e.g., “gh-9”, “jira-ABC”).
id: Option<String>Explicit issue ID (partitioning).
parent: Option<String>Parent bead id (adds parent dep).
deps: Vec<String>Dependencies (repeat or comma-separated): “type:id” or “id” (defaults to blocks).
estimate: Option<u32>Time estimate in minutes.
force: boolNo-op (compat). beads-rs doesn’t require forcing.
Trait Implementations§
Source§impl Args for CreateArgs
impl Args for CreateArgs
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 Debug for CreateArgs
impl Debug for CreateArgs
Source§impl FromArgMatches for CreateArgs
impl FromArgMatches for CreateArgs
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 CreateArgs
impl RefUnwindSafe for CreateArgs
impl Send for CreateArgs
impl Sync for CreateArgs
impl Unpin for CreateArgs
impl UnsafeUnpin for CreateArgs
impl UnwindSafe for CreateArgs
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