Skip to main content

hyperlane_cli/config/
struct.rs

1use crate::*;
2
3/// Parsed command line arguments
4#[derive(Clone, Debug)]
5pub struct Args {
6    /// The command to execute
7    pub command: CommandType,
8    /// Check mode for fmt
9    pub check: bool,
10    /// Manifest path for fmt, bump and publish
11    pub manifest_path: Option<String>,
12    /// Bump type for bump command
13    pub bump_type: Option<BumpVersionType>,
14    /// Maximum retry attempts for publish command
15    pub max_retries: u32,
16    /// Project name for new command
17    pub project_name: Option<String>,
18    /// Template type for template command
19    pub template_type: Option<TemplateType>,
20    /// Model subtype for template command (only when template_type is Model)
21    pub model_sub_type: Option<ModelSubType>,
22    /// Component name for template command
23    pub component_name: Option<String>,
24}