diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-03-29 15:55:43 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-03-29 15:55:43 +0200 |
commit | 601c08b20bfb806d78fe92d9830960d1a333d5cf (patch) | |
tree | 28daf075e057595fbd817bf22eef3640aac8bd49 /src/lib.rs | |
parent | ff2a4b09646a8a5949808bfadf31747751831963 (diff) |
Initial implementation of --init group
As the todo list indicates, it needs some security refinement.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,8 @@ pub fn run_command(user_input: String) -> Result<ControlFlow<(), ()>, ShackleErr Ok(ShackleCommand::Exit) => { return Ok(ControlFlow::Break(())); } - Ok(ShackleCommand::GitInit(GitInitArgs { repo_name })) => { - let init_result = git::init(&repo_name)?; + Ok(ShackleCommand::GitInit(GitInitArgs { repo_name, group })) => { + let init_result = git::init(&repo_name, &group)?; println!("Successfully created \"{}\"", init_result.path.display()); } Ok(ShackleCommand::GitUploadPack(upload_pack_args)) => { |