Documentation
WebsiteMineGitHubFaucet
  • Welcome to MakeOS
  • Introduction
    • Install
    • Quick Start
    • Set Up a Private Network
    • Get Test Coins
    • Track a Repository
    • What is MakeOS
    • How it Works
    • Tokenomics ($MAKE)
    • Dilithium (Deprecated)
    • Roadmap
    • Team
  • Concepts
    • Repository
      • Register a Repository
      • Initialize a New Repository
      • Repository Governance
      • Access Control Config
    • Namespace
    • Key
    • Issue Management
    • Merge Request
    • Transactions
      • Register a Repository
      • Send Coins
    • Validator
    • Host
    • Remote
  • JavaScript Console API
    • repo
    • pushkey
    • namespace
    • node
    • user
    • transaction
    • ticket
  • KIT CLI Reference
    • Overview
    • init
    • start
    • console
    • attach
    • key
      • create
      • gen
      • get
      • import
      • list
      • update
    • tx
      • get
    • repo
      • config
      • create
      • hook
      • init
      • vote
    • user
      • send
    • pk
      • register
    • sign
      • commit
      • note
      • tag
    • contributor
      • add
    • issue
      • close
      • create
      • list
      • read
      • reopen
      • status
    • mr
      • checkout
      • close
      • create
      • fetch
      • list
      • read
      • reopen
      • status
Powered by GitBook
On this page
  • Usage
  • Arguments
  • Options
  • Example

Was this helpful?

  1. KIT CLI Reference
  2. mr

read

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

Usage

kit mr read [options] [<mergeReqId>]
Usage:
  kit mr read [flags] [<mergeReqId>]

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 records returned
      --no-close-status   Hide the close status indicator
      --reverse           Return the result in reversed order

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

kit mr read "1"
PreviouslistNextreopen

Last updated 4 years ago

Was this helpful?