summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-04-08 19:41:37 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-04-08 19:41:37 +0200
commitff5e3b4dd718e622d81e02c50786c2ec3d5437ae (patch)
tree9de8bebab5d9d5875744d51f3176d9301fb68007 /src/lib.rs
parentc21d81998d3cf573a4b0333f81c22494906cb111 (diff)
Fill in test for updating description on existing repo
This also isn't implemented yet. Naughty naughty.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7d4d2df..60c5df5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -26,6 +26,13 @@ pub fn run_command(user_input: String) -> Result<ControlFlow<(), ()>, ShackleErr
println!("{table}");
}
+ Ok(ShackleCommand::SetDescription(SetDescriptionArgs {
+ directory,
+ description,
+ })) => {
+ git::set_description(&directory, &description)?;
+ println!("Successfully updated description");
+ }
Ok(ShackleCommand::GitInit(GitInitArgs {
repo_name,
group,