Skip to content

get approval-comments

get approval-comments -

Notes

Expected Output:

YAML/JSON/TOML representation of PR approval comments including: - module: Module moniker - version: Version number or "Unreleased" - total_prs: Number of PRs with spec files - total_approvals: Total number of approval reviews - approvals: Array of approval reviews with PR details

If version is specified, returns approvals for that version.

Bundle Modules

For container/bundle modules with dependencies, approvals are aggregated from all dependent modules.

Example: ext-eac depends on eac-commands and r2r-cli:

r2r eac get approval-comments ext-eac --as-json

Returns approvals for PRs containing spec files from:

  • specs/eac-commands/ (dependency)
  • specs/r2r-cli/ (dependency)
  • specs/ext-eac/ (if any)

Regular modules only return approvals from their own specs/<module>/ directory.

Requirements

  • GitHub CLI (gh): Command degrades gracefully if unavailable
  • Authentication: gh auth login required

See Also


Tutorials | How-to Guides | Explanation | Reference

You are here: Reference — information-oriented technical descriptions of the system.