gh-sweep 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/dist/index.js +4131 -0
- package/package.json +27 -0
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Sweep
|
|
2
|
+
|
|
3
|
+
Quickly review and clean up your GitHub repos from the terminal. Flip through your repos one by one, archiving or deleting as you go.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
npx gh-sweep
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or install globally:
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
npm install -g gh-sweep
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Authentication
|
|
18
|
+
|
|
19
|
+
gh-sweep tries to get a token from the GitHub CLI first (`gh auth token`), then falls back to the `GITHUB_TOKEN` environment variable.
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
Run `gh-sweep` and use the keyboard to navigate:
|
|
24
|
+
|
|
25
|
+
| Key | Action |
|
|
26
|
+
|-----|--------|
|
|
27
|
+
| `↑` `↓` | Navigate the repo list |
|
|
28
|
+
| `v` | Open repo in browser |
|
|
29
|
+
| `a` | Archive repo |
|
|
30
|
+
| `u` | Unarchive repo |
|
|
31
|
+
| `d` | Delete repo |
|
|
32
|
+
| `s` | Skip repo |
|
|
33
|
+
| `f` | Filter repos (all, public, private, sources, forks, archived) |
|
|
34
|
+
| `r` | Reload repo list |
|
|
35
|
+
| `q` | Quit |
|
|
36
|
+
|
|
37
|
+
## License
|
|
38
|
+
|
|
39
|
+
MIT
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
Built with [Claude Code](https://claude.ai/code)
|