gh-sweep
v1.0.5
Published
Interactive CLI to review and clean up your GitHub repos
Readme
Sweep
Quickly review and clean up your GitHub repos from the terminal. Flip through your repos one by one, archiving or deleting as you go.
Install
npx gh-sweepOr install globally:
npm install -g gh-sweepAuthentication
gh-sweep tries to get a token from the GitHub CLI first (gh auth token), then falls back to the GITHUB_TOKEN environment variable.
Usage
Run gh-sweep and use the keyboard to navigate:
| Key | Action |
|-----|--------|
| ↑ ↓ | Navigate the repo list |
| v | Open repo in browser |
| a | Archive repo |
| u | Unarchive repo |
| d | Delete repo |
| s | Skip repo |
| f | Filter repos (all, public, private, sources, forks, archived) |
| r | Reload repo list |
| q | Quit |
Releasing
npm version patch # or minor, major
git push --follow-tagsThen create a GitHub release from the tag to trigger the npm publish.
License
MIT
Built with Claude Code
