dcloud git pulls mark-file-viewed

Mark one file viewed, or clear the mark, for yourself

IAM git:MarkFilesViewedChanges state

Synopsis

dcloud git pulls mark-file-viewed repoId prNumber --path path --viewed viewed

Arguments

  • <repoId>Required

    string

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

  • <prNumber>Required

    number

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

Flags

  • --pathRequired

    string

    A changed file's path at the head

    Constraints: 1-1000 chars

  • --viewedRequired

    boolean (--viewed / --no-viewed)

    true marks it viewed, false clears the mark

Example

dcloud git pulls mark-file-viewed repoId prNumber --path example --viewed

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