pub struct Args {
pub command: CommandType,
pub check: bool,
pub manifest_path: Option<String>,
pub bump_type: Option<BumpVersionType>,
pub max_retries: u32,
pub project_name: Option<String>,
pub template_type: Option<TemplateType>,
pub model_sub_type: Option<ModelSubType>,
pub component_name: Option<String>,
}Expand description
Parsed command line arguments
Fields§
§command: CommandTypeThe command to execute
check: boolCheck mode for fmt
manifest_path: Option<String>Manifest path for fmt, bump and publish
bump_type: Option<BumpVersionType>Bump type for bump command
max_retries: u32Maximum retry attempts for publish command
project_name: Option<String>Project name for new command
template_type: Option<TemplateType>Template type for template command
model_sub_type: Option<ModelSubType>Model subtype for template command (only when template_type is Model)
component_name: Option<String>Component name for template command
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnsafeUnpin for Args
impl UnwindSafe for Args
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