gh-inbox-clean
v1.0.0
Published
CLI to cleanup GitHub PR notifications you no longer need to review
Readme
gh-inbox-clean
CLI to cleanup GitHub PR notifications you no longer need to review. Marks notifications as done for PRs that are closed or where you are no longer a requested reviewer.
Prerequisites
You must have the GitHub CLI installed and authenticated:
gh auth loginUsage
npx gh-inbox-cleanor
npx -y gh-inbox-cleanif you want to bypass confirmation
Options
-h, --help Show help message
-v, --version Show version number
-d, --dry-run Preview what would be cleared without making changes
-t, --teams Comma-separated team slugs to keep notifications forExamples
Preview what would be cleared:
npx gh-inbox-clean --dry-runKeep notifications where specific teams are requested reviewers:
npx gh-inbox-clean --teams my-team,other-team