Gh-Minimize

GitHub CLI extension to minimize or unminimize issue and pull request comments.
Install
Make sure you have version 2.0 or
newer of the GitHub CLI installed.
gh extension install heaths/gh-minimize
Usage
Minimize or unminimize a comment directly by node ID:
gh minimize --id MDEyOklzc3VlQ29tbWVudDE= --reason off-topic
gh minimize --id MDEyOklzc3VlQ29tbWVudDE= --undo
Filter comments in an issue or pull request by author and/or body regex:
gh minimize 123 --author octocat --body-grep 'obsolete.*context' --reason outdated
gh minimize 123 --author octocat --body-grep 'obsolete.*context' --undo
Use -R / --repo to target another repository in [HOST/]OWNER/REPO format.
Reasons
Valid --reason values:
abuse
duplicate
low-quality
off-topic
outdated
resolved
spam
License
Licensed under the MIT license.