diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-04-07 11:50:57 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-04-07 11:50:57 +0200 |
commit | 108fef99d19ade71013dc25562e3c3c3e23347ef (patch) | |
tree | fd2082991d11fdbfe00c4345c0daec49e070c999 /src/lib.rs | |
parent | d7ac6f915079c2385be902106f97b994f5f65bc5 (diff) |
Failing test for setting description
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -26,8 +26,12 @@ pub fn run_command(user_input: String) -> Result<ControlFlow<(), ()>, ShackleErr println!("{table}"); } - Ok(ShackleCommand::GitInit(GitInitArgs { repo_name, group })) => { - let init_result = git::init(&repo_name, &group)?; + Ok(ShackleCommand::GitInit(GitInitArgs { + repo_name, + group, + description, + })) => { + let init_result = git::init(&repo_name, &group, &description)?; println!("Successfully created \"{}\"", init_result.path.display()); } Ok(ShackleCommand::GitUploadPack(upload_pack_args)) => { |