@hyperdrive.bot/gut 0.1.3 → 0.1.6
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 +1 -779
- package/bin/run.js +5 -0
- package/package.json +10 -10
- package/bin/run +0 -5
- package/dist/base-command.d.ts +0 -21
- package/dist/base-command.js +0 -110
- package/dist/commands/add.d.ts +0 -13
- package/dist/commands/add.js +0 -73
- package/dist/commands/affected.d.ts +0 -23
- package/dist/commands/affected.js +0 -326
- package/dist/commands/audit.d.ts +0 -33
- package/dist/commands/audit.js +0 -593
- package/dist/commands/back.d.ts +0 -6
- package/dist/commands/back.js +0 -29
- package/dist/commands/commit.d.ts +0 -11
- package/dist/commands/commit.js +0 -113
- package/dist/commands/context.d.ts +0 -6
- package/dist/commands/context.js +0 -36
- package/dist/commands/contexts.d.ts +0 -7
- package/dist/commands/contexts.js +0 -92
- package/dist/commands/deps.d.ts +0 -10
- package/dist/commands/deps.js +0 -104
- package/dist/commands/entity/add.d.ts +0 -16
- package/dist/commands/entity/add.js +0 -105
- package/dist/commands/entity/clone-all.d.ts +0 -17
- package/dist/commands/entity/clone-all.js +0 -135
- package/dist/commands/entity/clone.d.ts +0 -15
- package/dist/commands/entity/clone.js +0 -109
- package/dist/commands/entity/list.d.ts +0 -11
- package/dist/commands/entity/list.js +0 -82
- package/dist/commands/entity/remove.d.ts +0 -12
- package/dist/commands/entity/remove.js +0 -58
- package/dist/commands/focus.d.ts +0 -19
- package/dist/commands/focus.js +0 -139
- package/dist/commands/graph.d.ts +0 -18
- package/dist/commands/graph.js +0 -238
- package/dist/commands/init.d.ts +0 -11
- package/dist/commands/init.js +0 -84
- package/dist/commands/insights.d.ts +0 -21
- package/dist/commands/insights.js +0 -434
- package/dist/commands/patterns.d.ts +0 -40
- package/dist/commands/patterns.js +0 -412
- package/dist/commands/pull.d.ts +0 -11
- package/dist/commands/pull.js +0 -121
- package/dist/commands/push.d.ts +0 -11
- package/dist/commands/push.js +0 -101
- package/dist/commands/quick-setup.d.ts +0 -20
- package/dist/commands/quick-setup.js +0 -422
- package/dist/commands/recent.d.ts +0 -9
- package/dist/commands/recent.js +0 -55
- package/dist/commands/related.d.ts +0 -23
- package/dist/commands/related.js +0 -257
- package/dist/commands/repos.d.ts +0 -14
- package/dist/commands/repos.js +0 -185
- package/dist/commands/stack.d.ts +0 -10
- package/dist/commands/stack.js +0 -83
- package/dist/commands/status.d.ts +0 -14
- package/dist/commands/status.js +0 -246
- package/dist/commands/sync.d.ts +0 -11
- package/dist/commands/sync.js +0 -142
- package/dist/commands/unfocus.d.ts +0 -6
- package/dist/commands/unfocus.js +0 -23
- package/dist/commands/used-by.d.ts +0 -10
- package/dist/commands/used-by.js +0 -111
- package/dist/commands/workspace.d.ts +0 -20
- package/dist/commands/workspace.js +0 -365
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -5
- package/dist/models/entity.model.d.ts +0 -81
- package/dist/models/entity.model.js +0 -2
- package/dist/services/config.service.d.ts +0 -34
- package/dist/services/config.service.js +0 -230
- package/dist/services/entity.service.d.ts +0 -19
- package/dist/services/entity.service.js +0 -130
- package/dist/services/focus.service.d.ts +0 -70
- package/dist/services/focus.service.js +0 -587
- package/dist/services/git.service.d.ts +0 -37
- package/dist/services/git.service.js +0 -180
- package/dist/utils/display.d.ts +0 -25
- package/dist/utils/display.js +0 -150
- package/dist/utils/filesystem.d.ts +0 -32
- package/dist/utils/filesystem.js +0 -220
- package/dist/utils/index.d.ts +0 -13
- package/dist/utils/index.js +0 -18
- package/dist/utils/validation.d.ts +0 -22
- package/dist/utils/validation.js +0 -196
- package/oclif.manifest.json +0 -1463
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.5 linux-x64 node-v24.13.0
|
|
22
22
|
$ gut --help [COMMAND]
|
|
23
23
|
USAGE
|
|
24
24
|
$ gut COMMAND
|
|
@@ -27,783 +27,5 @@ USAGE
|
|
|
27
27
|
<!-- usagestop -->
|
|
28
28
|
# Commands
|
|
29
29
|
<!-- commands -->
|
|
30
|
-
* [`gut add [PATH]`](#gut-add-path)
|
|
31
|
-
* [`gut affected [ENTITY]`](#gut-affected-entity)
|
|
32
|
-
* [`gut audit`](#gut-audit)
|
|
33
|
-
* [`gut back`](#gut-back)
|
|
34
|
-
* [`gut commit`](#gut-commit)
|
|
35
|
-
* [`gut context`](#gut-context)
|
|
36
|
-
* [`gut contexts`](#gut-contexts)
|
|
37
|
-
* [`gut deps [ENTITY]`](#gut-deps-entity)
|
|
38
|
-
* [`gut entity add TYPE NAME`](#gut-entity-add-type-name)
|
|
39
|
-
* [`gut entity clone NAME`](#gut-entity-clone-name)
|
|
40
|
-
* [`gut entity clone-all`](#gut-entity-clone-all)
|
|
41
|
-
* [`gut entity list`](#gut-entity-list)
|
|
42
|
-
* [`gut entity remove NAME`](#gut-entity-remove-name)
|
|
43
|
-
* [`gut focus [ENTITYTYPEORNAME] [ENTITYNAME]`](#gut-focus-entitytypeorname-entityname)
|
|
44
|
-
* [`gut graph`](#gut-graph)
|
|
45
|
-
* [`gut help [COMMAND]`](#gut-help-command)
|
|
46
|
-
* [`gut init`](#gut-init)
|
|
47
|
-
* [`gut insights`](#gut-insights)
|
|
48
|
-
* [`gut patterns`](#gut-patterns)
|
|
49
|
-
* [`gut pull`](#gut-pull)
|
|
50
|
-
* [`gut push`](#gut-push)
|
|
51
|
-
* [`gut quick-setup`](#gut-quick-setup)
|
|
52
|
-
* [`gut recent`](#gut-recent)
|
|
53
|
-
* [`gut related [ENTITY]`](#gut-related-entity)
|
|
54
|
-
* [`gut repos`](#gut-repos)
|
|
55
|
-
* [`gut stack`](#gut-stack)
|
|
56
|
-
* [`gut status`](#gut-status)
|
|
57
|
-
* [`gut sync`](#gut-sync)
|
|
58
|
-
* [`gut unfocus`](#gut-unfocus)
|
|
59
|
-
* [`gut used-by [ENTITY]`](#gut-used-by-entity)
|
|
60
|
-
* [`gut workspace ACTION`](#gut-workspace-action)
|
|
61
30
|
|
|
62
|
-
## `gut add [PATH]`
|
|
63
|
-
|
|
64
|
-
Stage changes in focused entities
|
|
65
|
-
|
|
66
|
-
```
|
|
67
|
-
USAGE
|
|
68
|
-
$ gut add [PATH] [-A] [-p]
|
|
69
|
-
|
|
70
|
-
ARGUMENTS
|
|
71
|
-
PATH [default: .] Path(s) to stage
|
|
72
|
-
|
|
73
|
-
FLAGS
|
|
74
|
-
-A, --all Stage all changes (equivalent to git add -A)
|
|
75
|
-
-p, --patch Interactive staging
|
|
76
|
-
|
|
77
|
-
DESCRIPTION
|
|
78
|
-
Stage changes in focused entities
|
|
79
|
-
|
|
80
|
-
EXAMPLES
|
|
81
|
-
$ gut add
|
|
82
|
-
|
|
83
|
-
$ gut add .
|
|
84
|
-
|
|
85
|
-
$ gut add src/
|
|
86
|
-
|
|
87
|
-
$ gut add --all
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## `gut affected [ENTITY]`
|
|
91
|
-
|
|
92
|
-
Detect entities potentially affected by changes in current focus
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
USAGE
|
|
96
|
-
$ gut affected [ENTITY] [-s <value>] [--include-tests] [--include-docs] [-v]
|
|
97
|
-
|
|
98
|
-
ARGUMENTS
|
|
99
|
-
ENTITY Entity to analyze (uses current focus if not provided)
|
|
100
|
-
|
|
101
|
-
FLAGS
|
|
102
|
-
-s, --since=<value> [default: HEAD~1] Git reference to compare against
|
|
103
|
-
-v, --verbose Show detailed analysis
|
|
104
|
-
--include-docs Include documentation changes in analysis
|
|
105
|
-
--include-tests Include test file changes in analysis
|
|
106
|
-
|
|
107
|
-
DESCRIPTION
|
|
108
|
-
Detect entities potentially affected by changes in current focus
|
|
109
|
-
|
|
110
|
-
EXAMPLES
|
|
111
|
-
$ gut affected
|
|
112
|
-
|
|
113
|
-
$ gut affected my-app
|
|
114
|
-
|
|
115
|
-
$ gut affected --since HEAD~5
|
|
116
|
-
|
|
117
|
-
$ gut affected --include-tests
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## `gut audit`
|
|
121
|
-
|
|
122
|
-
Access and change audit across workspace
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
USAGE
|
|
126
|
-
$ gut audit [-e <value>] [-s] [-c] [-a] [--changes] [--json]
|
|
127
|
-
|
|
128
|
-
FLAGS
|
|
129
|
-
-a, --access audit access patterns and permissions
|
|
130
|
-
-c, --compliance focus on compliance audit
|
|
131
|
-
-e, --entity=<value> audit specific entity
|
|
132
|
-
-s, --security focus on security audit
|
|
133
|
-
--changes audit recent changes and activity
|
|
134
|
-
--json output as JSON
|
|
135
|
-
|
|
136
|
-
DESCRIPTION
|
|
137
|
-
Access and change audit across workspace
|
|
138
|
-
|
|
139
|
-
EXAMPLES
|
|
140
|
-
$ gut audit
|
|
141
|
-
|
|
142
|
-
$ gut audit --entity mindtools
|
|
143
|
-
|
|
144
|
-
$ gut audit --security
|
|
145
|
-
|
|
146
|
-
$ gut audit --compliance
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
## `gut back`
|
|
150
|
-
|
|
151
|
-
Navigate back to the previous focus
|
|
152
|
-
|
|
153
|
-
```
|
|
154
|
-
USAGE
|
|
155
|
-
$ gut back
|
|
156
|
-
|
|
157
|
-
DESCRIPTION
|
|
158
|
-
Navigate back to the previous focus
|
|
159
|
-
|
|
160
|
-
EXAMPLES
|
|
161
|
-
$ gut back
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
## `gut commit`
|
|
165
|
-
|
|
166
|
-
Commit changes in focused repositories
|
|
167
|
-
|
|
168
|
-
```
|
|
169
|
-
USAGE
|
|
170
|
-
$ gut commit [-m <value>] [-a] [--amend]
|
|
171
|
-
|
|
172
|
-
FLAGS
|
|
173
|
-
-a, --all Stage all changes before committing
|
|
174
|
-
-m, --message=<value> Commit message
|
|
175
|
-
--amend Amend the previous commit
|
|
176
|
-
|
|
177
|
-
DESCRIPTION
|
|
178
|
-
Commit changes in focused repositories
|
|
179
|
-
|
|
180
|
-
EXAMPLES
|
|
181
|
-
$ gut commit -m "Fix bug"
|
|
182
|
-
|
|
183
|
-
$ gut commit --message "Add feature"
|
|
184
|
-
|
|
185
|
-
$ gut commit
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
## `gut context`
|
|
189
|
-
|
|
190
|
-
Show current focus context with entity details
|
|
191
|
-
|
|
192
|
-
```
|
|
193
|
-
USAGE
|
|
194
|
-
$ gut context
|
|
195
|
-
|
|
196
|
-
DESCRIPTION
|
|
197
|
-
Show current focus context with entity details
|
|
198
|
-
|
|
199
|
-
EXAMPLES
|
|
200
|
-
$ gut context
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
## `gut contexts`
|
|
204
|
-
|
|
205
|
-
List all available contexts and focus history
|
|
206
|
-
|
|
207
|
-
```
|
|
208
|
-
USAGE
|
|
209
|
-
$ gut contexts
|
|
210
|
-
|
|
211
|
-
DESCRIPTION
|
|
212
|
-
List all available contexts and focus history
|
|
213
|
-
|
|
214
|
-
EXAMPLES
|
|
215
|
-
$ gut contexts
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## `gut deps [ENTITY]`
|
|
219
|
-
|
|
220
|
-
Show dependencies of current focus or specified entity
|
|
221
|
-
|
|
222
|
-
```
|
|
223
|
-
USAGE
|
|
224
|
-
$ gut deps [ENTITY]
|
|
225
|
-
|
|
226
|
-
ARGUMENTS
|
|
227
|
-
ENTITY Entity name to analyze dependencies for
|
|
228
|
-
|
|
229
|
-
DESCRIPTION
|
|
230
|
-
Show dependencies of current focus or specified entity
|
|
231
|
-
|
|
232
|
-
EXAMPLES
|
|
233
|
-
$ gut deps
|
|
234
|
-
|
|
235
|
-
$ gut deps mindtools
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
## `gut entity add TYPE NAME`
|
|
239
|
-
|
|
240
|
-
Add a new entity to the workspace
|
|
241
|
-
|
|
242
|
-
```
|
|
243
|
-
USAGE
|
|
244
|
-
$ gut entity add TYPE NAME -p <value> [-r <value>] [-d <value>] [--repo <value>]
|
|
245
|
-
|
|
246
|
-
ARGUMENTS
|
|
247
|
-
TYPE (client|prospect|company|initiative|system|delivery|module|service|tool) Entity type
|
|
248
|
-
NAME Entity name
|
|
249
|
-
|
|
250
|
-
FLAGS
|
|
251
|
-
-d, --description=<value> entity description
|
|
252
|
-
-p, --path=<value> (required) path to entity
|
|
253
|
-
-r, --remote=<value> git remote URL
|
|
254
|
-
--repo=<value> repository name (for GitLab/GitHub)
|
|
255
|
-
|
|
256
|
-
DESCRIPTION
|
|
257
|
-
Add a new entity to the workspace
|
|
258
|
-
|
|
259
|
-
EXAMPLES
|
|
260
|
-
$ gut entity add delivery my-app --path ./apps/my-app
|
|
261
|
-
|
|
262
|
-
$ gut entity add module my-lib --path ./libs/my-lib --remote git@github.com:org/my-lib.git
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
## `gut entity clone NAME`
|
|
266
|
-
|
|
267
|
-
Clone a specific entity from its repository
|
|
268
|
-
|
|
269
|
-
```
|
|
270
|
-
USAGE
|
|
271
|
-
$ gut entity clone NAME [-b <value>] [-d <value>] [-p <value>] [-f]
|
|
272
|
-
|
|
273
|
-
ARGUMENTS
|
|
274
|
-
NAME Name of the entity to clone
|
|
275
|
-
|
|
276
|
-
FLAGS
|
|
277
|
-
-b, --branch=<value> [default: main] Branch to clone
|
|
278
|
-
-d, --depth=<value> Create a shallow clone with specified depth
|
|
279
|
-
-f, --force Force clone even if directory exists
|
|
280
|
-
-p, --path=<value> Custom path to clone to (relative to workspace)
|
|
281
|
-
|
|
282
|
-
DESCRIPTION
|
|
283
|
-
Clone a specific entity from its repository
|
|
284
|
-
|
|
285
|
-
EXAMPLES
|
|
286
|
-
$ gut entity clone my-app
|
|
287
|
-
|
|
288
|
-
$ gut entity clone my-app --branch develop
|
|
289
|
-
|
|
290
|
-
$ gut entity clone my-app --depth 1
|
|
291
|
-
```
|
|
292
|
-
|
|
293
|
-
## `gut entity clone-all`
|
|
294
|
-
|
|
295
|
-
Clone all configured entities from their repositories
|
|
296
|
-
|
|
297
|
-
```
|
|
298
|
-
USAGE
|
|
299
|
-
$ gut entity clone-all [-b <value>] [-d <value>] [-p] [--skip-existing] [-f]
|
|
300
|
-
|
|
301
|
-
FLAGS
|
|
302
|
-
-b, --branch=<value> [default: main] Branch to clone for all entities
|
|
303
|
-
-d, --depth=<value> Create shallow clones with specified depth
|
|
304
|
-
-f, --force Force clone even if directories exist
|
|
305
|
-
-p, --parallel Clone entities in parallel
|
|
306
|
-
--skip-existing Skip entities that already exist
|
|
307
|
-
|
|
308
|
-
DESCRIPTION
|
|
309
|
-
Clone all configured entities from their repositories
|
|
310
|
-
|
|
311
|
-
EXAMPLES
|
|
312
|
-
$ gut entity clone-all
|
|
313
|
-
|
|
314
|
-
$ gut entity clone-all --parallel
|
|
315
|
-
|
|
316
|
-
$ gut entity clone-all --branch develop
|
|
317
|
-
|
|
318
|
-
$ gut entity clone-all --skip-existing
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
## `gut entity list`
|
|
322
|
-
|
|
323
|
-
List all configured entities
|
|
324
|
-
|
|
325
|
-
```
|
|
326
|
-
USAGE
|
|
327
|
-
$ gut entity list [-t delivery|module|service|tool] [--json] [-v]
|
|
328
|
-
|
|
329
|
-
FLAGS
|
|
330
|
-
-t, --type=<option> filter by entity type
|
|
331
|
-
<options: delivery|module|service|tool>
|
|
332
|
-
-v, --verbose show detailed information
|
|
333
|
-
--json output as JSON
|
|
334
|
-
|
|
335
|
-
DESCRIPTION
|
|
336
|
-
List all configured entities
|
|
337
|
-
|
|
338
|
-
EXAMPLES
|
|
339
|
-
$ gut entity list
|
|
340
|
-
|
|
341
|
-
$ gut entity list --type delivery
|
|
342
|
-
|
|
343
|
-
$ gut entity list --json
|
|
344
|
-
```
|
|
345
|
-
|
|
346
|
-
## `gut entity remove NAME`
|
|
347
|
-
|
|
348
|
-
Remove an entity from the workspace configuration
|
|
349
|
-
|
|
350
|
-
```
|
|
351
|
-
USAGE
|
|
352
|
-
$ gut entity remove NAME [-f]
|
|
353
|
-
|
|
354
|
-
ARGUMENTS
|
|
355
|
-
NAME Entity name to remove
|
|
356
|
-
|
|
357
|
-
FLAGS
|
|
358
|
-
-f, --force skip confirmation prompt
|
|
359
|
-
|
|
360
|
-
DESCRIPTION
|
|
361
|
-
Remove an entity from the workspace configuration
|
|
362
|
-
|
|
363
|
-
EXAMPLES
|
|
364
|
-
$ gut entity remove my-app
|
|
365
|
-
|
|
366
|
-
$ gut entity remove my-app --force
|
|
367
|
-
```
|
|
368
|
-
|
|
369
|
-
## `gut focus [ENTITYTYPEORNAME] [ENTITYNAME]`
|
|
370
|
-
|
|
371
|
-
Set focus on one or more entities with optional type and mode
|
|
372
|
-
|
|
373
|
-
```
|
|
374
|
-
USAGE
|
|
375
|
-
$ gut focus [ENTITYTYPEORNAME...] [ENTITYNAME...] [-c | -a | -m
|
|
376
|
-
delivery|strategy|audit|debug|research|proposal] [-d <value>] [-r]
|
|
377
|
-
|
|
378
|
-
ARGUMENTS
|
|
379
|
-
ENTITYTYPEORNAME... Entity type (client/prospect/company/initiative) or entity name
|
|
380
|
-
ENTITYNAME... Entity name (when first arg is entity type)
|
|
381
|
-
|
|
382
|
-
FLAGS
|
|
383
|
-
-a, --add add to current focus instead of replacing
|
|
384
|
-
-c, --clear clear current focus
|
|
385
|
-
-d, --duration=<value> focus duration (e.g., 2h, 90m)
|
|
386
|
-
-m, --mode=<option> focus mode (delivery, strategy, audit, debug, research, proposal)
|
|
387
|
-
<options: delivery|strategy|audit|debug|research|proposal>
|
|
388
|
-
-r, --remember remember current focus before switching
|
|
389
|
-
|
|
390
|
-
DESCRIPTION
|
|
391
|
-
Set focus on one or more entities with optional type and mode
|
|
392
|
-
|
|
393
|
-
EXAMPLES
|
|
394
|
-
$ gut focus my-app
|
|
395
|
-
|
|
396
|
-
$ gut focus client mindtools
|
|
397
|
-
|
|
398
|
-
$ gut focus client mindtools --mode delivery
|
|
399
|
-
|
|
400
|
-
$ gut focus prospect jazida --mode research
|
|
401
|
-
|
|
402
|
-
$ gut focus my-app auth-service
|
|
403
|
-
|
|
404
|
-
$ gut focus --clear
|
|
405
|
-
```
|
|
406
|
-
|
|
407
|
-
## `gut graph`
|
|
408
|
-
|
|
409
|
-
Visualize repository relationships and dependencies
|
|
410
|
-
|
|
411
|
-
```
|
|
412
|
-
USAGE
|
|
413
|
-
$ gut graph [-f ascii|dot|json] [--focus-only] [-d <value>]
|
|
414
|
-
|
|
415
|
-
FLAGS
|
|
416
|
-
-d, --depth=<value> [default: 2] maximum depth of relationships to show
|
|
417
|
-
-f, --format=<option> [default: ascii] output format
|
|
418
|
-
<options: ascii|dot|json>
|
|
419
|
-
--focus-only show only focused entities and their relationships
|
|
420
|
-
|
|
421
|
-
DESCRIPTION
|
|
422
|
-
Visualize repository relationships and dependencies
|
|
423
|
-
|
|
424
|
-
EXAMPLES
|
|
425
|
-
$ gut graph
|
|
426
|
-
|
|
427
|
-
$ gut graph --format ascii
|
|
428
|
-
|
|
429
|
-
$ gut graph --focus-only
|
|
430
|
-
```
|
|
431
|
-
|
|
432
|
-
## `gut help [COMMAND]`
|
|
433
|
-
|
|
434
|
-
Display help for gut.
|
|
435
|
-
|
|
436
|
-
```
|
|
437
|
-
USAGE
|
|
438
|
-
$ gut help [COMMAND...] [-n]
|
|
439
|
-
|
|
440
|
-
ARGUMENTS
|
|
441
|
-
COMMAND... Command to show help for.
|
|
442
|
-
|
|
443
|
-
FLAGS
|
|
444
|
-
-n, --nested-commands Include all nested commands in the output.
|
|
445
|
-
|
|
446
|
-
DESCRIPTION
|
|
447
|
-
Display help for gut.
|
|
448
|
-
```
|
|
449
|
-
|
|
450
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.32/src/commands/help.ts)_
|
|
451
|
-
|
|
452
|
-
## `gut init`
|
|
453
|
-
|
|
454
|
-
Initialize a gut workspace
|
|
455
|
-
|
|
456
|
-
```
|
|
457
|
-
USAGE
|
|
458
|
-
$ gut init [-f] [-w <value>]
|
|
459
|
-
|
|
460
|
-
FLAGS
|
|
461
|
-
-f, --force force initialization even if already initialized
|
|
462
|
-
-w, --workspace=<value> [default: /builds/JOkrpDV8M/0/dev_squad/repo/cli/gut] workspace root directory
|
|
463
|
-
|
|
464
|
-
DESCRIPTION
|
|
465
|
-
Initialize a gut workspace
|
|
466
|
-
|
|
467
|
-
EXAMPLES
|
|
468
|
-
$ gut init
|
|
469
|
-
|
|
470
|
-
$ gut init --force
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
## `gut insights`
|
|
474
|
-
|
|
475
|
-
Display analytics and insights about the workspace
|
|
476
|
-
|
|
477
|
-
```
|
|
478
|
-
USAGE
|
|
479
|
-
$ gut insights [-d] [-f table|json|summary] [--include-ignored]
|
|
480
|
-
|
|
481
|
-
FLAGS
|
|
482
|
-
-d, --detailed Show detailed statistics for each entity
|
|
483
|
-
-f, --format=<option> [default: table] Output format
|
|
484
|
-
<options: table|json|summary>
|
|
485
|
-
--include-ignored Include gitignored files in statistics
|
|
486
|
-
|
|
487
|
-
DESCRIPTION
|
|
488
|
-
Display analytics and insights about the workspace
|
|
489
|
-
|
|
490
|
-
EXAMPLES
|
|
491
|
-
$ gut insights
|
|
492
|
-
|
|
493
|
-
$ gut insights --detailed
|
|
494
|
-
|
|
495
|
-
$ gut insights --format json
|
|
496
|
-
```
|
|
497
|
-
|
|
498
|
-
## `gut patterns`
|
|
499
|
-
|
|
500
|
-
Show learned patterns for current context or entities
|
|
501
|
-
|
|
502
|
-
```
|
|
503
|
-
USAGE
|
|
504
|
-
$ gut patterns [-e <value>] [-t client|prospect|company|initiative|system] [-m
|
|
505
|
-
delivery|strategy|audit|debug|research|proposal] [--json]
|
|
506
|
-
|
|
507
|
-
FLAGS
|
|
508
|
-
-e, --entity=<value> show patterns for specific entity
|
|
509
|
-
-m, --mode=<option> show patterns for focus mode
|
|
510
|
-
<options: delivery|strategy|audit|debug|research|proposal>
|
|
511
|
-
-t, --type=<option> show patterns for entity type
|
|
512
|
-
<options: client|prospect|company|initiative|system>
|
|
513
|
-
--json output as JSON
|
|
514
|
-
|
|
515
|
-
DESCRIPTION
|
|
516
|
-
Show learned patterns for current context or entities
|
|
517
|
-
|
|
518
|
-
EXAMPLES
|
|
519
|
-
$ gut patterns
|
|
520
|
-
|
|
521
|
-
$ gut patterns --entity mindtools
|
|
522
|
-
|
|
523
|
-
$ gut patterns --type client
|
|
524
|
-
|
|
525
|
-
$ gut patterns --mode strategy
|
|
526
|
-
```
|
|
527
|
-
|
|
528
|
-
## `gut pull`
|
|
529
|
-
|
|
530
|
-
Pull changes from remote repositories
|
|
531
|
-
|
|
532
|
-
```
|
|
533
|
-
USAGE
|
|
534
|
-
$ gut pull [-r] [--all] [--no-commit]
|
|
535
|
-
|
|
536
|
-
FLAGS
|
|
537
|
-
-r, --rebase Rebase instead of merge
|
|
538
|
-
--all Fetch all remotes
|
|
539
|
-
--no-commit Perform merge but do not commit
|
|
540
|
-
|
|
541
|
-
DESCRIPTION
|
|
542
|
-
Pull changes from remote repositories
|
|
543
|
-
|
|
544
|
-
EXAMPLES
|
|
545
|
-
$ gut pull
|
|
546
|
-
|
|
547
|
-
$ gut pull --rebase
|
|
548
|
-
|
|
549
|
-
$ gut pull --all
|
|
550
|
-
```
|
|
551
|
-
|
|
552
|
-
## `gut push`
|
|
553
|
-
|
|
554
|
-
Push commits to remote repositories
|
|
555
|
-
|
|
556
|
-
```
|
|
557
|
-
USAGE
|
|
558
|
-
$ gut push [-f] [-u] [--tags]
|
|
559
|
-
|
|
560
|
-
FLAGS
|
|
561
|
-
-f, --force Force push (use with caution)
|
|
562
|
-
-u, --set-upstream Set upstream branch
|
|
563
|
-
--tags Push tags
|
|
564
|
-
|
|
565
|
-
DESCRIPTION
|
|
566
|
-
Push commits to remote repositories
|
|
567
|
-
|
|
568
|
-
EXAMPLES
|
|
569
|
-
$ gut push
|
|
570
|
-
|
|
571
|
-
$ gut push --force
|
|
572
|
-
|
|
573
|
-
$ gut push --set-upstream
|
|
574
|
-
```
|
|
575
|
-
|
|
576
|
-
## `gut quick-setup`
|
|
577
|
-
|
|
578
|
-
Automated workspace setup based on common patterns
|
|
579
|
-
|
|
580
|
-
```
|
|
581
|
-
USAGE
|
|
582
|
-
$ gut quick-setup [-a] [-p monorepo|microservices|fullstack|library] [--scan-depth <value>] [--clone-missing]
|
|
583
|
-
|
|
584
|
-
FLAGS
|
|
585
|
-
-a, --auto Auto-detect and configure without prompts
|
|
586
|
-
-p, --profile=<option> Use specific setup profile
|
|
587
|
-
<options: monorepo|microservices|fullstack|library>
|
|
588
|
-
--clone-missing Clone missing repositories if found
|
|
589
|
-
--scan-depth=<value> [default: 2] Directory depth to scan for entities
|
|
590
|
-
|
|
591
|
-
DESCRIPTION
|
|
592
|
-
Automated workspace setup based on common patterns
|
|
593
|
-
|
|
594
|
-
EXAMPLES
|
|
595
|
-
$ gut quick-setup
|
|
596
|
-
|
|
597
|
-
$ gut quick-setup --auto
|
|
598
|
-
|
|
599
|
-
$ gut quick-setup --profile monorepo
|
|
600
|
-
|
|
601
|
-
$ gut quick-setup --scan-depth 3
|
|
602
|
-
```
|
|
603
|
-
|
|
604
|
-
## `gut recent`
|
|
605
|
-
|
|
606
|
-
Show recent focus history
|
|
607
|
-
|
|
608
|
-
```
|
|
609
|
-
USAGE
|
|
610
|
-
$ gut recent [-l <value>]
|
|
611
|
-
|
|
612
|
-
FLAGS
|
|
613
|
-
-l, --limit=<value> [default: 5] Number of recent items to show
|
|
614
|
-
|
|
615
|
-
DESCRIPTION
|
|
616
|
-
Show recent focus history
|
|
617
|
-
|
|
618
|
-
EXAMPLES
|
|
619
|
-
$ gut recent
|
|
620
|
-
|
|
621
|
-
$ gut recent --limit 10
|
|
622
|
-
```
|
|
623
|
-
|
|
624
|
-
## `gut related [ENTITY]`
|
|
625
|
-
|
|
626
|
-
Find entities related to a specific entity or current focus
|
|
627
|
-
|
|
628
|
-
```
|
|
629
|
-
USAGE
|
|
630
|
-
$ gut related [ENTITY] [-t <value>] [--type all|dependencies|git|files] [-d]
|
|
631
|
-
|
|
632
|
-
ARGUMENTS
|
|
633
|
-
ENTITY Entity name (uses current focus if not provided)
|
|
634
|
-
|
|
635
|
-
FLAGS
|
|
636
|
-
-d, --detailed Show detailed relation information
|
|
637
|
-
-t, --threshold=<value> [default: 0.2] Minimum relation score (0-1)
|
|
638
|
-
--type=<option> [default: all] Type of relation to check
|
|
639
|
-
<options: all|dependencies|git|files>
|
|
640
|
-
|
|
641
|
-
DESCRIPTION
|
|
642
|
-
Find entities related to a specific entity or current focus
|
|
643
|
-
|
|
644
|
-
EXAMPLES
|
|
645
|
-
$ gut related my-app
|
|
646
|
-
|
|
647
|
-
$ gut related --threshold 0.3
|
|
648
|
-
|
|
649
|
-
$ gut related --type dependencies
|
|
650
|
-
```
|
|
651
|
-
|
|
652
|
-
## `gut repos`
|
|
653
|
-
|
|
654
|
-
List accessible repositories in the workspace
|
|
655
|
-
|
|
656
|
-
```
|
|
657
|
-
USAGE
|
|
658
|
-
$ gut repos [-t client|prospect|company|initiative|system|delivery|module|service|tool] [-s] [--json] [-a]
|
|
659
|
-
|
|
660
|
-
FLAGS
|
|
661
|
-
-a, --accessible show only accessible repositories (with valid paths)
|
|
662
|
-
-s, --status show git status for each repository
|
|
663
|
-
-t, --type=<option> filter by entity type
|
|
664
|
-
<options: client|prospect|company|initiative|system|delivery|module|service|tool>
|
|
665
|
-
--json output as JSON
|
|
666
|
-
|
|
667
|
-
DESCRIPTION
|
|
668
|
-
List accessible repositories in the workspace
|
|
669
|
-
|
|
670
|
-
EXAMPLES
|
|
671
|
-
$ gut repos
|
|
672
|
-
|
|
673
|
-
$ gut repos --type client
|
|
674
|
-
|
|
675
|
-
$ gut repos --status
|
|
676
|
-
|
|
677
|
-
$ gut repos --json
|
|
678
|
-
```
|
|
679
|
-
|
|
680
|
-
## `gut stack`
|
|
681
|
-
|
|
682
|
-
Show and manage the focus stack
|
|
683
|
-
|
|
684
|
-
```
|
|
685
|
-
USAGE
|
|
686
|
-
$ gut stack [-c]
|
|
687
|
-
|
|
688
|
-
FLAGS
|
|
689
|
-
-c, --clear clear the focus stack
|
|
690
|
-
|
|
691
|
-
DESCRIPTION
|
|
692
|
-
Show and manage the focus stack
|
|
693
|
-
|
|
694
|
-
EXAMPLES
|
|
695
|
-
$ gut stack
|
|
696
|
-
|
|
697
|
-
$ gut stack --clear
|
|
698
|
-
```
|
|
699
|
-
|
|
700
|
-
## `gut status`
|
|
701
|
-
|
|
702
|
-
Show git status for focused entities
|
|
703
|
-
|
|
704
|
-
```
|
|
705
|
-
USAGE
|
|
706
|
-
$ gut status [-a] [-v] [--json]
|
|
707
|
-
|
|
708
|
-
FLAGS
|
|
709
|
-
-a, --all show status for all entities
|
|
710
|
-
-v, --verbose show detailed status
|
|
711
|
-
--json output as JSON
|
|
712
|
-
|
|
713
|
-
DESCRIPTION
|
|
714
|
-
Show git status for focused entities
|
|
715
|
-
|
|
716
|
-
EXAMPLES
|
|
717
|
-
$ gut status
|
|
718
|
-
|
|
719
|
-
$ gut status --all
|
|
720
|
-
|
|
721
|
-
$ gut status --verbose
|
|
722
|
-
```
|
|
723
|
-
|
|
724
|
-
## `gut sync`
|
|
725
|
-
|
|
726
|
-
Synchronize repositories with remote (fetch, merge/rebase, push)
|
|
727
|
-
|
|
728
|
-
```
|
|
729
|
-
USAGE
|
|
730
|
-
$ gut sync [-r] [-f] [--no-push]
|
|
731
|
-
|
|
732
|
-
FLAGS
|
|
733
|
-
-f, --force Force push after sync
|
|
734
|
-
-r, --rebase Use rebase instead of merge
|
|
735
|
-
--no-push Skip the push step
|
|
736
|
-
|
|
737
|
-
DESCRIPTION
|
|
738
|
-
Synchronize repositories with remote (fetch, merge/rebase, push)
|
|
739
|
-
|
|
740
|
-
EXAMPLES
|
|
741
|
-
$ gut sync
|
|
742
|
-
|
|
743
|
-
$ gut sync --rebase
|
|
744
|
-
|
|
745
|
-
$ gut sync --force
|
|
746
|
-
```
|
|
747
|
-
|
|
748
|
-
## `gut unfocus`
|
|
749
|
-
|
|
750
|
-
Clear the current focus
|
|
751
|
-
|
|
752
|
-
```
|
|
753
|
-
USAGE
|
|
754
|
-
$ gut unfocus
|
|
755
|
-
|
|
756
|
-
DESCRIPTION
|
|
757
|
-
Clear the current focus
|
|
758
|
-
|
|
759
|
-
EXAMPLES
|
|
760
|
-
$ gut unfocus
|
|
761
|
-
```
|
|
762
|
-
|
|
763
|
-
## `gut used-by [ENTITY]`
|
|
764
|
-
|
|
765
|
-
Show what entities depend on current focus or specified entity
|
|
766
|
-
|
|
767
|
-
```
|
|
768
|
-
USAGE
|
|
769
|
-
$ gut used-by [ENTITY]
|
|
770
|
-
|
|
771
|
-
ARGUMENTS
|
|
772
|
-
ENTITY Entity name to analyze usage for
|
|
773
|
-
|
|
774
|
-
DESCRIPTION
|
|
775
|
-
Show what entities depend on current focus or specified entity
|
|
776
|
-
|
|
777
|
-
EXAMPLES
|
|
778
|
-
$ gut used-by
|
|
779
|
-
|
|
780
|
-
$ gut used-by api
|
|
781
|
-
```
|
|
782
|
-
|
|
783
|
-
## `gut workspace ACTION`
|
|
784
|
-
|
|
785
|
-
Manage workspace structure and entity metadata
|
|
786
|
-
|
|
787
|
-
```
|
|
788
|
-
USAGE
|
|
789
|
-
$ gut workspace ACTION [-f] [-t client|prospect|company|initiative|system]
|
|
790
|
-
|
|
791
|
-
ARGUMENTS
|
|
792
|
-
ACTION (init|structure|generate-metadata) Action to perform (init, structure, generate-metadata)
|
|
793
|
-
|
|
794
|
-
FLAGS
|
|
795
|
-
-f, --force force overwrite existing files
|
|
796
|
-
-t, --entity-type=<option> entity type for metadata generation
|
|
797
|
-
<options: client|prospect|company|initiative|system>
|
|
798
|
-
|
|
799
|
-
DESCRIPTION
|
|
800
|
-
Manage workspace structure and entity metadata
|
|
801
|
-
|
|
802
|
-
EXAMPLES
|
|
803
|
-
$ gut workspace init
|
|
804
|
-
|
|
805
|
-
$ gut workspace structure
|
|
806
|
-
|
|
807
|
-
$ gut workspace generate-metadata
|
|
808
|
-
```
|
|
809
31
|
<!-- commandsstop -->
|