hyperlane-cli 21.14.0

A command-line tool for Hyperlane framework.
Documentation
use super::*;

/// Parsed command line arguments
///
/// `hyperlane-cli` ships both a library and a `hyperlane` binary; the binary
/// is a separate crate that consumes this one, so the read path must stay
/// `pub` (ยง17.14 does not recall published API).
#[derive(Clone, Data, Debug)]
pub struct Args {
    /// The command to execute
    pub command: CommandType,
    /// Project name for new command
    #[get(type(clone))]
    pub project_name: Option<String>,
    /// Template type for template command
    #[get(type(clone))]
    pub template_type: Option<TemplateType>,
    /// Model subtype for template command (only when template_type is Model)
    #[get(type(clone))]
    pub model_sub_type: Option<ModelSubType>,
    /// Component name for template command
    #[get(type(clone))]
    pub component_name: Option<String>,
}