Skip to main content

hyperlane_cli/template/
struct.rs

1use super::*;
2
3/// Configuration for template generation
4#[derive(Clone, Data, Debug)]
5pub struct TemplateConfig {
6    /// Type of template component to generate
7    pub(crate) template_type: TemplateType,
8    /// Name of the component
9    pub(crate) component_name: String,
10    /// Model subtype (only used when template_type is Model)
11    pub(crate) model_sub_type: Option<ModelSubType>,
12    /// Base directory for generation (default: ./application)
13    pub(crate) base_directory: String,
14}