diff --git a/docs/CLI.md b/docs/CLI.md index 2363574b..ecb234fb 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -415,6 +415,8 @@ Create a pull-request Change state of one or more pull requests to 'closed' +**--confirm, -y**: confirm close without prompting + **--login, -l**="": Use a different Gitea Login. Optional **--output, -o**="": Output format. (simple, table, csv, tsv, yaml, json) @@ -515,6 +517,8 @@ Request changes to a pull request Merge a pull request +**--confirm, -y**: confirm merge without prompting + **--login, -l**="": Use a different Gitea Login. Optional **--message, -m**="": Merge commit message @@ -581,6 +585,78 @@ Unresolve a review comment on a pull request **--repo, -r**="": Override local repository path or gitea repository slug to interact with. Optional +### cicd, ci + +CI/CD operations for pull requests + +#### status + +Show CI/CD status for pull request + +**--failing-only**: Show only failing checks + +**--timeout**="": Timeout for watching in seconds (default: 300) + +**--verbose**: Show detailed status information + +**--watch**: Watch status changes in real-time + +#### wait + +Wait for CI/CD checks to complete + +**--fail-fast**: Exit immediately on first failure + +**--interval**="": Check interval in seconds (default: 30) + +**--timeout**="": Timeout for waiting in seconds (default: 1800) + +**--verbose**: Show detailed progress information + +#### checks + +List all CI/CD checks for pull request + +**--format**="": Output format: table, json, yaml (default: "table") + +**--show-urls**: Show target URLs for checks + +**--state**="": Filter by check state: pending, success, error, failure, warning (default: "all") + +#### trigger, build + +Trigger CI/CD build for pull request + +**--context**="": Specific CI context to trigger (optional) + +**--force**: Force trigger even if checks are already running + +**--timeout**="": Timeout for waiting in seconds (default: 1800) + +**--wait**: Wait for the triggered build to complete + +#### retry + +Retry failed CI/CD checks for pull request + +**--context**="": Specific failed check context to retry (optional) + +**--timeout**="": Timeout for waiting in seconds (default: 1800) + +**--wait**: Wait for the retried checks to complete + +#### pipeline, pipe + +Manage CI/CD pipeline for pull request + +**--filter**="": Filter pipeline stages: build, test, deploy, all (default: "all") + +**--logs**: Show pipeline logs (if available) + +**--summary**: Show pipeline summary + +**--timeline**: Show pipeline execution timeline + ## labels, label Manage issue labels