From 17640d83f01016142f9200138a591276bb80e157 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 27 Nov 2024 11:52:18 +0000 Subject: feat(init): make description optional to make the onboarding experience smoother --- src/bin/ngit/sub_commands/init.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs index 9f5093e..d0b4b6d 100644 --- a/src/bin/ngit/sub_commands/init.rs +++ b/src/bin/ngit/sub_commands/init.rs @@ -155,6 +155,7 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { None => Interactor::default().input( PromptInputParms::default() .with_prompt("repo description (one sentance)") + .optional() .with_default(if let Some(repo_ref) = &repo_ref { repo_ref.description.clone() } else { -- cgit v1.2.3