Skip to main content

hyperlane_cli/template/
struct.rs

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