changed git delete to git rm
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user