@bussolabs/closeyourit-cli 0.0.2

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.
Files changed (99) hide show
  1. package/README.md +99 -0
  2. package/bin/run.js +2 -0
  3. package/dist/base.d.ts +34 -0
  4. package/dist/base.js +85 -0
  5. package/dist/commands/errors/list.d.ts +11 -0
  6. package/dist/commands/errors/list.js +36 -0
  7. package/dist/commands/errors/mute.d.ts +12 -0
  8. package/dist/commands/errors/mute.js +22 -0
  9. package/dist/commands/errors/reopen.d.ts +12 -0
  10. package/dist/commands/errors/reopen.js +22 -0
  11. package/dist/commands/errors/resolve.d.ts +12 -0
  12. package/dist/commands/errors/resolve.js +22 -0
  13. package/dist/commands/errors/show.d.ts +12 -0
  14. package/dist/commands/errors/show.js +23 -0
  15. package/dist/commands/errors/unmute.d.ts +12 -0
  16. package/dist/commands/errors/unmute.js +22 -0
  17. package/dist/commands/groups/create.d.ts +12 -0
  18. package/dist/commands/groups/create.js +31 -0
  19. package/dist/commands/groups/list.d.ts +9 -0
  20. package/dist/commands/groups/list.js +19 -0
  21. package/dist/commands/invitations/create.d.ts +12 -0
  22. package/dist/commands/invitations/create.js +38 -0
  23. package/dist/commands/invitations/list.d.ts +9 -0
  24. package/dist/commands/invitations/list.js +24 -0
  25. package/dist/commands/invitations/revoke.d.ts +9 -0
  26. package/dist/commands/invitations/revoke.js +20 -0
  27. package/dist/commands/login.d.ts +9 -0
  28. package/dist/commands/login.js +63 -0
  29. package/dist/commands/logout.d.ts +6 -0
  30. package/dist/commands/logout.js +17 -0
  31. package/dist/commands/members/list.d.ts +9 -0
  32. package/dist/commands/members/list.js +24 -0
  33. package/dist/commands/metrics/list.d.ts +11 -0
  34. package/dist/commands/metrics/list.js +36 -0
  35. package/dist/commands/metrics/show.d.ts +12 -0
  36. package/dist/commands/metrics/show.js +23 -0
  37. package/dist/commands/projects/create.d.ts +15 -0
  38. package/dist/commands/projects/create.js +49 -0
  39. package/dist/commands/projects/list.d.ts +9 -0
  40. package/dist/commands/projects/list.js +19 -0
  41. package/dist/commands/projects/set-environments.d.ts +11 -0
  42. package/dist/commands/projects/set-environments.js +42 -0
  43. package/dist/commands/projects/show.d.ts +9 -0
  44. package/dist/commands/projects/show.js +22 -0
  45. package/dist/commands/roles/create.d.ts +13 -0
  46. package/dist/commands/roles/create.js +36 -0
  47. package/dist/commands/roles/delete.d.ts +9 -0
  48. package/dist/commands/roles/delete.js +21 -0
  49. package/dist/commands/roles/list.d.ts +9 -0
  50. package/dist/commands/roles/list.js +23 -0
  51. package/dist/commands/roles/show.d.ts +9 -0
  52. package/dist/commands/roles/show.js +25 -0
  53. package/dist/commands/roles/update.d.ts +14 -0
  54. package/dist/commands/roles/update.js +44 -0
  55. package/dist/commands/teams/add-member.d.ts +10 -0
  56. package/dist/commands/teams/add-member.js +26 -0
  57. package/dist/commands/teams/create.d.ts +16 -0
  58. package/dist/commands/teams/create.js +50 -0
  59. package/dist/commands/teams/delete.d.ts +9 -0
  60. package/dist/commands/teams/delete.js +21 -0
  61. package/dist/commands/teams/list.d.ts +9 -0
  62. package/dist/commands/teams/list.js +27 -0
  63. package/dist/commands/teams/remove-member.d.ts +10 -0
  64. package/dist/commands/teams/remove-member.js +26 -0
  65. package/dist/commands/teams/show.d.ts +9 -0
  66. package/dist/commands/teams/show.js +27 -0
  67. package/dist/commands/teams/update.d.ts +17 -0
  68. package/dist/commands/teams/update.js +54 -0
  69. package/dist/commands/tickets/create.d.ts +18 -0
  70. package/dist/commands/tickets/create.js +51 -0
  71. package/dist/commands/tickets/list.d.ts +10 -0
  72. package/dist/commands/tickets/list.js +24 -0
  73. package/dist/commands/tickets/show.d.ts +12 -0
  74. package/dist/commands/tickets/show.js +23 -0
  75. package/dist/commands/tokens/create.d.ts +11 -0
  76. package/dist/commands/tokens/create.js +34 -0
  77. package/dist/commands/tokens/list.d.ts +9 -0
  78. package/dist/commands/tokens/list.js +25 -0
  79. package/dist/commands/tokens/revoke.d.ts +12 -0
  80. package/dist/commands/tokens/revoke.js +22 -0
  81. package/dist/commands/tokens/rotate.d.ts +12 -0
  82. package/dist/commands/tokens/rotate.js +28 -0
  83. package/dist/commands/whoami.d.ts +6 -0
  84. package/dist/commands/whoami.js +19 -0
  85. package/dist/errors/error-codes.d.ts +35 -0
  86. package/dist/errors/error-codes.js +40 -0
  87. package/dist/lib/api.d.ts +28 -0
  88. package/dist/lib/api.js +81 -0
  89. package/dist/lib/browser.d.ts +2 -0
  90. package/dist/lib/browser.js +32 -0
  91. package/dist/lib/config.d.ts +20 -0
  92. package/dist/lib/config.js +93 -0
  93. package/dist/lib/device-flow.d.ts +28 -0
  94. package/dist/lib/device-flow.js +62 -0
  95. package/dist/lib/output.d.ts +4 -0
  96. package/dist/lib/output.js +21 -0
  97. package/oclif.manifest.json +1954 -0
  98. package/opencli.json +229 -0
  99. package/package.json +34 -0
@@ -0,0 +1,1954 @@
1
+ {
2
+ "commands": {
3
+ "login": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Authenticate via the device flow and store your CLI token",
7
+ "examples": [
8
+ "<%= config.bin %> login",
9
+ "<%= config.bin %> login --api-url https://staging.closeyour.it"
10
+ ],
11
+ "flags": {
12
+ "json": {
13
+ "description": "Format output as json.",
14
+ "helpGroup": "GLOBAL",
15
+ "name": "json",
16
+ "allowNo": false,
17
+ "type": "boolean"
18
+ },
19
+ "api-url": {
20
+ "description": "Backend base URL to authenticate against (persisted)",
21
+ "name": "api-url",
22
+ "hasDynamicHelp": false,
23
+ "multiple": false,
24
+ "type": "option"
25
+ }
26
+ },
27
+ "hasDynamicHelp": false,
28
+ "hiddenAliases": [],
29
+ "id": "login",
30
+ "pluginAlias": "@bussolabs/closeyourit-cli",
31
+ "pluginName": "@bussolabs/closeyourit-cli",
32
+ "pluginType": "core",
33
+ "strict": true,
34
+ "enableJsonFlag": true,
35
+ "isESM": false,
36
+ "relativePath": [
37
+ "dist",
38
+ "commands",
39
+ "login.js"
40
+ ]
41
+ },
42
+ "logout": {
43
+ "aliases": [],
44
+ "args": {},
45
+ "description": "Clear the locally stored token and identity",
46
+ "examples": [
47
+ "<%= config.bin %> logout"
48
+ ],
49
+ "flags": {
50
+ "json": {
51
+ "description": "Format output as json.",
52
+ "helpGroup": "GLOBAL",
53
+ "name": "json",
54
+ "allowNo": false,
55
+ "type": "boolean"
56
+ }
57
+ },
58
+ "hasDynamicHelp": false,
59
+ "hiddenAliases": [],
60
+ "id": "logout",
61
+ "pluginAlias": "@bussolabs/closeyourit-cli",
62
+ "pluginName": "@bussolabs/closeyourit-cli",
63
+ "pluginType": "core",
64
+ "strict": true,
65
+ "enableJsonFlag": true,
66
+ "isESM": false,
67
+ "relativePath": [
68
+ "dist",
69
+ "commands",
70
+ "logout.js"
71
+ ]
72
+ },
73
+ "whoami": {
74
+ "aliases": [],
75
+ "args": {},
76
+ "description": "Show the authenticated account, organization, token and permissions",
77
+ "examples": [
78
+ "<%= config.bin %> whoami",
79
+ "<%= config.bin %> whoami --json"
80
+ ],
81
+ "flags": {
82
+ "json": {
83
+ "description": "Format output as json.",
84
+ "helpGroup": "GLOBAL",
85
+ "name": "json",
86
+ "allowNo": false,
87
+ "type": "boolean"
88
+ }
89
+ },
90
+ "hasDynamicHelp": false,
91
+ "hiddenAliases": [],
92
+ "id": "whoami",
93
+ "pluginAlias": "@bussolabs/closeyourit-cli",
94
+ "pluginName": "@bussolabs/closeyourit-cli",
95
+ "pluginType": "core",
96
+ "strict": true,
97
+ "enableJsonFlag": true,
98
+ "isESM": false,
99
+ "relativePath": [
100
+ "dist",
101
+ "commands",
102
+ "whoami.js"
103
+ ]
104
+ },
105
+ "errors:list": {
106
+ "aliases": [],
107
+ "args": {},
108
+ "description": "List error groups for a project",
109
+ "examples": [
110
+ "<%= config.bin %> errors list --project acme-api",
111
+ "<%= config.bin %> errors list -p acme-api --status unresolved --json"
112
+ ],
113
+ "flags": {
114
+ "json": {
115
+ "description": "Format output as json.",
116
+ "helpGroup": "GLOBAL",
117
+ "name": "json",
118
+ "allowNo": false,
119
+ "type": "boolean"
120
+ },
121
+ "project": {
122
+ "char": "p",
123
+ "description": "Project id (UUID) or key",
124
+ "name": "project",
125
+ "required": true,
126
+ "hasDynamicHelp": false,
127
+ "multiple": false,
128
+ "type": "option"
129
+ },
130
+ "page": {
131
+ "description": "Page number",
132
+ "name": "page",
133
+ "default": 1,
134
+ "hasDynamicHelp": false,
135
+ "multiple": false,
136
+ "type": "option"
137
+ },
138
+ "status": {
139
+ "description": "Filter by status (e.g. unresolved, resolved, muted)",
140
+ "name": "status",
141
+ "hasDynamicHelp": false,
142
+ "multiple": false,
143
+ "type": "option"
144
+ }
145
+ },
146
+ "hasDynamicHelp": false,
147
+ "hiddenAliases": [],
148
+ "id": "errors:list",
149
+ "pluginAlias": "@bussolabs/closeyourit-cli",
150
+ "pluginName": "@bussolabs/closeyourit-cli",
151
+ "pluginType": "core",
152
+ "strict": true,
153
+ "enableJsonFlag": true,
154
+ "isESM": false,
155
+ "relativePath": [
156
+ "dist",
157
+ "commands",
158
+ "errors",
159
+ "list.js"
160
+ ]
161
+ },
162
+ "errors:mute": {
163
+ "aliases": [],
164
+ "args": {
165
+ "id": {
166
+ "description": "Error group id",
167
+ "name": "id",
168
+ "required": true
169
+ }
170
+ },
171
+ "description": "Mute an error group",
172
+ "examples": [
173
+ "<%= config.bin %> errors mute <group-id> --project acme-api"
174
+ ],
175
+ "flags": {
176
+ "json": {
177
+ "description": "Format output as json.",
178
+ "helpGroup": "GLOBAL",
179
+ "name": "json",
180
+ "allowNo": false,
181
+ "type": "boolean"
182
+ },
183
+ "project": {
184
+ "char": "p",
185
+ "description": "Project id (UUID) or key",
186
+ "name": "project",
187
+ "required": true,
188
+ "hasDynamicHelp": false,
189
+ "multiple": false,
190
+ "type": "option"
191
+ }
192
+ },
193
+ "hasDynamicHelp": false,
194
+ "hiddenAliases": [],
195
+ "id": "errors:mute",
196
+ "pluginAlias": "@bussolabs/closeyourit-cli",
197
+ "pluginName": "@bussolabs/closeyourit-cli",
198
+ "pluginType": "core",
199
+ "strict": true,
200
+ "enableJsonFlag": true,
201
+ "isESM": false,
202
+ "relativePath": [
203
+ "dist",
204
+ "commands",
205
+ "errors",
206
+ "mute.js"
207
+ ]
208
+ },
209
+ "errors:reopen": {
210
+ "aliases": [],
211
+ "args": {
212
+ "id": {
213
+ "description": "Error group id",
214
+ "name": "id",
215
+ "required": true
216
+ }
217
+ },
218
+ "description": "Reopen a resolved error group",
219
+ "examples": [
220
+ "<%= config.bin %> errors reopen <group-id> --project acme-api"
221
+ ],
222
+ "flags": {
223
+ "json": {
224
+ "description": "Format output as json.",
225
+ "helpGroup": "GLOBAL",
226
+ "name": "json",
227
+ "allowNo": false,
228
+ "type": "boolean"
229
+ },
230
+ "project": {
231
+ "char": "p",
232
+ "description": "Project id (UUID) or key",
233
+ "name": "project",
234
+ "required": true,
235
+ "hasDynamicHelp": false,
236
+ "multiple": false,
237
+ "type": "option"
238
+ }
239
+ },
240
+ "hasDynamicHelp": false,
241
+ "hiddenAliases": [],
242
+ "id": "errors:reopen",
243
+ "pluginAlias": "@bussolabs/closeyourit-cli",
244
+ "pluginName": "@bussolabs/closeyourit-cli",
245
+ "pluginType": "core",
246
+ "strict": true,
247
+ "enableJsonFlag": true,
248
+ "isESM": false,
249
+ "relativePath": [
250
+ "dist",
251
+ "commands",
252
+ "errors",
253
+ "reopen.js"
254
+ ]
255
+ },
256
+ "errors:resolve": {
257
+ "aliases": [],
258
+ "args": {
259
+ "id": {
260
+ "description": "Error group id",
261
+ "name": "id",
262
+ "required": true
263
+ }
264
+ },
265
+ "description": "Mark an error group as resolved",
266
+ "examples": [
267
+ "<%= config.bin %> errors resolve <group-id> --project acme-api"
268
+ ],
269
+ "flags": {
270
+ "json": {
271
+ "description": "Format output as json.",
272
+ "helpGroup": "GLOBAL",
273
+ "name": "json",
274
+ "allowNo": false,
275
+ "type": "boolean"
276
+ },
277
+ "project": {
278
+ "char": "p",
279
+ "description": "Project id (UUID) or key",
280
+ "name": "project",
281
+ "required": true,
282
+ "hasDynamicHelp": false,
283
+ "multiple": false,
284
+ "type": "option"
285
+ }
286
+ },
287
+ "hasDynamicHelp": false,
288
+ "hiddenAliases": [],
289
+ "id": "errors:resolve",
290
+ "pluginAlias": "@bussolabs/closeyourit-cli",
291
+ "pluginName": "@bussolabs/closeyourit-cli",
292
+ "pluginType": "core",
293
+ "strict": true,
294
+ "enableJsonFlag": true,
295
+ "isESM": false,
296
+ "relativePath": [
297
+ "dist",
298
+ "commands",
299
+ "errors",
300
+ "resolve.js"
301
+ ]
302
+ },
303
+ "errors:show": {
304
+ "aliases": [],
305
+ "args": {
306
+ "id": {
307
+ "description": "Error group id",
308
+ "name": "id",
309
+ "required": true
310
+ }
311
+ },
312
+ "description": "Show a single error group",
313
+ "examples": [
314
+ "<%= config.bin %> errors show <group-id> --project acme-api"
315
+ ],
316
+ "flags": {
317
+ "json": {
318
+ "description": "Format output as json.",
319
+ "helpGroup": "GLOBAL",
320
+ "name": "json",
321
+ "allowNo": false,
322
+ "type": "boolean"
323
+ },
324
+ "project": {
325
+ "char": "p",
326
+ "description": "Project id (UUID) or key",
327
+ "name": "project",
328
+ "required": true,
329
+ "hasDynamicHelp": false,
330
+ "multiple": false,
331
+ "type": "option"
332
+ }
333
+ },
334
+ "hasDynamicHelp": false,
335
+ "hiddenAliases": [],
336
+ "id": "errors:show",
337
+ "pluginAlias": "@bussolabs/closeyourit-cli",
338
+ "pluginName": "@bussolabs/closeyourit-cli",
339
+ "pluginType": "core",
340
+ "strict": true,
341
+ "enableJsonFlag": true,
342
+ "isESM": false,
343
+ "relativePath": [
344
+ "dist",
345
+ "commands",
346
+ "errors",
347
+ "show.js"
348
+ ]
349
+ },
350
+ "errors:unmute": {
351
+ "aliases": [],
352
+ "args": {
353
+ "id": {
354
+ "description": "Error group id",
355
+ "name": "id",
356
+ "required": true
357
+ }
358
+ },
359
+ "description": "Unmute an error group",
360
+ "examples": [
361
+ "<%= config.bin %> errors unmute <group-id> --project acme-api"
362
+ ],
363
+ "flags": {
364
+ "json": {
365
+ "description": "Format output as json.",
366
+ "helpGroup": "GLOBAL",
367
+ "name": "json",
368
+ "allowNo": false,
369
+ "type": "boolean"
370
+ },
371
+ "project": {
372
+ "char": "p",
373
+ "description": "Project id (UUID) or key",
374
+ "name": "project",
375
+ "required": true,
376
+ "hasDynamicHelp": false,
377
+ "multiple": false,
378
+ "type": "option"
379
+ }
380
+ },
381
+ "hasDynamicHelp": false,
382
+ "hiddenAliases": [],
383
+ "id": "errors:unmute",
384
+ "pluginAlias": "@bussolabs/closeyourit-cli",
385
+ "pluginName": "@bussolabs/closeyourit-cli",
386
+ "pluginType": "core",
387
+ "strict": true,
388
+ "enableJsonFlag": true,
389
+ "isESM": false,
390
+ "relativePath": [
391
+ "dist",
392
+ "commands",
393
+ "errors",
394
+ "unmute.js"
395
+ ]
396
+ },
397
+ "groups:create": {
398
+ "aliases": [],
399
+ "args": {
400
+ "name": {
401
+ "description": "Group name",
402
+ "name": "name",
403
+ "required": true
404
+ }
405
+ },
406
+ "description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
407
+ "examples": [
408
+ "<%= config.bin %> groups create DriverOne",
409
+ "<%= config.bin %> groups create DriverOne --color indigo"
410
+ ],
411
+ "flags": {
412
+ "json": {
413
+ "description": "Format output as json.",
414
+ "helpGroup": "GLOBAL",
415
+ "name": "json",
416
+ "allowNo": false,
417
+ "type": "boolean"
418
+ },
419
+ "color": {
420
+ "description": "Color label",
421
+ "name": "color",
422
+ "hasDynamicHelp": false,
423
+ "multiple": false,
424
+ "type": "option"
425
+ }
426
+ },
427
+ "hasDynamicHelp": false,
428
+ "hiddenAliases": [],
429
+ "id": "groups:create",
430
+ "pluginAlias": "@bussolabs/closeyourit-cli",
431
+ "pluginName": "@bussolabs/closeyourit-cli",
432
+ "pluginType": "core",
433
+ "strict": true,
434
+ "enableJsonFlag": true,
435
+ "isESM": false,
436
+ "relativePath": [
437
+ "dist",
438
+ "commands",
439
+ "groups",
440
+ "create.js"
441
+ ]
442
+ },
443
+ "groups:list": {
444
+ "aliases": [],
445
+ "args": {},
446
+ "description": "List the groups (macro-projects) in your organization",
447
+ "examples": [
448
+ "<%= config.bin %> groups list",
449
+ "<%= config.bin %> groups list --page 2 --json"
450
+ ],
451
+ "flags": {
452
+ "json": {
453
+ "description": "Format output as json.",
454
+ "helpGroup": "GLOBAL",
455
+ "name": "json",
456
+ "allowNo": false,
457
+ "type": "boolean"
458
+ },
459
+ "page": {
460
+ "description": "Page number",
461
+ "name": "page",
462
+ "default": 1,
463
+ "hasDynamicHelp": false,
464
+ "multiple": false,
465
+ "type": "option"
466
+ }
467
+ },
468
+ "hasDynamicHelp": false,
469
+ "hiddenAliases": [],
470
+ "id": "groups:list",
471
+ "pluginAlias": "@bussolabs/closeyourit-cli",
472
+ "pluginName": "@bussolabs/closeyourit-cli",
473
+ "pluginType": "core",
474
+ "strict": true,
475
+ "enableJsonFlag": true,
476
+ "isESM": false,
477
+ "relativePath": [
478
+ "dist",
479
+ "commands",
480
+ "groups",
481
+ "list.js"
482
+ ]
483
+ },
484
+ "invitations:create": {
485
+ "aliases": [],
486
+ "args": {
487
+ "email": {
488
+ "description": "Email address to invite",
489
+ "name": "email",
490
+ "required": true
491
+ }
492
+ },
493
+ "description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
494
+ "examples": [
495
+ "<%= config.bin %> invitations create client@acme.com",
496
+ "<%= config.bin %> invitations create teammate@acme.com --role member"
497
+ ],
498
+ "flags": {
499
+ "json": {
500
+ "description": "Format output as json.",
501
+ "helpGroup": "GLOBAL",
502
+ "name": "json",
503
+ "allowNo": false,
504
+ "type": "boolean"
505
+ },
506
+ "role": {
507
+ "description": "Membership role",
508
+ "name": "role",
509
+ "default": "customer",
510
+ "hasDynamicHelp": false,
511
+ "multiple": false,
512
+ "options": [
513
+ "customer",
514
+ "member",
515
+ "admin"
516
+ ],
517
+ "type": "option"
518
+ }
519
+ },
520
+ "hasDynamicHelp": false,
521
+ "hiddenAliases": [],
522
+ "id": "invitations:create",
523
+ "pluginAlias": "@bussolabs/closeyourit-cli",
524
+ "pluginName": "@bussolabs/closeyourit-cli",
525
+ "pluginType": "core",
526
+ "strict": true,
527
+ "enableJsonFlag": true,
528
+ "isESM": false,
529
+ "relativePath": [
530
+ "dist",
531
+ "commands",
532
+ "invitations",
533
+ "create.js"
534
+ ]
535
+ },
536
+ "invitations:list": {
537
+ "aliases": [],
538
+ "args": {},
539
+ "description": "List the pending/accepted invitations of your organization",
540
+ "examples": [
541
+ "<%= config.bin %> invitations list",
542
+ "<%= config.bin %> invitations list --json"
543
+ ],
544
+ "flags": {
545
+ "json": {
546
+ "description": "Format output as json.",
547
+ "helpGroup": "GLOBAL",
548
+ "name": "json",
549
+ "allowNo": false,
550
+ "type": "boolean"
551
+ },
552
+ "page": {
553
+ "description": "Page number",
554
+ "name": "page",
555
+ "default": 1,
556
+ "hasDynamicHelp": false,
557
+ "multiple": false,
558
+ "type": "option"
559
+ }
560
+ },
561
+ "hasDynamicHelp": false,
562
+ "hiddenAliases": [],
563
+ "id": "invitations:list",
564
+ "pluginAlias": "@bussolabs/closeyourit-cli",
565
+ "pluginName": "@bussolabs/closeyourit-cli",
566
+ "pluginType": "core",
567
+ "strict": true,
568
+ "enableJsonFlag": true,
569
+ "isESM": false,
570
+ "relativePath": [
571
+ "dist",
572
+ "commands",
573
+ "invitations",
574
+ "list.js"
575
+ ]
576
+ },
577
+ "invitations:revoke": {
578
+ "aliases": [],
579
+ "args": {
580
+ "id": {
581
+ "description": "Invitation id (UUID)",
582
+ "name": "id",
583
+ "required": true
584
+ }
585
+ },
586
+ "description": "Revoke a pending invitation",
587
+ "examples": [
588
+ "<%= config.bin %> invitations revoke <invitation-uuid>"
589
+ ],
590
+ "flags": {
591
+ "json": {
592
+ "description": "Format output as json.",
593
+ "helpGroup": "GLOBAL",
594
+ "name": "json",
595
+ "allowNo": false,
596
+ "type": "boolean"
597
+ }
598
+ },
599
+ "hasDynamicHelp": false,
600
+ "hiddenAliases": [],
601
+ "id": "invitations:revoke",
602
+ "pluginAlias": "@bussolabs/closeyourit-cli",
603
+ "pluginName": "@bussolabs/closeyourit-cli",
604
+ "pluginType": "core",
605
+ "strict": true,
606
+ "enableJsonFlag": true,
607
+ "isESM": false,
608
+ "relativePath": [
609
+ "dist",
610
+ "commands",
611
+ "invitations",
612
+ "revoke.js"
613
+ ]
614
+ },
615
+ "members:list": {
616
+ "aliases": [],
617
+ "args": {},
618
+ "description": "List the members of your organization (to resolve emails to account ids)",
619
+ "examples": [
620
+ "<%= config.bin %> members list",
621
+ "<%= config.bin %> members list --json"
622
+ ],
623
+ "flags": {
624
+ "json": {
625
+ "description": "Format output as json.",
626
+ "helpGroup": "GLOBAL",
627
+ "name": "json",
628
+ "allowNo": false,
629
+ "type": "boolean"
630
+ },
631
+ "page": {
632
+ "description": "Page number",
633
+ "name": "page",
634
+ "default": 1,
635
+ "hasDynamicHelp": false,
636
+ "multiple": false,
637
+ "type": "option"
638
+ }
639
+ },
640
+ "hasDynamicHelp": false,
641
+ "hiddenAliases": [],
642
+ "id": "members:list",
643
+ "pluginAlias": "@bussolabs/closeyourit-cli",
644
+ "pluginName": "@bussolabs/closeyourit-cli",
645
+ "pluginType": "core",
646
+ "strict": true,
647
+ "enableJsonFlag": true,
648
+ "isESM": false,
649
+ "relativePath": [
650
+ "dist",
651
+ "commands",
652
+ "members",
653
+ "list.js"
654
+ ]
655
+ },
656
+ "metrics:list": {
657
+ "aliases": [],
658
+ "args": {},
659
+ "description": "List performance metric groups (slow queries/methods) for a project",
660
+ "examples": [
661
+ "<%= config.bin %> metrics list --project acme-api",
662
+ "<%= config.bin %> metrics list -p acme-api --kind sql --json"
663
+ ],
664
+ "flags": {
665
+ "json": {
666
+ "description": "Format output as json.",
667
+ "helpGroup": "GLOBAL",
668
+ "name": "json",
669
+ "allowNo": false,
670
+ "type": "boolean"
671
+ },
672
+ "project": {
673
+ "char": "p",
674
+ "description": "Project id (UUID) or key",
675
+ "name": "project",
676
+ "required": true,
677
+ "hasDynamicHelp": false,
678
+ "multiple": false,
679
+ "type": "option"
680
+ },
681
+ "page": {
682
+ "description": "Page number",
683
+ "name": "page",
684
+ "default": 1,
685
+ "hasDynamicHelp": false,
686
+ "multiple": false,
687
+ "type": "option"
688
+ },
689
+ "kind": {
690
+ "description": "Filter by metric kind (e.g. sql, method)",
691
+ "name": "kind",
692
+ "hasDynamicHelp": false,
693
+ "multiple": false,
694
+ "type": "option"
695
+ }
696
+ },
697
+ "hasDynamicHelp": false,
698
+ "hiddenAliases": [],
699
+ "id": "metrics:list",
700
+ "pluginAlias": "@bussolabs/closeyourit-cli",
701
+ "pluginName": "@bussolabs/closeyourit-cli",
702
+ "pluginType": "core",
703
+ "strict": true,
704
+ "enableJsonFlag": true,
705
+ "isESM": false,
706
+ "relativePath": [
707
+ "dist",
708
+ "commands",
709
+ "metrics",
710
+ "list.js"
711
+ ]
712
+ },
713
+ "metrics:show": {
714
+ "aliases": [],
715
+ "args": {
716
+ "id": {
717
+ "description": "Metric group id",
718
+ "name": "id",
719
+ "required": true
720
+ }
721
+ },
722
+ "description": "Show a single metric group",
723
+ "examples": [
724
+ "<%= config.bin %> metrics show <group-id> --project acme-api"
725
+ ],
726
+ "flags": {
727
+ "json": {
728
+ "description": "Format output as json.",
729
+ "helpGroup": "GLOBAL",
730
+ "name": "json",
731
+ "allowNo": false,
732
+ "type": "boolean"
733
+ },
734
+ "project": {
735
+ "char": "p",
736
+ "description": "Project id (UUID) or key",
737
+ "name": "project",
738
+ "required": true,
739
+ "hasDynamicHelp": false,
740
+ "multiple": false,
741
+ "type": "option"
742
+ }
743
+ },
744
+ "hasDynamicHelp": false,
745
+ "hiddenAliases": [],
746
+ "id": "metrics:show",
747
+ "pluginAlias": "@bussolabs/closeyourit-cli",
748
+ "pluginName": "@bussolabs/closeyourit-cli",
749
+ "pluginType": "core",
750
+ "strict": true,
751
+ "enableJsonFlag": true,
752
+ "isESM": false,
753
+ "relativePath": [
754
+ "dist",
755
+ "commands",
756
+ "metrics",
757
+ "show.js"
758
+ ]
759
+ },
760
+ "roles:create": {
761
+ "aliases": [],
762
+ "args": {
763
+ "name": {
764
+ "description": "Role name",
765
+ "name": "name",
766
+ "required": true
767
+ }
768
+ },
769
+ "description": "Create an RBAC role (a named bundle of permission keys)",
770
+ "examples": [
771
+ "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
772
+ ],
773
+ "flags": {
774
+ "json": {
775
+ "description": "Format output as json.",
776
+ "helpGroup": "GLOBAL",
777
+ "name": "json",
778
+ "allowNo": false,
779
+ "type": "boolean"
780
+ },
781
+ "color": {
782
+ "description": "Color label",
783
+ "name": "color",
784
+ "hasDynamicHelp": false,
785
+ "multiple": false,
786
+ "type": "option"
787
+ },
788
+ "permission": {
789
+ "description": "Permission key from the catalog (repeatable)",
790
+ "name": "permission",
791
+ "hasDynamicHelp": false,
792
+ "multiple": true,
793
+ "type": "option"
794
+ }
795
+ },
796
+ "hasDynamicHelp": false,
797
+ "hiddenAliases": [],
798
+ "id": "roles:create",
799
+ "pluginAlias": "@bussolabs/closeyourit-cli",
800
+ "pluginName": "@bussolabs/closeyourit-cli",
801
+ "pluginType": "core",
802
+ "strict": true,
803
+ "enableJsonFlag": true,
804
+ "isESM": false,
805
+ "relativePath": [
806
+ "dist",
807
+ "commands",
808
+ "roles",
809
+ "create.js"
810
+ ]
811
+ },
812
+ "roles:delete": {
813
+ "aliases": [],
814
+ "args": {
815
+ "role": {
816
+ "description": "Role id (UUID) or name",
817
+ "name": "role",
818
+ "required": true
819
+ }
820
+ },
821
+ "description": "Delete a role (its assignments to teams and accounts are removed)",
822
+ "examples": [
823
+ "<%= config.bin %> roles delete Client"
824
+ ],
825
+ "flags": {
826
+ "json": {
827
+ "description": "Format output as json.",
828
+ "helpGroup": "GLOBAL",
829
+ "name": "json",
830
+ "allowNo": false,
831
+ "type": "boolean"
832
+ }
833
+ },
834
+ "hasDynamicHelp": false,
835
+ "hiddenAliases": [],
836
+ "id": "roles:delete",
837
+ "pluginAlias": "@bussolabs/closeyourit-cli",
838
+ "pluginName": "@bussolabs/closeyourit-cli",
839
+ "pluginType": "core",
840
+ "strict": true,
841
+ "enableJsonFlag": true,
842
+ "isESM": false,
843
+ "relativePath": [
844
+ "dist",
845
+ "commands",
846
+ "roles",
847
+ "delete.js"
848
+ ]
849
+ },
850
+ "roles:list": {
851
+ "aliases": [],
852
+ "args": {},
853
+ "description": "List the RBAC roles in your organization",
854
+ "examples": [
855
+ "<%= config.bin %> roles list",
856
+ "<%= config.bin %> roles list --json"
857
+ ],
858
+ "flags": {
859
+ "json": {
860
+ "description": "Format output as json.",
861
+ "helpGroup": "GLOBAL",
862
+ "name": "json",
863
+ "allowNo": false,
864
+ "type": "boolean"
865
+ },
866
+ "page": {
867
+ "description": "Page number",
868
+ "name": "page",
869
+ "default": 1,
870
+ "hasDynamicHelp": false,
871
+ "multiple": false,
872
+ "type": "option"
873
+ }
874
+ },
875
+ "hasDynamicHelp": false,
876
+ "hiddenAliases": [],
877
+ "id": "roles:list",
878
+ "pluginAlias": "@bussolabs/closeyourit-cli",
879
+ "pluginName": "@bussolabs/closeyourit-cli",
880
+ "pluginType": "core",
881
+ "strict": true,
882
+ "enableJsonFlag": true,
883
+ "isESM": false,
884
+ "relativePath": [
885
+ "dist",
886
+ "commands",
887
+ "roles",
888
+ "list.js"
889
+ ]
890
+ },
891
+ "roles:show": {
892
+ "aliases": [],
893
+ "args": {
894
+ "role": {
895
+ "description": "Role id (UUID) or name",
896
+ "name": "role",
897
+ "required": true
898
+ }
899
+ },
900
+ "description": "Show a role by id or name (with its permission keys)",
901
+ "examples": [
902
+ "<%= config.bin %> roles show Client"
903
+ ],
904
+ "flags": {
905
+ "json": {
906
+ "description": "Format output as json.",
907
+ "helpGroup": "GLOBAL",
908
+ "name": "json",
909
+ "allowNo": false,
910
+ "type": "boolean"
911
+ }
912
+ },
913
+ "hasDynamicHelp": false,
914
+ "hiddenAliases": [],
915
+ "id": "roles:show",
916
+ "pluginAlias": "@bussolabs/closeyourit-cli",
917
+ "pluginName": "@bussolabs/closeyourit-cli",
918
+ "pluginType": "core",
919
+ "strict": true,
920
+ "enableJsonFlag": true,
921
+ "isESM": false,
922
+ "relativePath": [
923
+ "dist",
924
+ "commands",
925
+ "roles",
926
+ "show.js"
927
+ ]
928
+ },
929
+ "roles:update": {
930
+ "aliases": [],
931
+ "args": {
932
+ "role": {
933
+ "description": "Role id (UUID) or name",
934
+ "name": "role",
935
+ "required": true
936
+ }
937
+ },
938
+ "description": "Update a role (rename, recolor, or replace its permission keys)",
939
+ "examples": [
940
+ "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
941
+ "<%= config.bin %> roles update Client --name \"Client manager\""
942
+ ],
943
+ "flags": {
944
+ "json": {
945
+ "description": "Format output as json.",
946
+ "helpGroup": "GLOBAL",
947
+ "name": "json",
948
+ "allowNo": false,
949
+ "type": "boolean"
950
+ },
951
+ "color": {
952
+ "description": "Color label",
953
+ "name": "color",
954
+ "hasDynamicHelp": false,
955
+ "multiple": false,
956
+ "type": "option"
957
+ },
958
+ "name": {
959
+ "description": "New name",
960
+ "name": "name",
961
+ "hasDynamicHelp": false,
962
+ "multiple": false,
963
+ "type": "option"
964
+ },
965
+ "permission": {
966
+ "description": "Permission key (repeatable); when given, REPLACES the whole set",
967
+ "name": "permission",
968
+ "hasDynamicHelp": false,
969
+ "multiple": true,
970
+ "type": "option"
971
+ }
972
+ },
973
+ "hasDynamicHelp": false,
974
+ "hiddenAliases": [],
975
+ "id": "roles:update",
976
+ "pluginAlias": "@bussolabs/closeyourit-cli",
977
+ "pluginName": "@bussolabs/closeyourit-cli",
978
+ "pluginType": "core",
979
+ "strict": true,
980
+ "enableJsonFlag": true,
981
+ "isESM": false,
982
+ "relativePath": [
983
+ "dist",
984
+ "commands",
985
+ "roles",
986
+ "update.js"
987
+ ]
988
+ },
989
+ "tickets:create": {
990
+ "aliases": [],
991
+ "args": {},
992
+ "description": "Create a ticket",
993
+ "examples": [
994
+ "<%= config.bin %> tickets create --project acme-api --title \"Checkout fails\"",
995
+ "<%= config.bin %> tickets create -p acme-api --title \"Login bug\" --kind bug --step-given \"logged out\" --step-when \"I submit\" --step-then \"it 500s\""
996
+ ],
997
+ "flags": {
998
+ "json": {
999
+ "description": "Format output as json.",
1000
+ "helpGroup": "GLOBAL",
1001
+ "name": "json",
1002
+ "allowNo": false,
1003
+ "type": "boolean"
1004
+ },
1005
+ "project": {
1006
+ "char": "p",
1007
+ "description": "Project id (UUID) or key",
1008
+ "name": "project",
1009
+ "required": true,
1010
+ "hasDynamicHelp": false,
1011
+ "multiple": false,
1012
+ "type": "option"
1013
+ },
1014
+ "title": {
1015
+ "description": "Ticket title",
1016
+ "name": "title",
1017
+ "required": true,
1018
+ "hasDynamicHelp": false,
1019
+ "multiple": false,
1020
+ "type": "option"
1021
+ },
1022
+ "kind": {
1023
+ "description": "Ticket kind",
1024
+ "name": "kind",
1025
+ "default": "bug",
1026
+ "hasDynamicHelp": false,
1027
+ "multiple": false,
1028
+ "type": "option"
1029
+ },
1030
+ "description": {
1031
+ "description": "Free-form description",
1032
+ "name": "description",
1033
+ "hasDynamicHelp": false,
1034
+ "multiple": false,
1035
+ "type": "option"
1036
+ },
1037
+ "step-given": {
1038
+ "description": "Given (precondition)",
1039
+ "name": "step-given",
1040
+ "hasDynamicHelp": false,
1041
+ "multiple": false,
1042
+ "type": "option"
1043
+ },
1044
+ "step-when": {
1045
+ "description": "When (action)",
1046
+ "name": "step-when",
1047
+ "hasDynamicHelp": false,
1048
+ "multiple": false,
1049
+ "type": "option"
1050
+ },
1051
+ "step-then": {
1052
+ "description": "Then (outcome)",
1053
+ "name": "step-then",
1054
+ "hasDynamicHelp": false,
1055
+ "multiple": false,
1056
+ "type": "option"
1057
+ },
1058
+ "step-expected": {
1059
+ "description": "Expected result",
1060
+ "name": "step-expected",
1061
+ "hasDynamicHelp": false,
1062
+ "multiple": false,
1063
+ "type": "option"
1064
+ },
1065
+ "status-id": {
1066
+ "description": "Status lookup id",
1067
+ "name": "status-id",
1068
+ "hasDynamicHelp": false,
1069
+ "multiple": false,
1070
+ "type": "option"
1071
+ },
1072
+ "priority-id": {
1073
+ "description": "Priority lookup id",
1074
+ "name": "priority-id",
1075
+ "hasDynamicHelp": false,
1076
+ "multiple": false,
1077
+ "type": "option"
1078
+ }
1079
+ },
1080
+ "hasDynamicHelp": false,
1081
+ "hiddenAliases": [],
1082
+ "id": "tickets:create",
1083
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1084
+ "pluginName": "@bussolabs/closeyourit-cli",
1085
+ "pluginType": "core",
1086
+ "strict": true,
1087
+ "enableJsonFlag": true,
1088
+ "isESM": false,
1089
+ "relativePath": [
1090
+ "dist",
1091
+ "commands",
1092
+ "tickets",
1093
+ "create.js"
1094
+ ]
1095
+ },
1096
+ "tickets:list": {
1097
+ "aliases": [],
1098
+ "args": {},
1099
+ "description": "List tickets for a project",
1100
+ "examples": [
1101
+ "<%= config.bin %> tickets list --project acme-api",
1102
+ "<%= config.bin %> tickets list -p acme-api --json"
1103
+ ],
1104
+ "flags": {
1105
+ "json": {
1106
+ "description": "Format output as json.",
1107
+ "helpGroup": "GLOBAL",
1108
+ "name": "json",
1109
+ "allowNo": false,
1110
+ "type": "boolean"
1111
+ },
1112
+ "project": {
1113
+ "char": "p",
1114
+ "description": "Project id (UUID) or key",
1115
+ "name": "project",
1116
+ "required": true,
1117
+ "hasDynamicHelp": false,
1118
+ "multiple": false,
1119
+ "type": "option"
1120
+ },
1121
+ "page": {
1122
+ "description": "Page number",
1123
+ "name": "page",
1124
+ "default": 1,
1125
+ "hasDynamicHelp": false,
1126
+ "multiple": false,
1127
+ "type": "option"
1128
+ }
1129
+ },
1130
+ "hasDynamicHelp": false,
1131
+ "hiddenAliases": [],
1132
+ "id": "tickets:list",
1133
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1134
+ "pluginName": "@bussolabs/closeyourit-cli",
1135
+ "pluginType": "core",
1136
+ "strict": true,
1137
+ "enableJsonFlag": true,
1138
+ "isESM": false,
1139
+ "relativePath": [
1140
+ "dist",
1141
+ "commands",
1142
+ "tickets",
1143
+ "list.js"
1144
+ ]
1145
+ },
1146
+ "tickets:show": {
1147
+ "aliases": [],
1148
+ "args": {
1149
+ "id": {
1150
+ "description": "Ticket id or code",
1151
+ "name": "id",
1152
+ "required": true
1153
+ }
1154
+ },
1155
+ "description": "Show a single ticket",
1156
+ "examples": [
1157
+ "<%= config.bin %> tickets show <ticket-id> --project acme-api"
1158
+ ],
1159
+ "flags": {
1160
+ "json": {
1161
+ "description": "Format output as json.",
1162
+ "helpGroup": "GLOBAL",
1163
+ "name": "json",
1164
+ "allowNo": false,
1165
+ "type": "boolean"
1166
+ },
1167
+ "project": {
1168
+ "char": "p",
1169
+ "description": "Project id (UUID) or key",
1170
+ "name": "project",
1171
+ "required": true,
1172
+ "hasDynamicHelp": false,
1173
+ "multiple": false,
1174
+ "type": "option"
1175
+ }
1176
+ },
1177
+ "hasDynamicHelp": false,
1178
+ "hiddenAliases": [],
1179
+ "id": "tickets:show",
1180
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1181
+ "pluginName": "@bussolabs/closeyourit-cli",
1182
+ "pluginType": "core",
1183
+ "strict": true,
1184
+ "enableJsonFlag": true,
1185
+ "isESM": false,
1186
+ "relativePath": [
1187
+ "dist",
1188
+ "commands",
1189
+ "tickets",
1190
+ "show.js"
1191
+ ]
1192
+ },
1193
+ "projects:create": {
1194
+ "aliases": [],
1195
+ "args": {
1196
+ "name": {
1197
+ "description": "Project name",
1198
+ "name": "name",
1199
+ "required": true
1200
+ }
1201
+ },
1202
+ "description": "Create a project (optionally inside a group)",
1203
+ "examples": [
1204
+ "<%= config.bin %> projects create driverone-rails --key DRRA",
1205
+ "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
1206
+ "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
1207
+ ],
1208
+ "flags": {
1209
+ "json": {
1210
+ "description": "Format output as json.",
1211
+ "helpGroup": "GLOBAL",
1212
+ "name": "json",
1213
+ "allowNo": false,
1214
+ "type": "boolean"
1215
+ },
1216
+ "color": {
1217
+ "description": "Color label",
1218
+ "name": "color",
1219
+ "hasDynamicHelp": false,
1220
+ "multiple": false,
1221
+ "type": "option"
1222
+ },
1223
+ "description": {
1224
+ "description": "Free-form description",
1225
+ "name": "description",
1226
+ "hasDynamicHelp": false,
1227
+ "multiple": false,
1228
+ "type": "option"
1229
+ },
1230
+ "group": {
1231
+ "char": "g",
1232
+ "description": "Group id (UUID) or name to place the project in",
1233
+ "name": "group",
1234
+ "hasDynamicHelp": false,
1235
+ "multiple": false,
1236
+ "type": "option"
1237
+ },
1238
+ "key": {
1239
+ "char": "k",
1240
+ "description": "Project key (uppercase A-Z0-9, unique per org; derived from the name if omitted)",
1241
+ "name": "key",
1242
+ "hasDynamicHelp": false,
1243
+ "multiple": false,
1244
+ "type": "option"
1245
+ }
1246
+ },
1247
+ "hasDynamicHelp": false,
1248
+ "hiddenAliases": [],
1249
+ "id": "projects:create",
1250
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1251
+ "pluginName": "@bussolabs/closeyourit-cli",
1252
+ "pluginType": "core",
1253
+ "strict": true,
1254
+ "enableJsonFlag": true,
1255
+ "isESM": false,
1256
+ "relativePath": [
1257
+ "dist",
1258
+ "commands",
1259
+ "projects",
1260
+ "create.js"
1261
+ ]
1262
+ },
1263
+ "projects:list": {
1264
+ "aliases": [],
1265
+ "args": {},
1266
+ "description": "List the projects visible to you",
1267
+ "examples": [
1268
+ "<%= config.bin %> projects list",
1269
+ "<%= config.bin %> projects list --page 2 --json"
1270
+ ],
1271
+ "flags": {
1272
+ "json": {
1273
+ "description": "Format output as json.",
1274
+ "helpGroup": "GLOBAL",
1275
+ "name": "json",
1276
+ "allowNo": false,
1277
+ "type": "boolean"
1278
+ },
1279
+ "page": {
1280
+ "description": "Page number",
1281
+ "name": "page",
1282
+ "default": 1,
1283
+ "hasDynamicHelp": false,
1284
+ "multiple": false,
1285
+ "type": "option"
1286
+ }
1287
+ },
1288
+ "hasDynamicHelp": false,
1289
+ "hiddenAliases": [],
1290
+ "id": "projects:list",
1291
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1292
+ "pluginName": "@bussolabs/closeyourit-cli",
1293
+ "pluginType": "core",
1294
+ "strict": true,
1295
+ "enableJsonFlag": true,
1296
+ "isESM": false,
1297
+ "relativePath": [
1298
+ "dist",
1299
+ "commands",
1300
+ "projects",
1301
+ "list.js"
1302
+ ]
1303
+ },
1304
+ "projects:set-environments": {
1305
+ "aliases": [],
1306
+ "args": {},
1307
+ "description": "Declare the environments a project receives data from (replaces the current set)",
1308
+ "examples": [
1309
+ "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
1310
+ "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
1311
+ ],
1312
+ "flags": {
1313
+ "json": {
1314
+ "description": "Format output as json.",
1315
+ "helpGroup": "GLOBAL",
1316
+ "name": "json",
1317
+ "allowNo": false,
1318
+ "type": "boolean"
1319
+ },
1320
+ "project": {
1321
+ "char": "p",
1322
+ "description": "Project id (UUID) or key",
1323
+ "name": "project",
1324
+ "required": true,
1325
+ "hasDynamicHelp": false,
1326
+ "multiple": false,
1327
+ "type": "option"
1328
+ },
1329
+ "code": {
1330
+ "description": "Environment code, e.g. production (repeatable)",
1331
+ "name": "code",
1332
+ "default": [],
1333
+ "hasDynamicHelp": false,
1334
+ "multiple": true,
1335
+ "type": "option"
1336
+ },
1337
+ "environment-id": {
1338
+ "description": "Environment id / UUID (repeatable)",
1339
+ "name": "environment-id",
1340
+ "default": [],
1341
+ "hasDynamicHelp": false,
1342
+ "multiple": true,
1343
+ "type": "option"
1344
+ }
1345
+ },
1346
+ "hasDynamicHelp": false,
1347
+ "hiddenAliases": [],
1348
+ "id": "projects:set-environments",
1349
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1350
+ "pluginName": "@bussolabs/closeyourit-cli",
1351
+ "pluginType": "core",
1352
+ "strict": true,
1353
+ "enableJsonFlag": true,
1354
+ "isESM": false,
1355
+ "relativePath": [
1356
+ "dist",
1357
+ "commands",
1358
+ "projects",
1359
+ "set-environments.js"
1360
+ ]
1361
+ },
1362
+ "projects:show": {
1363
+ "aliases": [],
1364
+ "args": {
1365
+ "id": {
1366
+ "description": "Project id (UUID) or key",
1367
+ "name": "id",
1368
+ "required": true
1369
+ }
1370
+ },
1371
+ "description": "Show a single project by id or key",
1372
+ "examples": [
1373
+ "<%= config.bin %> projects show acme-api",
1374
+ "<%= config.bin %> projects show <uuid> --json"
1375
+ ],
1376
+ "flags": {
1377
+ "json": {
1378
+ "description": "Format output as json.",
1379
+ "helpGroup": "GLOBAL",
1380
+ "name": "json",
1381
+ "allowNo": false,
1382
+ "type": "boolean"
1383
+ }
1384
+ },
1385
+ "hasDynamicHelp": false,
1386
+ "hiddenAliases": [],
1387
+ "id": "projects:show",
1388
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1389
+ "pluginName": "@bussolabs/closeyourit-cli",
1390
+ "pluginType": "core",
1391
+ "strict": true,
1392
+ "enableJsonFlag": true,
1393
+ "isESM": false,
1394
+ "relativePath": [
1395
+ "dist",
1396
+ "commands",
1397
+ "projects",
1398
+ "show.js"
1399
+ ]
1400
+ },
1401
+ "tokens:create": {
1402
+ "aliases": [],
1403
+ "args": {},
1404
+ "description": "Create an ingest token (the secret is shown only once)",
1405
+ "examples": [
1406
+ "<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
1407
+ ],
1408
+ "flags": {
1409
+ "json": {
1410
+ "description": "Format output as json.",
1411
+ "helpGroup": "GLOBAL",
1412
+ "name": "json",
1413
+ "allowNo": false,
1414
+ "type": "boolean"
1415
+ },
1416
+ "project": {
1417
+ "char": "p",
1418
+ "description": "Project id (UUID) or key",
1419
+ "name": "project",
1420
+ "required": true,
1421
+ "hasDynamicHelp": false,
1422
+ "multiple": false,
1423
+ "type": "option"
1424
+ },
1425
+ "name": {
1426
+ "description": "Human-readable token name",
1427
+ "name": "name",
1428
+ "required": true,
1429
+ "hasDynamicHelp": false,
1430
+ "multiple": false,
1431
+ "type": "option"
1432
+ },
1433
+ "environment-id": {
1434
+ "description": "Environment id the token is scoped to",
1435
+ "name": "environment-id",
1436
+ "required": true,
1437
+ "hasDynamicHelp": false,
1438
+ "multiple": false,
1439
+ "type": "option"
1440
+ }
1441
+ },
1442
+ "hasDynamicHelp": false,
1443
+ "hiddenAliases": [],
1444
+ "id": "tokens:create",
1445
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1446
+ "pluginName": "@bussolabs/closeyourit-cli",
1447
+ "pluginType": "core",
1448
+ "strict": true,
1449
+ "enableJsonFlag": true,
1450
+ "isESM": false,
1451
+ "relativePath": [
1452
+ "dist",
1453
+ "commands",
1454
+ "tokens",
1455
+ "create.js"
1456
+ ]
1457
+ },
1458
+ "tokens:list": {
1459
+ "aliases": [],
1460
+ "args": {},
1461
+ "description": "List ingest tokens for a project",
1462
+ "examples": [
1463
+ "<%= config.bin %> tokens list --project acme-api",
1464
+ "<%= config.bin %> tokens list -p acme-api --json"
1465
+ ],
1466
+ "flags": {
1467
+ "json": {
1468
+ "description": "Format output as json.",
1469
+ "helpGroup": "GLOBAL",
1470
+ "name": "json",
1471
+ "allowNo": false,
1472
+ "type": "boolean"
1473
+ },
1474
+ "project": {
1475
+ "char": "p",
1476
+ "description": "Project id (UUID) or key",
1477
+ "name": "project",
1478
+ "required": true,
1479
+ "hasDynamicHelp": false,
1480
+ "multiple": false,
1481
+ "type": "option"
1482
+ }
1483
+ },
1484
+ "hasDynamicHelp": false,
1485
+ "hiddenAliases": [],
1486
+ "id": "tokens:list",
1487
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1488
+ "pluginName": "@bussolabs/closeyourit-cli",
1489
+ "pluginType": "core",
1490
+ "strict": true,
1491
+ "enableJsonFlag": true,
1492
+ "isESM": false,
1493
+ "relativePath": [
1494
+ "dist",
1495
+ "commands",
1496
+ "tokens",
1497
+ "list.js"
1498
+ ]
1499
+ },
1500
+ "tokens:revoke": {
1501
+ "aliases": [],
1502
+ "args": {
1503
+ "id": {
1504
+ "description": "Token id",
1505
+ "name": "id",
1506
+ "required": true
1507
+ }
1508
+ },
1509
+ "description": "Revoke an ingest token",
1510
+ "examples": [
1511
+ "<%= config.bin %> tokens revoke <token-id> --project acme-api"
1512
+ ],
1513
+ "flags": {
1514
+ "json": {
1515
+ "description": "Format output as json.",
1516
+ "helpGroup": "GLOBAL",
1517
+ "name": "json",
1518
+ "allowNo": false,
1519
+ "type": "boolean"
1520
+ },
1521
+ "project": {
1522
+ "char": "p",
1523
+ "description": "Project id (UUID) or key",
1524
+ "name": "project",
1525
+ "required": true,
1526
+ "hasDynamicHelp": false,
1527
+ "multiple": false,
1528
+ "type": "option"
1529
+ }
1530
+ },
1531
+ "hasDynamicHelp": false,
1532
+ "hiddenAliases": [],
1533
+ "id": "tokens:revoke",
1534
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1535
+ "pluginName": "@bussolabs/closeyourit-cli",
1536
+ "pluginType": "core",
1537
+ "strict": true,
1538
+ "enableJsonFlag": true,
1539
+ "isESM": false,
1540
+ "relativePath": [
1541
+ "dist",
1542
+ "commands",
1543
+ "tokens",
1544
+ "revoke.js"
1545
+ ]
1546
+ },
1547
+ "tokens:rotate": {
1548
+ "aliases": [],
1549
+ "args": {
1550
+ "id": {
1551
+ "description": "Token id",
1552
+ "name": "id",
1553
+ "required": true
1554
+ }
1555
+ },
1556
+ "description": "Rotate an ingest token (the new secret is shown only once)",
1557
+ "examples": [
1558
+ "<%= config.bin %> tokens rotate <token-id> --project acme-api"
1559
+ ],
1560
+ "flags": {
1561
+ "json": {
1562
+ "description": "Format output as json.",
1563
+ "helpGroup": "GLOBAL",
1564
+ "name": "json",
1565
+ "allowNo": false,
1566
+ "type": "boolean"
1567
+ },
1568
+ "project": {
1569
+ "char": "p",
1570
+ "description": "Project id (UUID) or key",
1571
+ "name": "project",
1572
+ "required": true,
1573
+ "hasDynamicHelp": false,
1574
+ "multiple": false,
1575
+ "type": "option"
1576
+ }
1577
+ },
1578
+ "hasDynamicHelp": false,
1579
+ "hiddenAliases": [],
1580
+ "id": "tokens:rotate",
1581
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1582
+ "pluginName": "@bussolabs/closeyourit-cli",
1583
+ "pluginType": "core",
1584
+ "strict": true,
1585
+ "enableJsonFlag": true,
1586
+ "isESM": false,
1587
+ "relativePath": [
1588
+ "dist",
1589
+ "commands",
1590
+ "tokens",
1591
+ "rotate.js"
1592
+ ]
1593
+ },
1594
+ "teams:add-member": {
1595
+ "aliases": [],
1596
+ "args": {
1597
+ "team": {
1598
+ "description": "Team id (UUID) or name",
1599
+ "name": "team",
1600
+ "required": true
1601
+ },
1602
+ "member": {
1603
+ "description": "Member account id or email (must be an org member)",
1604
+ "name": "member",
1605
+ "required": true
1606
+ }
1607
+ },
1608
+ "description": "Add a person to a team, keeping the existing members",
1609
+ "examples": [
1610
+ "<%= config.bin %> teams add-member DriverOne client@acme.com"
1611
+ ],
1612
+ "flags": {
1613
+ "json": {
1614
+ "description": "Format output as json.",
1615
+ "helpGroup": "GLOBAL",
1616
+ "name": "json",
1617
+ "allowNo": false,
1618
+ "type": "boolean"
1619
+ }
1620
+ },
1621
+ "hasDynamicHelp": false,
1622
+ "hiddenAliases": [],
1623
+ "id": "teams:add-member",
1624
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1625
+ "pluginName": "@bussolabs/closeyourit-cli",
1626
+ "pluginType": "core",
1627
+ "strict": true,
1628
+ "enableJsonFlag": true,
1629
+ "isESM": false,
1630
+ "relativePath": [
1631
+ "dist",
1632
+ "commands",
1633
+ "teams",
1634
+ "add-member.js"
1635
+ ]
1636
+ },
1637
+ "teams:create": {
1638
+ "aliases": [],
1639
+ "args": {
1640
+ "name": {
1641
+ "description": "Team name",
1642
+ "name": "name",
1643
+ "required": true
1644
+ }
1645
+ },
1646
+ "description": "Create a team and (optionally) set its roles, group/project scope and members",
1647
+ "examples": [
1648
+ "<%= config.bin %> teams create DriverOne --role Client --group DriverOne",
1649
+ "<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
1650
+ ],
1651
+ "flags": {
1652
+ "json": {
1653
+ "description": "Format output as json.",
1654
+ "helpGroup": "GLOBAL",
1655
+ "name": "json",
1656
+ "allowNo": false,
1657
+ "type": "boolean"
1658
+ },
1659
+ "color": {
1660
+ "description": "Color label",
1661
+ "name": "color",
1662
+ "hasDynamicHelp": false,
1663
+ "multiple": false,
1664
+ "type": "option"
1665
+ },
1666
+ "group": {
1667
+ "description": "Group id or name to scope the team to (repeatable)",
1668
+ "name": "group",
1669
+ "hasDynamicHelp": false,
1670
+ "multiple": true,
1671
+ "type": "option"
1672
+ },
1673
+ "member": {
1674
+ "description": "Member account id or email (repeatable; must be an org member)",
1675
+ "name": "member",
1676
+ "hasDynamicHelp": false,
1677
+ "multiple": true,
1678
+ "type": "option"
1679
+ },
1680
+ "project": {
1681
+ "description": "Project id or key to scope the team to (repeatable)",
1682
+ "name": "project",
1683
+ "hasDynamicHelp": false,
1684
+ "multiple": true,
1685
+ "type": "option"
1686
+ },
1687
+ "role": {
1688
+ "description": "Role id or name to grant to the team (repeatable)",
1689
+ "name": "role",
1690
+ "hasDynamicHelp": false,
1691
+ "multiple": true,
1692
+ "type": "option"
1693
+ }
1694
+ },
1695
+ "hasDynamicHelp": false,
1696
+ "hiddenAliases": [],
1697
+ "id": "teams:create",
1698
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1699
+ "pluginName": "@bussolabs/closeyourit-cli",
1700
+ "pluginType": "core",
1701
+ "strict": true,
1702
+ "enableJsonFlag": true,
1703
+ "isESM": false,
1704
+ "relativePath": [
1705
+ "dist",
1706
+ "commands",
1707
+ "teams",
1708
+ "create.js"
1709
+ ]
1710
+ },
1711
+ "teams:delete": {
1712
+ "aliases": [],
1713
+ "args": {
1714
+ "team": {
1715
+ "description": "Team id (UUID) or name",
1716
+ "name": "team",
1717
+ "required": true
1718
+ }
1719
+ },
1720
+ "description": "Delete a team (its members lose the access this team granted)",
1721
+ "examples": [
1722
+ "<%= config.bin %> teams delete DriverOne"
1723
+ ],
1724
+ "flags": {
1725
+ "json": {
1726
+ "description": "Format output as json.",
1727
+ "helpGroup": "GLOBAL",
1728
+ "name": "json",
1729
+ "allowNo": false,
1730
+ "type": "boolean"
1731
+ }
1732
+ },
1733
+ "hasDynamicHelp": false,
1734
+ "hiddenAliases": [],
1735
+ "id": "teams:delete",
1736
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1737
+ "pluginName": "@bussolabs/closeyourit-cli",
1738
+ "pluginType": "core",
1739
+ "strict": true,
1740
+ "enableJsonFlag": true,
1741
+ "isESM": false,
1742
+ "relativePath": [
1743
+ "dist",
1744
+ "commands",
1745
+ "teams",
1746
+ "delete.js"
1747
+ ]
1748
+ },
1749
+ "teams:list": {
1750
+ "aliases": [],
1751
+ "args": {},
1752
+ "description": "List the teams (people with scope) in your organization",
1753
+ "examples": [
1754
+ "<%= config.bin %> teams list",
1755
+ "<%= config.bin %> teams list --json"
1756
+ ],
1757
+ "flags": {
1758
+ "json": {
1759
+ "description": "Format output as json.",
1760
+ "helpGroup": "GLOBAL",
1761
+ "name": "json",
1762
+ "allowNo": false,
1763
+ "type": "boolean"
1764
+ },
1765
+ "page": {
1766
+ "description": "Page number",
1767
+ "name": "page",
1768
+ "default": 1,
1769
+ "hasDynamicHelp": false,
1770
+ "multiple": false,
1771
+ "type": "option"
1772
+ }
1773
+ },
1774
+ "hasDynamicHelp": false,
1775
+ "hiddenAliases": [],
1776
+ "id": "teams:list",
1777
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1778
+ "pluginName": "@bussolabs/closeyourit-cli",
1779
+ "pluginType": "core",
1780
+ "strict": true,
1781
+ "enableJsonFlag": true,
1782
+ "isESM": false,
1783
+ "relativePath": [
1784
+ "dist",
1785
+ "commands",
1786
+ "teams",
1787
+ "list.js"
1788
+ ]
1789
+ },
1790
+ "teams:remove-member": {
1791
+ "aliases": [],
1792
+ "args": {
1793
+ "team": {
1794
+ "description": "Team id (UUID) or name",
1795
+ "name": "team",
1796
+ "required": true
1797
+ },
1798
+ "member": {
1799
+ "description": "Member account id or email",
1800
+ "name": "member",
1801
+ "required": true
1802
+ }
1803
+ },
1804
+ "description": "Remove a person from a team, keeping the other members",
1805
+ "examples": [
1806
+ "<%= config.bin %> teams remove-member DriverOne client@acme.com"
1807
+ ],
1808
+ "flags": {
1809
+ "json": {
1810
+ "description": "Format output as json.",
1811
+ "helpGroup": "GLOBAL",
1812
+ "name": "json",
1813
+ "allowNo": false,
1814
+ "type": "boolean"
1815
+ }
1816
+ },
1817
+ "hasDynamicHelp": false,
1818
+ "hiddenAliases": [],
1819
+ "id": "teams:remove-member",
1820
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1821
+ "pluginName": "@bussolabs/closeyourit-cli",
1822
+ "pluginType": "core",
1823
+ "strict": true,
1824
+ "enableJsonFlag": true,
1825
+ "isESM": false,
1826
+ "relativePath": [
1827
+ "dist",
1828
+ "commands",
1829
+ "teams",
1830
+ "remove-member.js"
1831
+ ]
1832
+ },
1833
+ "teams:show": {
1834
+ "aliases": [],
1835
+ "args": {
1836
+ "team": {
1837
+ "description": "Team id (UUID) or name",
1838
+ "name": "team",
1839
+ "required": true
1840
+ }
1841
+ },
1842
+ "description": "Show a team by id or name (roles, group/project scope, members)",
1843
+ "examples": [
1844
+ "<%= config.bin %> teams show DriverOne"
1845
+ ],
1846
+ "flags": {
1847
+ "json": {
1848
+ "description": "Format output as json.",
1849
+ "helpGroup": "GLOBAL",
1850
+ "name": "json",
1851
+ "allowNo": false,
1852
+ "type": "boolean"
1853
+ }
1854
+ },
1855
+ "hasDynamicHelp": false,
1856
+ "hiddenAliases": [],
1857
+ "id": "teams:show",
1858
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1859
+ "pluginName": "@bussolabs/closeyourit-cli",
1860
+ "pluginType": "core",
1861
+ "strict": true,
1862
+ "enableJsonFlag": true,
1863
+ "isESM": false,
1864
+ "relativePath": [
1865
+ "dist",
1866
+ "commands",
1867
+ "teams",
1868
+ "show.js"
1869
+ ]
1870
+ },
1871
+ "teams:update": {
1872
+ "aliases": [],
1873
+ "args": {
1874
+ "team": {
1875
+ "description": "Team id (UUID) or name",
1876
+ "name": "team",
1877
+ "required": true
1878
+ }
1879
+ },
1880
+ "description": "Update a team. Each given dimension REPLACES the whole set for that dimension.",
1881
+ "examples": [
1882
+ "<%= config.bin %> teams update DriverOne --role Client --group DriverOne",
1883
+ "<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
1884
+ ],
1885
+ "flags": {
1886
+ "json": {
1887
+ "description": "Format output as json.",
1888
+ "helpGroup": "GLOBAL",
1889
+ "name": "json",
1890
+ "allowNo": false,
1891
+ "type": "boolean"
1892
+ },
1893
+ "color": {
1894
+ "description": "Color label",
1895
+ "name": "color",
1896
+ "hasDynamicHelp": false,
1897
+ "multiple": false,
1898
+ "type": "option"
1899
+ },
1900
+ "group": {
1901
+ "description": "Group id or name (repeatable; replaces the group scope)",
1902
+ "name": "group",
1903
+ "hasDynamicHelp": false,
1904
+ "multiple": true,
1905
+ "type": "option"
1906
+ },
1907
+ "member": {
1908
+ "description": "Member account id or email (repeatable; replaces the members)",
1909
+ "name": "member",
1910
+ "hasDynamicHelp": false,
1911
+ "multiple": true,
1912
+ "type": "option"
1913
+ },
1914
+ "name": {
1915
+ "description": "New name",
1916
+ "name": "name",
1917
+ "hasDynamicHelp": false,
1918
+ "multiple": false,
1919
+ "type": "option"
1920
+ },
1921
+ "project": {
1922
+ "description": "Project id or key (repeatable; replaces the project scope)",
1923
+ "name": "project",
1924
+ "hasDynamicHelp": false,
1925
+ "multiple": true,
1926
+ "type": "option"
1927
+ },
1928
+ "role": {
1929
+ "description": "Role id or name (repeatable; replaces the roles)",
1930
+ "name": "role",
1931
+ "hasDynamicHelp": false,
1932
+ "multiple": true,
1933
+ "type": "option"
1934
+ }
1935
+ },
1936
+ "hasDynamicHelp": false,
1937
+ "hiddenAliases": [],
1938
+ "id": "teams:update",
1939
+ "pluginAlias": "@bussolabs/closeyourit-cli",
1940
+ "pluginName": "@bussolabs/closeyourit-cli",
1941
+ "pluginType": "core",
1942
+ "strict": true,
1943
+ "enableJsonFlag": true,
1944
+ "isESM": false,
1945
+ "relativePath": [
1946
+ "dist",
1947
+ "commands",
1948
+ "teams",
1949
+ "update.js"
1950
+ ]
1951
+ }
1952
+ },
1953
+ "version": "0.0.2"
1954
+ }