dcloud git files rawServe one file verbatim
IAM git:PullRepositoryRead
Synopsis
dcloud git files raw repoId --path path [flags]Arguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--refOptionalstring
Branch, tag or commit id; the default branch when absent
Constraints: 1-255 chars
--pathRequiredstring
The file's path from the repository root, e.g. src/index.ts
Constraints: 1-1000 chars
--downloadOptionalenum
`1` answers it as an attachment to save; otherwise it is served inline
One of:
0,1
Example
dcloud git files raw repoId --path exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.