Skip to main content

hyperlane_cli/new/
impl.rs

1use crate::*;
2
3impl NewProjectConfig {
4    /// Create a new project configuration with default template
5    ///
6    /// # Arguments
7    ///
8    /// - `String`: Name of the project
9    ///
10    /// # Returns
11    ///
12    /// - `Self`: Configuration instance
13    pub fn new(project_name: String) -> Self {
14        Self {
15            project_name,
16            template_url: "https://github.com/hyperlane-dev/hyperlane-quick-start".to_string(),
17        }
18    }
19}