dcloud git files archive

Download the tree at a ref as an archive

IAM git:PullRepositoryRead

Synopsis

dcloud git files archive repoId --ref ref [flags]

Arguments

  • <repoId>Required

    string

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

Flags

  • --refRequired

    string

    The branch, tag or commit id whose files to pack

    Constraints: 1-255 chars

  • --formatOptional

    enum

    The archive format; zip when absent

    One of: zip, tar.gz

Example

dcloud git files archive repoId --ref example

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