read
The read command lets you read all comments in an issue.

Usage

1
kit issue list [options]
Copied!
1
Usage:
2
kit issue read [flags] [<issueId>]
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 issues to returned
9
--no-close-status Hide the close status indicator
10
--reverse Return the result in reversed order
Copied!

Arguments

issueId - The numeric ID or reference name of the issue. e.g. 1 or refs/heads/issue/1 or issue/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 issue. 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 issue
    • %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 an issue is closed, it prevents the close indicator from being rendered.
  • -h, --help - Prints out a help message.

Example

1
kit issue read "1"
Copied!
Last modified 11mo ago