Add repos rm/delete command (#609)

This fixes https://gitea.com/gitea/tea/issues/239

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
Reviewed-on: https://gitea.com/gitea/tea/pulls/609
Co-authored-by: Dan Čermák <dcermak@suse.com>
Co-committed-by: Dan Čermák <dcermak@suse.com>
This commit is contained in:
Dan Čermák
2024-07-26 16:18:58 +00:00
committed by techknowlogick
parent 4c0cef090d
commit 723b0553c5
3 changed files with 100 additions and 0 deletions

View File

@ -1173,6 +1173,20 @@ Migrate a repository
**--wiki**: Copy the wiki
### delete, rm
Delete an existing repository
**--force, -f**: Force the deletion and don't ask for confirmation
**--login, -l**="": Use a different Gitea Login. Optional
**--name, -**="": name of the repo
**--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json)
**--owner, -O**="": owner of the repo
## branches, branch, b
Consult branches