read

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

Usage

kit issue list [options]
Usage:
  kit issue read [flags] [<issueId>]

Flags:
  -d, --date string       Set date format (default "Mon Jan _2 15:04:05 2006 -0700")
  -f, --format string     Set output format
  -h, --help              help for read
  -n, --limit int         Limit the number of issues to returned
      --no-close-status   Hide the close status indicator
      --reverse           Return the result in reversed order

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

kit issue read "1"

Last updated