fix: complete CLI.md

Signed-off-by: Leonard Vimond <leonard.vimond.e@thalesdigital.io>
This commit is contained in:
Leonard Vimond 2024-04-16 14:38:19 +02:00
parent 3b4ca724f1
commit 5f626ecd1d
1 changed files with 60 additions and 5 deletions

View File

@ -153,11 +153,6 @@ List, create and update issues
**--until, -u**="": Filter by activity before this date
## branches, branch, b
Consult branches
### list, ls
List issues of the repository
@ -278,6 +273,66 @@ Change state of one ore more issues to 'closed'
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
## branches, branch, b
List, protect or unprotect branches
**--comments**: Whether to display comments (will prompt if not provided & run interactively)
**--fields value, -f**="": Comma-separated list of fields to print. Available values:
name,protected,user-can-merge,user-can-push,protection
(default: "name,protected,user-can-merge,user-can-push")
**--page, -p**="": specify page, default is 1
**--limit, --lm**="": specify limit of items per page
**--login, -l**="": Use a different Gitea Login. Optional
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
**--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json)
### list, ls
**--fields value, -f**="": Comma-separated list of fields to print. Available values:
name,protected,user-can-merge,user-can-push,protection
(default: "name,protected,user-can-merge,user-can-push")
**--page, -p**="": specify page, default is 1
**--limit, --lm**="": specify limit of items per page
**--login, -l**="": Use a different Gitea Login. Optional
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
**--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json)
### protect, P
Protect one or more branches against push/pull
**--login, -l**="": Use a different Gitea Login. Optional
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
### unprotect, U
Unprotect one or more branches against push/pull
**--login, -l**="": Use a different Gitea Login. Optional
**--remote, -R**="": Discover Gitea login from remote. Optional
**--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional
## pulls, pull, pr
Manage and checkout pull requests