dcloud ci jobs logsRead one page of a job’s log
IAM ci:GetRunLogsRead
Answers `{ lines, nextCursor, hasMore }`. Pass nextCursor back as `cursor` for the next page; while the job runs, an empty page means no new lines yet.
Synopsis
dcloud ci jobs logs jobId [flags]Arguments
<jobId>Requiredstring
Also accepted as
--job-id. Constraints: uuid
Flags
--afterOptionalnumber
Older clients: the sequence number to read after (lines are numbered from 0). Prefer cursor, which wins when both are given; neither: from the first line
Constraints: integer, min 0
--cursorOptionalstring
nextCursor from the previous page, passed back unchanged; an altered one is refused with 400 (Invalid cursor)
--limitOptionalnumber
Lines per page, 1 to 1000; 500 when omitted. A page also stops at 2 MiB of text (always at least one line)
Constraints: integer, 1-1000
Example
dcloud ci jobs logs jobIdGenerated from the API description, the same one the API checks requests against and the CLI is built from.