@hyperdrive.bot/gut 0.1.14-alpha.0 → 0.1.15
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 +103 -1
- package/package.json +2 -2
- package/oclif.manifest.json +0 -2418
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ $ npm install -g @hyperdrive.bot/gut
|
|
|
18
18
|
$ gut COMMAND
|
|
19
19
|
running command...
|
|
20
20
|
$ gut (--version)
|
|
21
|
-
@hyperdrive.bot/gut/0.1.
|
|
21
|
+
@hyperdrive.bot/gut/0.1.15-alpha.0 linux-x64 node-v22.22.2
|
|
22
22
|
$ gut --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ gut COMMAND
|
|
@@ -72,6 +72,11 @@ USAGE
|
|
|
72
72
|
* [`gut used-by [ENTITY]`](#gut-used-by-entity)
|
|
73
73
|
* [`gut workspace ACTION`](#gut-workspace-action)
|
|
74
74
|
* [`gut worktree create NAME`](#gut-worktree-create-name)
|
|
75
|
+
* [`gut worktree gc`](#gut-worktree-gc)
|
|
76
|
+
* [`gut worktree list`](#gut-worktree-list)
|
|
77
|
+
* [`gut worktree prune`](#gut-worktree-prune)
|
|
78
|
+
* [`gut worktree remove NAME`](#gut-worktree-remove-name)
|
|
79
|
+
* [`gut worktree status [NAME]`](#gut-worktree-status-name)
|
|
75
80
|
|
|
76
81
|
## `gut add [PATH]`
|
|
77
82
|
|
|
@@ -1215,4 +1220,101 @@ EXAMPLES
|
|
|
1215
1220
|
|
|
1216
1221
|
GUT_WORKTREE_DIR=/tmp/gut-worktrees gut worktree create feature/ci-run
|
|
1217
1222
|
```
|
|
1223
|
+
|
|
1224
|
+
## `gut worktree gc`
|
|
1225
|
+
|
|
1226
|
+
Remove worktrees older than a given duration (garbage collection)
|
|
1227
|
+
|
|
1228
|
+
```
|
|
1229
|
+
USAGE
|
|
1230
|
+
$ gut worktree gc -o <value> [-n] [-f]
|
|
1231
|
+
|
|
1232
|
+
FLAGS
|
|
1233
|
+
-f, --force Remove even worktrees with uncommitted changes
|
|
1234
|
+
-n, --dry-run List candidates without removing anything
|
|
1235
|
+
-o, --older-than=<value> (required) Duration threshold (e.g. '7d', '24h', '30m', '90s')
|
|
1236
|
+
|
|
1237
|
+
DESCRIPTION
|
|
1238
|
+
Remove worktrees older than a given duration (garbage collection)
|
|
1239
|
+
|
|
1240
|
+
EXAMPLES
|
|
1241
|
+
$ gut worktree gc --older-than 7d
|
|
1242
|
+
|
|
1243
|
+
$ gut worktree gc --older-than 14d --force
|
|
1244
|
+
|
|
1245
|
+
$ gut worktree gc --older-than 7d --dry-run
|
|
1246
|
+
```
|
|
1247
|
+
|
|
1248
|
+
## `gut worktree list`
|
|
1249
|
+
|
|
1250
|
+
List all active worktrees with metadata and staleness detection
|
|
1251
|
+
|
|
1252
|
+
```
|
|
1253
|
+
USAGE
|
|
1254
|
+
$ gut worktree list
|
|
1255
|
+
|
|
1256
|
+
DESCRIPTION
|
|
1257
|
+
List all active worktrees with metadata and staleness detection
|
|
1258
|
+
|
|
1259
|
+
EXAMPLES
|
|
1260
|
+
$ gut worktree list
|
|
1261
|
+
```
|
|
1262
|
+
|
|
1263
|
+
## `gut worktree prune`
|
|
1264
|
+
|
|
1265
|
+
Remove worktree records whose paths no longer exist on disk
|
|
1266
|
+
|
|
1267
|
+
```
|
|
1268
|
+
USAGE
|
|
1269
|
+
$ gut worktree prune
|
|
1270
|
+
|
|
1271
|
+
DESCRIPTION
|
|
1272
|
+
Remove worktree records whose paths no longer exist on disk
|
|
1273
|
+
|
|
1274
|
+
EXAMPLES
|
|
1275
|
+
$ gut worktree prune
|
|
1276
|
+
```
|
|
1277
|
+
|
|
1278
|
+
## `gut worktree remove NAME`
|
|
1279
|
+
|
|
1280
|
+
Remove a worktree and all entity worktrees
|
|
1281
|
+
|
|
1282
|
+
```
|
|
1283
|
+
USAGE
|
|
1284
|
+
$ gut worktree remove NAME [-f]
|
|
1285
|
+
|
|
1286
|
+
ARGUMENTS
|
|
1287
|
+
NAME Worktree name to remove
|
|
1288
|
+
|
|
1289
|
+
FLAGS
|
|
1290
|
+
-f, --force Remove even with uncommitted changes
|
|
1291
|
+
|
|
1292
|
+
DESCRIPTION
|
|
1293
|
+
Remove a worktree and all entity worktrees
|
|
1294
|
+
|
|
1295
|
+
EXAMPLES
|
|
1296
|
+
$ gut worktree remove workflow/batch
|
|
1297
|
+
|
|
1298
|
+
$ gut worktree remove workflow/batch --force
|
|
1299
|
+
```
|
|
1300
|
+
|
|
1301
|
+
## `gut worktree status [NAME]`
|
|
1302
|
+
|
|
1303
|
+
Show per-entity git status for worktrees
|
|
1304
|
+
|
|
1305
|
+
```
|
|
1306
|
+
USAGE
|
|
1307
|
+
$ gut worktree status [NAME]
|
|
1308
|
+
|
|
1309
|
+
ARGUMENTS
|
|
1310
|
+
NAME Worktree name (shows all if omitted)
|
|
1311
|
+
|
|
1312
|
+
DESCRIPTION
|
|
1313
|
+
Show per-entity git status for worktrees
|
|
1314
|
+
|
|
1315
|
+
EXAMPLES
|
|
1316
|
+
$ gut worktree status
|
|
1317
|
+
|
|
1318
|
+
$ gut worktree status workflow/deploy-batch
|
|
1319
|
+
```
|
|
1218
1320
|
<!-- commandsstop -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperdrive.bot/gut",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "Git Unified Tooling - Enhanced git with workspace intelligence for entity-based organization",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -93,4 +93,4 @@
|
|
|
93
93
|
"access": "public",
|
|
94
94
|
"registry": "https://registry.npmjs.org/"
|
|
95
95
|
}
|
|
96
|
-
}
|
|
96
|
+
}
|