dcloud git pulls apply-suggestionCommit a review comment's suggested change to the pull request's branch
IAM git:PushRepositoryChanges stateAsks before it deletes (-y skips)
The comment must be on a line of the new side and carry a ```suggestion block; it replaces that line (empty deletes it). Refused once the branch has moved since the comment (409), and subject to branch protection like a push. Resolves the thread.
Synopsis
dcloud git pulls apply-suggestion repoId prNumber commentIdArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid<prNumber>Requirednumber
Also accepted as
--pr-number. Constraints: integer, min 1<commentId>Requiredstring
Also accepted as
--comment-id. Constraints: uuid
Example
dcloud git pulls apply-suggestion repoId prNumber commentIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.