dcloud git files highlightedOne file as lines with syntax highlighting
IAM git:PullRepositoryRead
`lines` is the text split into lines; `html` one highlighted HTML fragment per line (both themes as CSS variables), or null when the file is over 512 KiB or has no known language.
Synopsis
dcloud git files highlighted 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
Example
dcloud git files highlighted repoId --path exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.