read
The read command lets you read all comments in a merge request.

Usage

1
kit mr read [options] [<mergeReqId>]
Copied!
1
Usage:
2
kit mr read [flags] [<mergeReqId>]
3
4
Flags:
5
-d, --date string Set date format (default "Mon Jan _2 15:04:05 2006 -0700")
6
-f, --format string Set output format
7
-h, --help help for read
8
-n, --limit int Limit the number of records returned
9
--no-close-status Hide the close status indicator
10
--reverse Return the result in reversed order
Copied!

Arguments

mergeReqId - The numeric ID or reference name of the merge request. e.g. 1 or refs/heads/merges/1 or merges/1.

Options

    -n, --limit - Limit the number of comments to return.
    --reverse - Reverses the order from descending (latest) to ascending (oldest).
    -d, --date - Provide a different date format.
    -f, --format - Format the output for each merge request. These are the supported verbs:
      %i: Index of the comment
      %a: Author of the comment
      %e: Author email
      %t: Title of the comment
      %c: The body of the comment
      %d: Date of creation
      %H: The full hash of the comment
      %h: The short hash of the comment
      %n: The reference name of the post
      %l: The label attached to the comment
      %as: The assignees attached to the comment
      %r: The short commit hash the current comment is replying to.
      %R: The full commit hash the current comment is replying to.
      %rs: The comment’s reactions.
      %pk: The push key address
      %cl: Flag for the close status of the post (true/false)
    --no-close-status - When a merge request is closed, it prevents the close indicator from being rendered.
    -h, --help - Prints out a help message.

Example

1
kit mr read "1"
Copied!
Last modified 10mo ago