dcloud git files archiveDownload the tree at a ref as an archive
IAM git:PullRepositoryRead
Synopsis
dcloud git files archive repoId --ref ref [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--refRequiredstring
The branch, tag or commit id whose files to pack
Constraints: 1-255 chars
--formatOptionalenum
The archive format; zip when absent
One of:
zip,tar.gz
Example
dcloud git files archive repoId --ref exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.