dcloud git files blob

Read one file as raw text

IAM git:PullRepositoryRead

Synopsis

dcloud git files blob repoId --path path [flags]

Arguments

  • <repoId>Required

    string

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

Flags

  • --refOptional

    string

    Branch, tag or commit id; the default branch when absent

    Constraints: 1-255 chars

  • --pathRequired

    string

    The file's path from the repository root, e.g. src/index.ts

    Constraints: 1-1000 chars

Example

dcloud git files blob repoId --path example

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