@kaynooo/cli-workspace 0.3.0 → 0.5.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 +2 -2
- package/dist/audit-cli.js +232 -92
- package/dist/cli.js +341 -178
- package/dist/repos-cli.js +175 -100
- package/dist/sweep-cli.js +229 -109
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ bun add -g @kaynooo/cli-workspace
|
|
|
8
8
|
|
|
9
9
|
## repos
|
|
10
10
|
|
|
11
|
-
`repos` lists the git repositories under a workspace folder (`~/Workspace` by default) that need attention: dirty files, commits not pushed, an upstream ahead of the branch, commits since the latest tag.
|
|
11
|
+
`repos` lists the git repositories under a workspace folder (the configured workspace folder, `~/Workspace` by default) that need attention: dirty files, commits not pushed, an upstream ahead of the branch, commits since the latest tag.
|
|
12
12
|
|
|
13
13
|
| Command | What it does |
|
|
14
14
|
| --- | --- |
|
|
@@ -36,7 +36,7 @@ Without `--fetch` the ahead and behind counts are those of the last fetch. The w
|
|
|
36
36
|
|
|
37
37
|
| Command | What it does |
|
|
38
38
|
| --- | --- |
|
|
39
|
-
| `sweep [root]` | lists `node_modules`, `.output`, `dist`, `build`, `target` (beside a `Cargo.toml`), the caches (per project `.nuxt`, `.next`, `.turbo`, `.svelte-kit`, `node_modules/.cache`, listed only when `node_modules` is not; global `~/.bun/install/cache`, `~/.npm/_cacache`, `~/.cache/{pip,uv,ms-playwright,puppeteer,go-build,typescript}`, `~/.cargo/registry`, exact paths only, listed only when no root is given or with `--only caches`; a root narrows the scan to its own projects) and `.worktrees/*` and `.claude/worktrees/*` under root (`~/Workspace` by default, three levels down) with size and the age of the repo's last commit; deletes nothing |
|
|
39
|
+
| `sweep [root]` | lists `node_modules`, `.output`, `dist`, `build`, `target` (beside a `Cargo.toml`), the caches (per project `.nuxt`, `.next`, `.turbo`, `.svelte-kit`, `node_modules/.cache`, listed only when `node_modules` is not; global `~/.bun/install/cache`, `~/.npm/_cacache`, `~/.cache/{pip,uv,ms-playwright,puppeteer,go-build,typescript}`, `~/.cargo/registry`, exact paths only, listed only when no root is given or with `--only caches`; a root narrows the scan to its own projects) and `.worktrees/*` and `.claude/worktrees/*` under root (the configured workspace folder, `~/Workspace` by default, three levels down) with size and the age of the repo's last commit; deletes nothing |
|
|
40
40
|
| `sweep --apply` | deletes what is listed as removable after a confirm showing the total, read from the terminal |
|
|
41
41
|
| `--yes` | with `--apply`, skip the confirm; without it, `--apply` refuses off a terminal |
|
|
42
42
|
| `--older <duration>`, `--min <size>` | only the entries whose repo last committed longer ago (`30d`) or that weigh at least this much (`500K`, `10M`, `1G`) |
|