changed git delete to git rm

This commit is contained in:
breadone
2024-07-30 11:43:29 +12:00
parent f0f02a2b60
commit 11374bf8f6
3 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ pub enum GitCommand {
Ls,
/// Delete the specified repository in breadpi.
Delete {
Rm {
#[arg()]
/// Name of the repo
name: Option<String>
@@ -46,7 +46,7 @@ pub async fn handle_git(cmd: &GitCommand) {
match cmd {
GitCommand::Init { name } => { init_repo(name, &session).await; }
GitCommand::Delete { name } => { rm_repo(name, &session).await; }
GitCommand::Rm { name } => { rm_repo(name, &session).await; }
GitCommand::Add { name } => { add_remote_to_repo(name, &session).await; }