@smbcloud / cli / commits / 6182616

fix input name

Seto Elkahfi committed Jun 9, 2025 at 19:20 UTC 6182616fdcc52c35a49cae0e2f4ccda656f79c20
1 file changed +3 -2
crates/cli/src/project/crud_create.rs
+3 -2
@@ -27,12 +27,12 @@ pub async fn process_project_init(env: Environment) -> Result<CommandResult> {
27 }
28 };
29 let repository = match Input::<String>::with_theme(&ColorfulTheme::default())
30 - .with_prompt("Project name")
30 + .with_prompt("Repository name")
31 .interact()
32 {
33 Ok(project_name) => project_name,
34 Err(_) => {
35 - return Err(anyhow!(fail_message("Invalid project name.")));
35 + return Err(anyhow!(fail_message("Invalid repository name.")));
36 }
37 };
38 let description = match Input::<String>::with_theme(&ColorfulTheme::default())
@@ -91,6 +91,7 @@ description = "{description}"
91 [project]
92 id = 1
93 name = "{repository_name}"
94 +repository = "{repository_name}"
95 description = "{description}"
96 created_at = "{now}"
97 updated_at = "{now}"