dcloud git pulls comment

Comment on a pull request or on a line of it

IAM git:ReviewPullRequestChanges state

Synopsis

dcloud git pulls comment repoId prNumber --body body [flags]

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

  • <prNumber>Required

    number

    Also accepted as --pr-number. Constraints: integer, min 1

Flags

  • --bodyRequired

    string

    The comment (Markdown)

    Constraints: 1-20000 chars

  • --reply-to-idOptional

    string

    The comment this one answers, in its thread

    Constraints: uuid

  • --file-pathOptional

    string

    For a comment on a line: the changed file; give line and side with it

    Constraints: 1-1000 chars

  • --lineOptional

    number

    For a comment on a line: the line number in the file on `side`

    Constraints: integer, min 1

  • --sideOptional

    enum

    For a comment on a line: `new` is the head version, `old` the version before

    One of: old, new

Example

dcloud git pulls comment repoId prNumber --body example

Generated from the API description, the same one the API checks requests against and the CLI is built from.