@bussolabs/closeyourit-cli 0.0.6 → 0.0.7

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.
@@ -987,19 +987,19 @@
987
987
  "unmute.js"
988
988
  ]
989
989
  },
990
- "groups:create": {
990
+ "invitations:create": {
991
991
  "aliases": [],
992
992
  "args": {
993
- "name": {
994
- "description": "Group name",
995
- "name": "name",
993
+ "email": {
994
+ "description": "Email address to invite",
995
+ "name": "email",
996
996
  "required": true
997
997
  }
998
998
  },
999
- "description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
999
+ "description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
1000
1000
  "examples": [
1001
- "<%= config.bin %> groups create DriverOne",
1002
- "<%= config.bin %> groups create DriverOne --color indigo"
1001
+ "<%= config.bin %> invitations create client@acme.com",
1002
+ "<%= config.bin %> invitations create teammate@acme.com --role member"
1003
1003
  ],
1004
1004
  "flags": {
1005
1005
  "json": {
@@ -1009,17 +1009,23 @@
1009
1009
  "allowNo": false,
1010
1010
  "type": "boolean"
1011
1011
  },
1012
- "color": {
1013
- "description": "Color label",
1014
- "name": "color",
1012
+ "role": {
1013
+ "description": "Membership role",
1014
+ "name": "role",
1015
+ "default": "customer",
1015
1016
  "hasDynamicHelp": false,
1016
1017
  "multiple": false,
1018
+ "options": [
1019
+ "customer",
1020
+ "member",
1021
+ "admin"
1022
+ ],
1017
1023
  "type": "option"
1018
1024
  }
1019
1025
  },
1020
1026
  "hasDynamicHelp": false,
1021
1027
  "hiddenAliases": [],
1022
- "id": "groups:create",
1028
+ "id": "invitations:create",
1023
1029
  "pluginAlias": "@bussolabs/closeyourit-cli",
1024
1030
  "pluginName": "@bussolabs/closeyourit-cli",
1025
1031
  "pluginType": "core",
@@ -1029,22 +1035,17 @@
1029
1035
  "relativePath": [
1030
1036
  "dist",
1031
1037
  "commands",
1032
- "groups",
1038
+ "invitations",
1033
1039
  "create.js"
1034
1040
  ]
1035
1041
  },
1036
- "groups:delete": {
1042
+ "invitations:list": {
1037
1043
  "aliases": [],
1038
- "args": {
1039
- "group": {
1040
- "description": "Group id (UUID) or name",
1041
- "name": "group",
1042
- "required": true
1043
- }
1044
- },
1045
- "description": "Delete a group (its projects are detached, not deleted)",
1044
+ "args": {},
1045
+ "description": "List the pending/accepted invitations of your organization",
1046
1046
  "examples": [
1047
- "<%= config.bin %> groups delete Backend --confirm"
1047
+ "<%= config.bin %> invitations list",
1048
+ "<%= config.bin %> invitations list --json"
1048
1049
  ],
1049
1050
  "flags": {
1050
1051
  "json": {
@@ -1054,16 +1055,18 @@
1054
1055
  "allowNo": false,
1055
1056
  "type": "boolean"
1056
1057
  },
1057
- "confirm": {
1058
- "description": "Required: confirm the deletion",
1059
- "name": "confirm",
1060
- "allowNo": false,
1061
- "type": "boolean"
1058
+ "page": {
1059
+ "description": "Page number",
1060
+ "name": "page",
1061
+ "default": 1,
1062
+ "hasDynamicHelp": false,
1063
+ "multiple": false,
1064
+ "type": "option"
1062
1065
  }
1063
1066
  },
1064
1067
  "hasDynamicHelp": false,
1065
1068
  "hiddenAliases": [],
1066
- "id": "groups:delete",
1069
+ "id": "invitations:list",
1067
1070
  "pluginAlias": "@bussolabs/closeyourit-cli",
1068
1071
  "pluginName": "@bussolabs/closeyourit-cli",
1069
1072
  "pluginType": "core",
@@ -1073,17 +1076,22 @@
1073
1076
  "relativePath": [
1074
1077
  "dist",
1075
1078
  "commands",
1076
- "groups",
1077
- "delete.js"
1079
+ "invitations",
1080
+ "list.js"
1078
1081
  ]
1079
1082
  },
1080
- "groups:list": {
1083
+ "invitations:resend": {
1081
1084
  "aliases": [],
1082
- "args": {},
1083
- "description": "List the groups (macro-projects) in your organization",
1085
+ "args": {
1086
+ "id": {
1087
+ "description": "Invitation id (UUID)",
1088
+ "name": "id",
1089
+ "required": true
1090
+ }
1091
+ },
1092
+ "description": "Resend a pending invitation. Prints the acceptance link (shown only once).",
1084
1093
  "examples": [
1085
- "<%= config.bin %> groups list",
1086
- "<%= config.bin %> groups list --page 2 --json"
1094
+ "<%= config.bin %> invitations resend <invitation-uuid>"
1087
1095
  ],
1088
1096
  "flags": {
1089
1097
  "json": {
@@ -1092,19 +1100,11 @@
1092
1100
  "name": "json",
1093
1101
  "allowNo": false,
1094
1102
  "type": "boolean"
1095
- },
1096
- "page": {
1097
- "description": "Page number",
1098
- "name": "page",
1099
- "default": 1,
1100
- "hasDynamicHelp": false,
1101
- "multiple": false,
1102
- "type": "option"
1103
1103
  }
1104
1104
  },
1105
1105
  "hasDynamicHelp": false,
1106
1106
  "hiddenAliases": [],
1107
- "id": "groups:list",
1107
+ "id": "invitations:resend",
1108
1108
  "pluginAlias": "@bussolabs/closeyourit-cli",
1109
1109
  "pluginName": "@bussolabs/closeyourit-cli",
1110
1110
  "pluginType": "core",
@@ -1114,23 +1114,22 @@
1114
1114
  "relativePath": [
1115
1115
  "dist",
1116
1116
  "commands",
1117
- "groups",
1118
- "list.js"
1117
+ "invitations",
1118
+ "resend.js"
1119
1119
  ]
1120
1120
  },
1121
- "groups:update": {
1121
+ "invitations:revoke": {
1122
1122
  "aliases": [],
1123
1123
  "args": {
1124
- "group": {
1125
- "description": "Group id (UUID) or name",
1126
- "name": "group",
1124
+ "id": {
1125
+ "description": "Invitation id (UUID)",
1126
+ "name": "id",
1127
1127
  "required": true
1128
1128
  }
1129
1129
  },
1130
- "description": "Update a group (rename or recolor)",
1130
+ "description": "Revoke a pending invitation",
1131
1131
  "examples": [
1132
- "<%= config.bin %> groups update Backend --name \"Backend services\"",
1133
- "<%= config.bin %> groups update Backend --color indigo"
1132
+ "<%= config.bin %> invitations revoke <invitation-uuid>"
1134
1133
  ],
1135
1134
  "flags": {
1136
1135
  "json": {
@@ -1139,25 +1138,11 @@
1139
1138
  "name": "json",
1140
1139
  "allowNo": false,
1141
1140
  "type": "boolean"
1142
- },
1143
- "name": {
1144
- "description": "New name",
1145
- "name": "name",
1146
- "hasDynamicHelp": false,
1147
- "multiple": false,
1148
- "type": "option"
1149
- },
1150
- "color": {
1151
- "description": "Color label",
1152
- "name": "color",
1153
- "hasDynamicHelp": false,
1154
- "multiple": false,
1155
- "type": "option"
1156
1141
  }
1157
1142
  },
1158
1143
  "hasDynamicHelp": false,
1159
1144
  "hiddenAliases": [],
1160
- "id": "groups:update",
1145
+ "id": "invitations:revoke",
1161
1146
  "pluginAlias": "@bussolabs/closeyourit-cli",
1162
1147
  "pluginName": "@bussolabs/closeyourit-cli",
1163
1148
  "pluginType": "core",
@@ -1167,23 +1152,23 @@
1167
1152
  "relativePath": [
1168
1153
  "dist",
1169
1154
  "commands",
1170
- "groups",
1171
- "update.js"
1155
+ "invitations",
1156
+ "revoke.js"
1172
1157
  ]
1173
1158
  },
1174
- "invitations:create": {
1159
+ "groups:create": {
1175
1160
  "aliases": [],
1176
1161
  "args": {
1177
- "email": {
1178
- "description": "Email address to invite",
1179
- "name": "email",
1162
+ "name": {
1163
+ "description": "Group name",
1164
+ "name": "name",
1180
1165
  "required": true
1181
1166
  }
1182
1167
  },
1183
- "description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
1168
+ "description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
1184
1169
  "examples": [
1185
- "<%= config.bin %> invitations create client@acme.com",
1186
- "<%= config.bin %> invitations create teammate@acme.com --role member"
1170
+ "<%= config.bin %> groups create DriverOne",
1171
+ "<%= config.bin %> groups create DriverOne --color indigo"
1187
1172
  ],
1188
1173
  "flags": {
1189
1174
  "json": {
@@ -1193,23 +1178,17 @@
1193
1178
  "allowNo": false,
1194
1179
  "type": "boolean"
1195
1180
  },
1196
- "role": {
1197
- "description": "Membership role",
1198
- "name": "role",
1199
- "default": "customer",
1181
+ "color": {
1182
+ "description": "Color label",
1183
+ "name": "color",
1200
1184
  "hasDynamicHelp": false,
1201
1185
  "multiple": false,
1202
- "options": [
1203
- "customer",
1204
- "member",
1205
- "admin"
1206
- ],
1207
1186
  "type": "option"
1208
1187
  }
1209
1188
  },
1210
1189
  "hasDynamicHelp": false,
1211
1190
  "hiddenAliases": [],
1212
- "id": "invitations:create",
1191
+ "id": "groups:create",
1213
1192
  "pluginAlias": "@bussolabs/closeyourit-cli",
1214
1193
  "pluginName": "@bussolabs/closeyourit-cli",
1215
1194
  "pluginType": "core",
@@ -1219,17 +1198,22 @@
1219
1198
  "relativePath": [
1220
1199
  "dist",
1221
1200
  "commands",
1222
- "invitations",
1201
+ "groups",
1223
1202
  "create.js"
1224
1203
  ]
1225
1204
  },
1226
- "invitations:list": {
1205
+ "groups:delete": {
1227
1206
  "aliases": [],
1228
- "args": {},
1229
- "description": "List the pending/accepted invitations of your organization",
1207
+ "args": {
1208
+ "group": {
1209
+ "description": "Group id (UUID) or name",
1210
+ "name": "group",
1211
+ "required": true
1212
+ }
1213
+ },
1214
+ "description": "Delete a group (its projects are detached, not deleted)",
1230
1215
  "examples": [
1231
- "<%= config.bin %> invitations list",
1232
- "<%= config.bin %> invitations list --json"
1216
+ "<%= config.bin %> groups delete Backend --confirm"
1233
1217
  ],
1234
1218
  "flags": {
1235
1219
  "json": {
@@ -1239,18 +1223,16 @@
1239
1223
  "allowNo": false,
1240
1224
  "type": "boolean"
1241
1225
  },
1242
- "page": {
1243
- "description": "Page number",
1244
- "name": "page",
1245
- "default": 1,
1246
- "hasDynamicHelp": false,
1247
- "multiple": false,
1248
- "type": "option"
1226
+ "confirm": {
1227
+ "description": "Required: confirm the deletion",
1228
+ "name": "confirm",
1229
+ "allowNo": false,
1230
+ "type": "boolean"
1249
1231
  }
1250
1232
  },
1251
1233
  "hasDynamicHelp": false,
1252
1234
  "hiddenAliases": [],
1253
- "id": "invitations:list",
1235
+ "id": "groups:delete",
1254
1236
  "pluginAlias": "@bussolabs/closeyourit-cli",
1255
1237
  "pluginName": "@bussolabs/closeyourit-cli",
1256
1238
  "pluginType": "core",
@@ -1260,22 +1242,17 @@
1260
1242
  "relativePath": [
1261
1243
  "dist",
1262
1244
  "commands",
1263
- "invitations",
1264
- "list.js"
1245
+ "groups",
1246
+ "delete.js"
1265
1247
  ]
1266
1248
  },
1267
- "invitations:resend": {
1249
+ "groups:list": {
1268
1250
  "aliases": [],
1269
- "args": {
1270
- "id": {
1271
- "description": "Invitation id (UUID)",
1272
- "name": "id",
1273
- "required": true
1274
- }
1275
- },
1276
- "description": "Resend a pending invitation. Prints the acceptance link (shown only once).",
1251
+ "args": {},
1252
+ "description": "List the groups (macro-projects) in your organization",
1277
1253
  "examples": [
1278
- "<%= config.bin %> invitations resend <invitation-uuid>"
1254
+ "<%= config.bin %> groups list",
1255
+ "<%= config.bin %> groups list --page 2 --json"
1279
1256
  ],
1280
1257
  "flags": {
1281
1258
  "json": {
@@ -1284,11 +1261,19 @@
1284
1261
  "name": "json",
1285
1262
  "allowNo": false,
1286
1263
  "type": "boolean"
1264
+ },
1265
+ "page": {
1266
+ "description": "Page number",
1267
+ "name": "page",
1268
+ "default": 1,
1269
+ "hasDynamicHelp": false,
1270
+ "multiple": false,
1271
+ "type": "option"
1287
1272
  }
1288
1273
  },
1289
1274
  "hasDynamicHelp": false,
1290
1275
  "hiddenAliases": [],
1291
- "id": "invitations:resend",
1276
+ "id": "groups:list",
1292
1277
  "pluginAlias": "@bussolabs/closeyourit-cli",
1293
1278
  "pluginName": "@bussolabs/closeyourit-cli",
1294
1279
  "pluginType": "core",
@@ -1298,22 +1283,23 @@
1298
1283
  "relativePath": [
1299
1284
  "dist",
1300
1285
  "commands",
1301
- "invitations",
1302
- "resend.js"
1286
+ "groups",
1287
+ "list.js"
1303
1288
  ]
1304
1289
  },
1305
- "invitations:revoke": {
1290
+ "groups:update": {
1306
1291
  "aliases": [],
1307
1292
  "args": {
1308
- "id": {
1309
- "description": "Invitation id (UUID)",
1310
- "name": "id",
1293
+ "group": {
1294
+ "description": "Group id (UUID) or name",
1295
+ "name": "group",
1311
1296
  "required": true
1312
1297
  }
1313
1298
  },
1314
- "description": "Revoke a pending invitation",
1299
+ "description": "Update a group (rename or recolor)",
1315
1300
  "examples": [
1316
- "<%= config.bin %> invitations revoke <invitation-uuid>"
1301
+ "<%= config.bin %> groups update Backend --name \"Backend services\"",
1302
+ "<%= config.bin %> groups update Backend --color indigo"
1317
1303
  ],
1318
1304
  "flags": {
1319
1305
  "json": {
@@ -1322,11 +1308,25 @@
1322
1308
  "name": "json",
1323
1309
  "allowNo": false,
1324
1310
  "type": "boolean"
1311
+ },
1312
+ "name": {
1313
+ "description": "New name",
1314
+ "name": "name",
1315
+ "hasDynamicHelp": false,
1316
+ "multiple": false,
1317
+ "type": "option"
1318
+ },
1319
+ "color": {
1320
+ "description": "Color label",
1321
+ "name": "color",
1322
+ "hasDynamicHelp": false,
1323
+ "multiple": false,
1324
+ "type": "option"
1325
1325
  }
1326
1326
  },
1327
1327
  "hasDynamicHelp": false,
1328
1328
  "hiddenAliases": [],
1329
- "id": "invitations:revoke",
1329
+ "id": "groups:update",
1330
1330
  "pluginAlias": "@bussolabs/closeyourit-cli",
1331
1331
  "pluginName": "@bussolabs/closeyourit-cli",
1332
1332
  "pluginType": "core",
@@ -1336,8 +1336,8 @@
1336
1336
  "relativePath": [
1337
1337
  "dist",
1338
1338
  "commands",
1339
- "invitations",
1340
- "revoke.js"
1339
+ "groups",
1340
+ "update.js"
1341
1341
  ]
1342
1342
  },
1343
1343
  "logs:list": {
@@ -2434,99 +2434,7 @@
2434
2434
  "update.js"
2435
2435
  ]
2436
2436
  },
2437
- "org:show": {
2438
- "aliases": [],
2439
- "args": {},
2440
- "description": "Show your organization settings",
2441
- "examples": [
2442
- "<%= config.bin %> org show",
2443
- "<%= config.bin %> org show --json"
2444
- ],
2445
- "flags": {
2446
- "json": {
2447
- "description": "Format output as json.",
2448
- "helpGroup": "GLOBAL",
2449
- "name": "json",
2450
- "allowNo": false,
2451
- "type": "boolean"
2452
- }
2453
- },
2454
- "hasDynamicHelp": false,
2455
- "hiddenAliases": [],
2456
- "id": "org:show",
2457
- "pluginAlias": "@bussolabs/closeyourit-cli",
2458
- "pluginName": "@bussolabs/closeyourit-cli",
2459
- "pluginType": "core",
2460
- "strict": true,
2461
- "enableJsonFlag": true,
2462
- "isESM": false,
2463
- "relativePath": [
2464
- "dist",
2465
- "commands",
2466
- "org",
2467
- "show.js"
2468
- ]
2469
- },
2470
- "org:update": {
2471
- "aliases": [],
2472
- "args": {},
2473
- "description": "Update your organization settings (requires organization.manage)",
2474
- "examples": [
2475
- "<%= config.bin %> org update --name \"Acme Inc\"",
2476
- "<%= config.bin %> org update --slug acme-inc",
2477
- "<%= config.bin %> org update --projects-view table"
2478
- ],
2479
- "flags": {
2480
- "json": {
2481
- "description": "Format output as json.",
2482
- "helpGroup": "GLOBAL",
2483
- "name": "json",
2484
- "allowNo": false,
2485
- "type": "boolean"
2486
- },
2487
- "name": {
2488
- "description": "New organization name",
2489
- "name": "name",
2490
- "hasDynamicHelp": false,
2491
- "multiple": false,
2492
- "type": "option"
2493
- },
2494
- "slug": {
2495
- "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
2496
- "name": "slug",
2497
- "hasDynamicHelp": false,
2498
- "multiple": false,
2499
- "type": "option"
2500
- },
2501
- "projects-view": {
2502
- "description": "Default projects list view",
2503
- "name": "projects-view",
2504
- "hasDynamicHelp": false,
2505
- "multiple": false,
2506
- "options": [
2507
- "cards",
2508
- "table"
2509
- ],
2510
- "type": "option"
2511
- }
2512
- },
2513
- "hasDynamicHelp": false,
2514
- "hiddenAliases": [],
2515
- "id": "org:update",
2516
- "pluginAlias": "@bussolabs/closeyourit-cli",
2517
- "pluginName": "@bussolabs/closeyourit-cli",
2518
- "pluginType": "core",
2519
- "strict": true,
2520
- "enableJsonFlag": true,
2521
- "isESM": false,
2522
- "relativePath": [
2523
- "dist",
2524
- "commands",
2525
- "org",
2526
- "update.js"
2527
- ]
2528
- },
2529
- "platforms:create": {
2437
+ "platforms:create": {
2530
2438
  "aliases": [],
2531
2439
  "args": {
2532
2440
  "code": {
@@ -2753,18 +2661,20 @@
2753
2661
  "update.js"
2754
2662
  ]
2755
2663
  },
2756
- "roles:create": {
2664
+ "projects:create": {
2757
2665
  "aliases": [],
2758
2666
  "args": {
2759
2667
  "name": {
2760
- "description": "Role name",
2668
+ "description": "Project name",
2761
2669
  "name": "name",
2762
2670
  "required": true
2763
2671
  }
2764
2672
  },
2765
- "description": "Create an RBAC role (a named bundle of permission keys)",
2673
+ "description": "Create a project (optionally inside a group)",
2766
2674
  "examples": [
2767
- "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
2675
+ "<%= config.bin %> projects create driverone-rails --key DRRA",
2676
+ "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
2677
+ "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
2768
2678
  ],
2769
2679
  "flags": {
2770
2680
  "json": {
@@ -2781,17 +2691,34 @@
2781
2691
  "multiple": false,
2782
2692
  "type": "option"
2783
2693
  },
2784
- "permission": {
2785
- "description": "Permission key from the catalog (repeatable)",
2786
- "name": "permission",
2694
+ "description": {
2695
+ "description": "Free-form description",
2696
+ "name": "description",
2787
2697
  "hasDynamicHelp": false,
2788
- "multiple": true,
2698
+ "multiple": false,
2699
+ "type": "option"
2700
+ },
2701
+ "group": {
2702
+ "char": "g",
2703
+ "description": "Group id (UUID) or name to place the project in",
2704
+ "name": "group",
2705
+ "hasDynamicHelp": false,
2706
+ "multiple": false,
2707
+ "type": "option"
2708
+ },
2709
+ "key": {
2710
+ "char": "k",
2711
+ "description": "Project key (uppercase A-Z0-9, max 4 chars, unique per org)",
2712
+ "name": "key",
2713
+ "required": true,
2714
+ "hasDynamicHelp": false,
2715
+ "multiple": false,
2789
2716
  "type": "option"
2790
2717
  }
2791
2718
  },
2792
2719
  "hasDynamicHelp": false,
2793
2720
  "hiddenAliases": [],
2794
- "id": "roles:create",
2721
+ "id": "projects:create",
2795
2722
  "pluginAlias": "@bussolabs/closeyourit-cli",
2796
2723
  "pluginName": "@bussolabs/closeyourit-cli",
2797
2724
  "pluginType": "core",
@@ -2801,22 +2728,16 @@
2801
2728
  "relativePath": [
2802
2729
  "dist",
2803
2730
  "commands",
2804
- "roles",
2731
+ "projects",
2805
2732
  "create.js"
2806
2733
  ]
2807
2734
  },
2808
- "roles:delete": {
2735
+ "projects:delete": {
2809
2736
  "aliases": [],
2810
- "args": {
2811
- "role": {
2812
- "description": "Role id (UUID) or name",
2813
- "name": "role",
2814
- "required": true
2815
- }
2816
- },
2817
- "description": "Delete a role (its assignments to teams and accounts are removed)",
2737
+ "args": {},
2738
+ "description": "Delete a project (irreversible)",
2818
2739
  "examples": [
2819
- "<%= config.bin %> roles delete Client"
2740
+ "<%= config.bin %> projects delete --project LBRA --confirm"
2820
2741
  ],
2821
2742
  "flags": {
2822
2743
  "json": {
@@ -2825,11 +2746,26 @@
2825
2746
  "name": "json",
2826
2747
  "allowNo": false,
2827
2748
  "type": "boolean"
2749
+ },
2750
+ "project": {
2751
+ "char": "p",
2752
+ "description": "Project id (UUID) or key",
2753
+ "name": "project",
2754
+ "required": true,
2755
+ "hasDynamicHelp": false,
2756
+ "multiple": false,
2757
+ "type": "option"
2758
+ },
2759
+ "confirm": {
2760
+ "description": "Required: confirm the irreversible deletion",
2761
+ "name": "confirm",
2762
+ "allowNo": false,
2763
+ "type": "boolean"
2828
2764
  }
2829
2765
  },
2830
2766
  "hasDynamicHelp": false,
2831
2767
  "hiddenAliases": [],
2832
- "id": "roles:delete",
2768
+ "id": "projects:delete",
2833
2769
  "pluginAlias": "@bussolabs/closeyourit-cli",
2834
2770
  "pluginName": "@bussolabs/closeyourit-cli",
2835
2771
  "pluginType": "core",
@@ -2839,17 +2775,17 @@
2839
2775
  "relativePath": [
2840
2776
  "dist",
2841
2777
  "commands",
2842
- "roles",
2778
+ "projects",
2843
2779
  "delete.js"
2844
2780
  ]
2845
2781
  },
2846
- "roles:list": {
2782
+ "projects:list": {
2847
2783
  "aliases": [],
2848
2784
  "args": {},
2849
- "description": "List the RBAC roles in your organization",
2785
+ "description": "List the projects visible to you",
2850
2786
  "examples": [
2851
- "<%= config.bin %> roles list",
2852
- "<%= config.bin %> roles list --json"
2787
+ "<%= config.bin %> projects list",
2788
+ "<%= config.bin %> projects list --page 2 --json"
2853
2789
  ],
2854
2790
  "flags": {
2855
2791
  "json": {
@@ -2870,7 +2806,7 @@
2870
2806
  },
2871
2807
  "hasDynamicHelp": false,
2872
2808
  "hiddenAliases": [],
2873
- "id": "roles:list",
2809
+ "id": "projects:list",
2874
2810
  "pluginAlias": "@bussolabs/closeyourit-cli",
2875
2811
  "pluginName": "@bussolabs/closeyourit-cli",
2876
2812
  "pluginType": "core",
@@ -2880,22 +2816,17 @@
2880
2816
  "relativePath": [
2881
2817
  "dist",
2882
2818
  "commands",
2883
- "roles",
2819
+ "projects",
2884
2820
  "list.js"
2885
2821
  ]
2886
2822
  },
2887
- "roles:show": {
2823
+ "projects:set-environments": {
2888
2824
  "aliases": [],
2889
- "args": {
2890
- "role": {
2891
- "description": "Role id (UUID) or name",
2892
- "name": "role",
2893
- "required": true
2894
- }
2895
- },
2896
- "description": "Show a role by id or name (with its permission keys)",
2825
+ "args": {},
2826
+ "description": "Declare the environments a project receives data from (replaces the current set)",
2897
2827
  "examples": [
2898
- "<%= config.bin %> roles show Client"
2828
+ "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
2829
+ "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
2899
2830
  ],
2900
2831
  "flags": {
2901
2832
  "json": {
@@ -2904,11 +2835,36 @@
2904
2835
  "name": "json",
2905
2836
  "allowNo": false,
2906
2837
  "type": "boolean"
2838
+ },
2839
+ "project": {
2840
+ "char": "p",
2841
+ "description": "Project id (UUID) or key",
2842
+ "name": "project",
2843
+ "required": true,
2844
+ "hasDynamicHelp": false,
2845
+ "multiple": false,
2846
+ "type": "option"
2847
+ },
2848
+ "code": {
2849
+ "description": "Environment code, e.g. production (repeatable)",
2850
+ "name": "code",
2851
+ "default": [],
2852
+ "hasDynamicHelp": false,
2853
+ "multiple": true,
2854
+ "type": "option"
2855
+ },
2856
+ "environment-id": {
2857
+ "description": "Environment id / UUID (repeatable)",
2858
+ "name": "environment-id",
2859
+ "default": [],
2860
+ "hasDynamicHelp": false,
2861
+ "multiple": true,
2862
+ "type": "option"
2907
2863
  }
2908
2864
  },
2909
2865
  "hasDynamicHelp": false,
2910
2866
  "hiddenAliases": [],
2911
- "id": "roles:show",
2867
+ "id": "projects:set-environments",
2912
2868
  "pluginAlias": "@bussolabs/closeyourit-cli",
2913
2869
  "pluginName": "@bussolabs/closeyourit-cli",
2914
2870
  "pluginType": "core",
@@ -2918,23 +2874,23 @@
2918
2874
  "relativePath": [
2919
2875
  "dist",
2920
2876
  "commands",
2921
- "roles",
2922
- "show.js"
2877
+ "projects",
2878
+ "set-environments.js"
2923
2879
  ]
2924
2880
  },
2925
- "roles:update": {
2881
+ "projects:show": {
2926
2882
  "aliases": [],
2927
2883
  "args": {
2928
- "role": {
2929
- "description": "Role id (UUID) or name",
2930
- "name": "role",
2884
+ "id": {
2885
+ "description": "Project id (UUID) or key",
2886
+ "name": "id",
2931
2887
  "required": true
2932
2888
  }
2933
2889
  },
2934
- "description": "Update a role (rename, recolor, or replace its permission keys)",
2890
+ "description": "Show a single project by id or key",
2935
2891
  "examples": [
2936
- "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
2937
- "<%= config.bin %> roles update Client --name \"Client manager\""
2892
+ "<%= config.bin %> projects show acme-api",
2893
+ "<%= config.bin %> projects show <uuid> --json"
2938
2894
  ],
2939
2895
  "flags": {
2940
2896
  "json": {
@@ -2943,288 +2899,11 @@
2943
2899
  "name": "json",
2944
2900
  "allowNo": false,
2945
2901
  "type": "boolean"
2946
- },
2947
- "color": {
2948
- "description": "Color label",
2949
- "name": "color",
2950
- "hasDynamicHelp": false,
2951
- "multiple": false,
2952
- "type": "option"
2953
- },
2954
- "name": {
2955
- "description": "New name",
2956
- "name": "name",
2957
- "hasDynamicHelp": false,
2958
- "multiple": false,
2959
- "type": "option"
2960
- },
2961
- "permission": {
2962
- "description": "Permission key (repeatable); when given, REPLACES the whole set",
2963
- "name": "permission",
2964
- "hasDynamicHelp": false,
2965
- "multiple": true,
2966
- "type": "option"
2967
2902
  }
2968
2903
  },
2969
2904
  "hasDynamicHelp": false,
2970
2905
  "hiddenAliases": [],
2971
- "id": "roles:update",
2972
- "pluginAlias": "@bussolabs/closeyourit-cli",
2973
- "pluginName": "@bussolabs/closeyourit-cli",
2974
- "pluginType": "core",
2975
- "strict": true,
2976
- "enableJsonFlag": true,
2977
- "isESM": false,
2978
- "relativePath": [
2979
- "dist",
2980
- "commands",
2981
- "roles",
2982
- "update.js"
2983
- ]
2984
- },
2985
- "projects:create": {
2986
- "aliases": [],
2987
- "args": {
2988
- "name": {
2989
- "description": "Project name",
2990
- "name": "name",
2991
- "required": true
2992
- }
2993
- },
2994
- "description": "Create a project (optionally inside a group)",
2995
- "examples": [
2996
- "<%= config.bin %> projects create driverone-rails --key DRRA",
2997
- "<%= config.bin %> projects create driverone-rails --group DriverOne --key DRRA",
2998
- "<%= config.bin %> projects create driverone-flutter -g <group-uuid> -k DRFL"
2999
- ],
3000
- "flags": {
3001
- "json": {
3002
- "description": "Format output as json.",
3003
- "helpGroup": "GLOBAL",
3004
- "name": "json",
3005
- "allowNo": false,
3006
- "type": "boolean"
3007
- },
3008
- "color": {
3009
- "description": "Color label",
3010
- "name": "color",
3011
- "hasDynamicHelp": false,
3012
- "multiple": false,
3013
- "type": "option"
3014
- },
3015
- "description": {
3016
- "description": "Free-form description",
3017
- "name": "description",
3018
- "hasDynamicHelp": false,
3019
- "multiple": false,
3020
- "type": "option"
3021
- },
3022
- "group": {
3023
- "char": "g",
3024
- "description": "Group id (UUID) or name to place the project in",
3025
- "name": "group",
3026
- "hasDynamicHelp": false,
3027
- "multiple": false,
3028
- "type": "option"
3029
- },
3030
- "key": {
3031
- "char": "k",
3032
- "description": "Project key (uppercase A-Z0-9, max 4 chars, unique per org)",
3033
- "name": "key",
3034
- "required": true,
3035
- "hasDynamicHelp": false,
3036
- "multiple": false,
3037
- "type": "option"
3038
- }
3039
- },
3040
- "hasDynamicHelp": false,
3041
- "hiddenAliases": [],
3042
- "id": "projects:create",
3043
- "pluginAlias": "@bussolabs/closeyourit-cli",
3044
- "pluginName": "@bussolabs/closeyourit-cli",
3045
- "pluginType": "core",
3046
- "strict": true,
3047
- "enableJsonFlag": true,
3048
- "isESM": false,
3049
- "relativePath": [
3050
- "dist",
3051
- "commands",
3052
- "projects",
3053
- "create.js"
3054
- ]
3055
- },
3056
- "projects:delete": {
3057
- "aliases": [],
3058
- "args": {},
3059
- "description": "Delete a project (irreversible)",
3060
- "examples": [
3061
- "<%= config.bin %> projects delete --project LBRA --confirm"
3062
- ],
3063
- "flags": {
3064
- "json": {
3065
- "description": "Format output as json.",
3066
- "helpGroup": "GLOBAL",
3067
- "name": "json",
3068
- "allowNo": false,
3069
- "type": "boolean"
3070
- },
3071
- "project": {
3072
- "char": "p",
3073
- "description": "Project id (UUID) or key",
3074
- "name": "project",
3075
- "required": true,
3076
- "hasDynamicHelp": false,
3077
- "multiple": false,
3078
- "type": "option"
3079
- },
3080
- "confirm": {
3081
- "description": "Required: confirm the irreversible deletion",
3082
- "name": "confirm",
3083
- "allowNo": false,
3084
- "type": "boolean"
3085
- }
3086
- },
3087
- "hasDynamicHelp": false,
3088
- "hiddenAliases": [],
3089
- "id": "projects:delete",
3090
- "pluginAlias": "@bussolabs/closeyourit-cli",
3091
- "pluginName": "@bussolabs/closeyourit-cli",
3092
- "pluginType": "core",
3093
- "strict": true,
3094
- "enableJsonFlag": true,
3095
- "isESM": false,
3096
- "relativePath": [
3097
- "dist",
3098
- "commands",
3099
- "projects",
3100
- "delete.js"
3101
- ]
3102
- },
3103
- "projects:list": {
3104
- "aliases": [],
3105
- "args": {},
3106
- "description": "List the projects visible to you",
3107
- "examples": [
3108
- "<%= config.bin %> projects list",
3109
- "<%= config.bin %> projects list --page 2 --json"
3110
- ],
3111
- "flags": {
3112
- "json": {
3113
- "description": "Format output as json.",
3114
- "helpGroup": "GLOBAL",
3115
- "name": "json",
3116
- "allowNo": false,
3117
- "type": "boolean"
3118
- },
3119
- "page": {
3120
- "description": "Page number",
3121
- "name": "page",
3122
- "default": 1,
3123
- "hasDynamicHelp": false,
3124
- "multiple": false,
3125
- "type": "option"
3126
- }
3127
- },
3128
- "hasDynamicHelp": false,
3129
- "hiddenAliases": [],
3130
- "id": "projects:list",
3131
- "pluginAlias": "@bussolabs/closeyourit-cli",
3132
- "pluginName": "@bussolabs/closeyourit-cli",
3133
- "pluginType": "core",
3134
- "strict": true,
3135
- "enableJsonFlag": true,
3136
- "isESM": false,
3137
- "relativePath": [
3138
- "dist",
3139
- "commands",
3140
- "projects",
3141
- "list.js"
3142
- ]
3143
- },
3144
- "projects:set-environments": {
3145
- "aliases": [],
3146
- "args": {},
3147
- "description": "Declare the environments a project receives data from (replaces the current set)",
3148
- "examples": [
3149
- "<%= config.bin %> projects set-environments --project legalbloom-rails --code production",
3150
- "<%= config.bin %> projects set-environments -p LBRA --code production --code staging"
3151
- ],
3152
- "flags": {
3153
- "json": {
3154
- "description": "Format output as json.",
3155
- "helpGroup": "GLOBAL",
3156
- "name": "json",
3157
- "allowNo": false,
3158
- "type": "boolean"
3159
- },
3160
- "project": {
3161
- "char": "p",
3162
- "description": "Project id (UUID) or key",
3163
- "name": "project",
3164
- "required": true,
3165
- "hasDynamicHelp": false,
3166
- "multiple": false,
3167
- "type": "option"
3168
- },
3169
- "code": {
3170
- "description": "Environment code, e.g. production (repeatable)",
3171
- "name": "code",
3172
- "default": [],
3173
- "hasDynamicHelp": false,
3174
- "multiple": true,
3175
- "type": "option"
3176
- },
3177
- "environment-id": {
3178
- "description": "Environment id / UUID (repeatable)",
3179
- "name": "environment-id",
3180
- "default": [],
3181
- "hasDynamicHelp": false,
3182
- "multiple": true,
3183
- "type": "option"
3184
- }
3185
- },
3186
- "hasDynamicHelp": false,
3187
- "hiddenAliases": [],
3188
- "id": "projects:set-environments",
3189
- "pluginAlias": "@bussolabs/closeyourit-cli",
3190
- "pluginName": "@bussolabs/closeyourit-cli",
3191
- "pluginType": "core",
3192
- "strict": true,
3193
- "enableJsonFlag": true,
3194
- "isESM": false,
3195
- "relativePath": [
3196
- "dist",
3197
- "commands",
3198
- "projects",
3199
- "set-environments.js"
3200
- ]
3201
- },
3202
- "projects:show": {
3203
- "aliases": [],
3204
- "args": {
3205
- "id": {
3206
- "description": "Project id (UUID) or key",
3207
- "name": "id",
3208
- "required": true
3209
- }
3210
- },
3211
- "description": "Show a single project by id or key",
3212
- "examples": [
3213
- "<%= config.bin %> projects show acme-api",
3214
- "<%= config.bin %> projects show <uuid> --json"
3215
- ],
3216
- "flags": {
3217
- "json": {
3218
- "description": "Format output as json.",
3219
- "helpGroup": "GLOBAL",
3220
- "name": "json",
3221
- "allowNo": false,
3222
- "type": "boolean"
3223
- }
3224
- },
3225
- "hasDynamicHelp": false,
3226
- "hiddenAliases": [],
3227
- "id": "projects:show",
2906
+ "id": "projects:show",
3228
2907
  "pluginAlias": "@bussolabs/closeyourit-cli",
3229
2908
  "pluginName": "@bussolabs/closeyourit-cli",
3230
2909
  "pluginType": "core",
@@ -3673,7 +3352,521 @@
3673
3352
  "update.js"
3674
3353
  ]
3675
3354
  },
3676
- "tickets:assign": {
3355
+ "org:show": {
3356
+ "aliases": [],
3357
+ "args": {},
3358
+ "description": "Show your organization settings",
3359
+ "examples": [
3360
+ "<%= config.bin %> org show",
3361
+ "<%= config.bin %> org show --json"
3362
+ ],
3363
+ "flags": {
3364
+ "json": {
3365
+ "description": "Format output as json.",
3366
+ "helpGroup": "GLOBAL",
3367
+ "name": "json",
3368
+ "allowNo": false,
3369
+ "type": "boolean"
3370
+ }
3371
+ },
3372
+ "hasDynamicHelp": false,
3373
+ "hiddenAliases": [],
3374
+ "id": "org:show",
3375
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3376
+ "pluginName": "@bussolabs/closeyourit-cli",
3377
+ "pluginType": "core",
3378
+ "strict": true,
3379
+ "enableJsonFlag": true,
3380
+ "isESM": false,
3381
+ "relativePath": [
3382
+ "dist",
3383
+ "commands",
3384
+ "org",
3385
+ "show.js"
3386
+ ]
3387
+ },
3388
+ "org:update": {
3389
+ "aliases": [],
3390
+ "args": {},
3391
+ "description": "Update your organization settings (requires organization.manage)",
3392
+ "examples": [
3393
+ "<%= config.bin %> org update --name \"Acme Inc\"",
3394
+ "<%= config.bin %> org update --slug acme-inc",
3395
+ "<%= config.bin %> org update --projects-view table"
3396
+ ],
3397
+ "flags": {
3398
+ "json": {
3399
+ "description": "Format output as json.",
3400
+ "helpGroup": "GLOBAL",
3401
+ "name": "json",
3402
+ "allowNo": false,
3403
+ "type": "boolean"
3404
+ },
3405
+ "name": {
3406
+ "description": "New organization name",
3407
+ "name": "name",
3408
+ "hasDynamicHelp": false,
3409
+ "multiple": false,
3410
+ "type": "option"
3411
+ },
3412
+ "slug": {
3413
+ "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
3414
+ "name": "slug",
3415
+ "hasDynamicHelp": false,
3416
+ "multiple": false,
3417
+ "type": "option"
3418
+ },
3419
+ "projects-view": {
3420
+ "description": "Default projects list view",
3421
+ "name": "projects-view",
3422
+ "hasDynamicHelp": false,
3423
+ "multiple": false,
3424
+ "options": [
3425
+ "cards",
3426
+ "table"
3427
+ ],
3428
+ "type": "option"
3429
+ }
3430
+ },
3431
+ "hasDynamicHelp": false,
3432
+ "hiddenAliases": [],
3433
+ "id": "org:update",
3434
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3435
+ "pluginName": "@bussolabs/closeyourit-cli",
3436
+ "pluginType": "core",
3437
+ "strict": true,
3438
+ "enableJsonFlag": true,
3439
+ "isESM": false,
3440
+ "relativePath": [
3441
+ "dist",
3442
+ "commands",
3443
+ "org",
3444
+ "update.js"
3445
+ ]
3446
+ },
3447
+ "roles:create": {
3448
+ "aliases": [],
3449
+ "args": {
3450
+ "name": {
3451
+ "description": "Role name",
3452
+ "name": "name",
3453
+ "required": true
3454
+ }
3455
+ },
3456
+ "description": "Create an RBAC role (a named bundle of permission keys)",
3457
+ "examples": [
3458
+ "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
3459
+ ],
3460
+ "flags": {
3461
+ "json": {
3462
+ "description": "Format output as json.",
3463
+ "helpGroup": "GLOBAL",
3464
+ "name": "json",
3465
+ "allowNo": false,
3466
+ "type": "boolean"
3467
+ },
3468
+ "color": {
3469
+ "description": "Color label",
3470
+ "name": "color",
3471
+ "hasDynamicHelp": false,
3472
+ "multiple": false,
3473
+ "type": "option"
3474
+ },
3475
+ "permission": {
3476
+ "description": "Permission key from the catalog (repeatable)",
3477
+ "name": "permission",
3478
+ "hasDynamicHelp": false,
3479
+ "multiple": true,
3480
+ "type": "option"
3481
+ }
3482
+ },
3483
+ "hasDynamicHelp": false,
3484
+ "hiddenAliases": [],
3485
+ "id": "roles:create",
3486
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3487
+ "pluginName": "@bussolabs/closeyourit-cli",
3488
+ "pluginType": "core",
3489
+ "strict": true,
3490
+ "enableJsonFlag": true,
3491
+ "isESM": false,
3492
+ "relativePath": [
3493
+ "dist",
3494
+ "commands",
3495
+ "roles",
3496
+ "create.js"
3497
+ ]
3498
+ },
3499
+ "roles:delete": {
3500
+ "aliases": [],
3501
+ "args": {
3502
+ "role": {
3503
+ "description": "Role id (UUID) or name",
3504
+ "name": "role",
3505
+ "required": true
3506
+ }
3507
+ },
3508
+ "description": "Delete a role (its assignments to teams and accounts are removed)",
3509
+ "examples": [
3510
+ "<%= config.bin %> roles delete Client"
3511
+ ],
3512
+ "flags": {
3513
+ "json": {
3514
+ "description": "Format output as json.",
3515
+ "helpGroup": "GLOBAL",
3516
+ "name": "json",
3517
+ "allowNo": false,
3518
+ "type": "boolean"
3519
+ }
3520
+ },
3521
+ "hasDynamicHelp": false,
3522
+ "hiddenAliases": [],
3523
+ "id": "roles:delete",
3524
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3525
+ "pluginName": "@bussolabs/closeyourit-cli",
3526
+ "pluginType": "core",
3527
+ "strict": true,
3528
+ "enableJsonFlag": true,
3529
+ "isESM": false,
3530
+ "relativePath": [
3531
+ "dist",
3532
+ "commands",
3533
+ "roles",
3534
+ "delete.js"
3535
+ ]
3536
+ },
3537
+ "roles:list": {
3538
+ "aliases": [],
3539
+ "args": {},
3540
+ "description": "List the RBAC roles in your organization",
3541
+ "examples": [
3542
+ "<%= config.bin %> roles list",
3543
+ "<%= config.bin %> roles list --json"
3544
+ ],
3545
+ "flags": {
3546
+ "json": {
3547
+ "description": "Format output as json.",
3548
+ "helpGroup": "GLOBAL",
3549
+ "name": "json",
3550
+ "allowNo": false,
3551
+ "type": "boolean"
3552
+ },
3553
+ "page": {
3554
+ "description": "Page number",
3555
+ "name": "page",
3556
+ "default": 1,
3557
+ "hasDynamicHelp": false,
3558
+ "multiple": false,
3559
+ "type": "option"
3560
+ }
3561
+ },
3562
+ "hasDynamicHelp": false,
3563
+ "hiddenAliases": [],
3564
+ "id": "roles:list",
3565
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3566
+ "pluginName": "@bussolabs/closeyourit-cli",
3567
+ "pluginType": "core",
3568
+ "strict": true,
3569
+ "enableJsonFlag": true,
3570
+ "isESM": false,
3571
+ "relativePath": [
3572
+ "dist",
3573
+ "commands",
3574
+ "roles",
3575
+ "list.js"
3576
+ ]
3577
+ },
3578
+ "roles:show": {
3579
+ "aliases": [],
3580
+ "args": {
3581
+ "role": {
3582
+ "description": "Role id (UUID) or name",
3583
+ "name": "role",
3584
+ "required": true
3585
+ }
3586
+ },
3587
+ "description": "Show a role by id or name (with its permission keys)",
3588
+ "examples": [
3589
+ "<%= config.bin %> roles show Client"
3590
+ ],
3591
+ "flags": {
3592
+ "json": {
3593
+ "description": "Format output as json.",
3594
+ "helpGroup": "GLOBAL",
3595
+ "name": "json",
3596
+ "allowNo": false,
3597
+ "type": "boolean"
3598
+ }
3599
+ },
3600
+ "hasDynamicHelp": false,
3601
+ "hiddenAliases": [],
3602
+ "id": "roles:show",
3603
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3604
+ "pluginName": "@bussolabs/closeyourit-cli",
3605
+ "pluginType": "core",
3606
+ "strict": true,
3607
+ "enableJsonFlag": true,
3608
+ "isESM": false,
3609
+ "relativePath": [
3610
+ "dist",
3611
+ "commands",
3612
+ "roles",
3613
+ "show.js"
3614
+ ]
3615
+ },
3616
+ "roles:update": {
3617
+ "aliases": [],
3618
+ "args": {
3619
+ "role": {
3620
+ "description": "Role id (UUID) or name",
3621
+ "name": "role",
3622
+ "required": true
3623
+ }
3624
+ },
3625
+ "description": "Update a role (rename, recolor, or replace its permission keys)",
3626
+ "examples": [
3627
+ "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
3628
+ "<%= config.bin %> roles update Client --name \"Client manager\""
3629
+ ],
3630
+ "flags": {
3631
+ "json": {
3632
+ "description": "Format output as json.",
3633
+ "helpGroup": "GLOBAL",
3634
+ "name": "json",
3635
+ "allowNo": false,
3636
+ "type": "boolean"
3637
+ },
3638
+ "color": {
3639
+ "description": "Color label",
3640
+ "name": "color",
3641
+ "hasDynamicHelp": false,
3642
+ "multiple": false,
3643
+ "type": "option"
3644
+ },
3645
+ "name": {
3646
+ "description": "New name",
3647
+ "name": "name",
3648
+ "hasDynamicHelp": false,
3649
+ "multiple": false,
3650
+ "type": "option"
3651
+ },
3652
+ "permission": {
3653
+ "description": "Permission key (repeatable); when given, REPLACES the whole set",
3654
+ "name": "permission",
3655
+ "hasDynamicHelp": false,
3656
+ "multiple": true,
3657
+ "type": "option"
3658
+ }
3659
+ },
3660
+ "hasDynamicHelp": false,
3661
+ "hiddenAliases": [],
3662
+ "id": "roles:update",
3663
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3664
+ "pluginName": "@bussolabs/closeyourit-cli",
3665
+ "pluginType": "core",
3666
+ "strict": true,
3667
+ "enableJsonFlag": true,
3668
+ "isESM": false,
3669
+ "relativePath": [
3670
+ "dist",
3671
+ "commands",
3672
+ "roles",
3673
+ "update.js"
3674
+ ]
3675
+ },
3676
+ "tokens:create": {
3677
+ "aliases": [],
3678
+ "args": {},
3679
+ "description": "Create an ingest token (the secret is shown only once)",
3680
+ "examples": [
3681
+ "<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
3682
+ ],
3683
+ "flags": {
3684
+ "json": {
3685
+ "description": "Format output as json.",
3686
+ "helpGroup": "GLOBAL",
3687
+ "name": "json",
3688
+ "allowNo": false,
3689
+ "type": "boolean"
3690
+ },
3691
+ "project": {
3692
+ "char": "p",
3693
+ "description": "Project id (UUID) or key",
3694
+ "name": "project",
3695
+ "required": true,
3696
+ "hasDynamicHelp": false,
3697
+ "multiple": false,
3698
+ "type": "option"
3699
+ },
3700
+ "name": {
3701
+ "description": "Human-readable token name",
3702
+ "name": "name",
3703
+ "required": true,
3704
+ "hasDynamicHelp": false,
3705
+ "multiple": false,
3706
+ "type": "option"
3707
+ },
3708
+ "environment-id": {
3709
+ "description": "Environment id the token is scoped to",
3710
+ "name": "environment-id",
3711
+ "required": true,
3712
+ "hasDynamicHelp": false,
3713
+ "multiple": false,
3714
+ "type": "option"
3715
+ }
3716
+ },
3717
+ "hasDynamicHelp": false,
3718
+ "hiddenAliases": [],
3719
+ "id": "tokens:create",
3720
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3721
+ "pluginName": "@bussolabs/closeyourit-cli",
3722
+ "pluginType": "core",
3723
+ "strict": true,
3724
+ "enableJsonFlag": true,
3725
+ "isESM": false,
3726
+ "relativePath": [
3727
+ "dist",
3728
+ "commands",
3729
+ "tokens",
3730
+ "create.js"
3731
+ ]
3732
+ },
3733
+ "tokens:list": {
3734
+ "aliases": [],
3735
+ "args": {},
3736
+ "description": "List ingest tokens for a project",
3737
+ "examples": [
3738
+ "<%= config.bin %> tokens list --project acme-api",
3739
+ "<%= config.bin %> tokens list -p acme-api --json"
3740
+ ],
3741
+ "flags": {
3742
+ "json": {
3743
+ "description": "Format output as json.",
3744
+ "helpGroup": "GLOBAL",
3745
+ "name": "json",
3746
+ "allowNo": false,
3747
+ "type": "boolean"
3748
+ },
3749
+ "project": {
3750
+ "char": "p",
3751
+ "description": "Project id (UUID) or key",
3752
+ "name": "project",
3753
+ "required": true,
3754
+ "hasDynamicHelp": false,
3755
+ "multiple": false,
3756
+ "type": "option"
3757
+ }
3758
+ },
3759
+ "hasDynamicHelp": false,
3760
+ "hiddenAliases": [],
3761
+ "id": "tokens:list",
3762
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3763
+ "pluginName": "@bussolabs/closeyourit-cli",
3764
+ "pluginType": "core",
3765
+ "strict": true,
3766
+ "enableJsonFlag": true,
3767
+ "isESM": false,
3768
+ "relativePath": [
3769
+ "dist",
3770
+ "commands",
3771
+ "tokens",
3772
+ "list.js"
3773
+ ]
3774
+ },
3775
+ "tokens:revoke": {
3776
+ "aliases": [],
3777
+ "args": {
3778
+ "id": {
3779
+ "description": "Token id",
3780
+ "name": "id",
3781
+ "required": true
3782
+ }
3783
+ },
3784
+ "description": "Revoke an ingest token",
3785
+ "examples": [
3786
+ "<%= config.bin %> tokens revoke <token-id> --project acme-api"
3787
+ ],
3788
+ "flags": {
3789
+ "json": {
3790
+ "description": "Format output as json.",
3791
+ "helpGroup": "GLOBAL",
3792
+ "name": "json",
3793
+ "allowNo": false,
3794
+ "type": "boolean"
3795
+ },
3796
+ "project": {
3797
+ "char": "p",
3798
+ "description": "Project id (UUID) or key",
3799
+ "name": "project",
3800
+ "required": true,
3801
+ "hasDynamicHelp": false,
3802
+ "multiple": false,
3803
+ "type": "option"
3804
+ }
3805
+ },
3806
+ "hasDynamicHelp": false,
3807
+ "hiddenAliases": [],
3808
+ "id": "tokens:revoke",
3809
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3810
+ "pluginName": "@bussolabs/closeyourit-cli",
3811
+ "pluginType": "core",
3812
+ "strict": true,
3813
+ "enableJsonFlag": true,
3814
+ "isESM": false,
3815
+ "relativePath": [
3816
+ "dist",
3817
+ "commands",
3818
+ "tokens",
3819
+ "revoke.js"
3820
+ ]
3821
+ },
3822
+ "tokens:rotate": {
3823
+ "aliases": [],
3824
+ "args": {
3825
+ "id": {
3826
+ "description": "Token id",
3827
+ "name": "id",
3828
+ "required": true
3829
+ }
3830
+ },
3831
+ "description": "Rotate an ingest token (the new secret is shown only once)",
3832
+ "examples": [
3833
+ "<%= config.bin %> tokens rotate <token-id> --project acme-api"
3834
+ ],
3835
+ "flags": {
3836
+ "json": {
3837
+ "description": "Format output as json.",
3838
+ "helpGroup": "GLOBAL",
3839
+ "name": "json",
3840
+ "allowNo": false,
3841
+ "type": "boolean"
3842
+ },
3843
+ "project": {
3844
+ "char": "p",
3845
+ "description": "Project id (UUID) or key",
3846
+ "name": "project",
3847
+ "required": true,
3848
+ "hasDynamicHelp": false,
3849
+ "multiple": false,
3850
+ "type": "option"
3851
+ }
3852
+ },
3853
+ "hasDynamicHelp": false,
3854
+ "hiddenAliases": [],
3855
+ "id": "tokens:rotate",
3856
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3857
+ "pluginName": "@bussolabs/closeyourit-cli",
3858
+ "pluginType": "core",
3859
+ "strict": true,
3860
+ "enableJsonFlag": true,
3861
+ "isESM": false,
3862
+ "relativePath": [
3863
+ "dist",
3864
+ "commands",
3865
+ "tokens",
3866
+ "rotate.js"
3867
+ ]
3868
+ },
3869
+ "tickets:assign": {
3677
3870
  "aliases": [],
3678
3871
  "args": {
3679
3872
  "id": {
@@ -3726,7 +3919,131 @@
3726
3919
  },
3727
3920
  "hasDynamicHelp": false,
3728
3921
  "hiddenAliases": [],
3729
- "id": "tickets:assign",
3922
+ "id": "tickets:assign",
3923
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3924
+ "pluginName": "@bussolabs/closeyourit-cli",
3925
+ "pluginType": "core",
3926
+ "strict": true,
3927
+ "enableJsonFlag": true,
3928
+ "isESM": false,
3929
+ "relativePath": [
3930
+ "dist",
3931
+ "commands",
3932
+ "tickets",
3933
+ "assign.js"
3934
+ ]
3935
+ },
3936
+ "tickets:attach": {
3937
+ "aliases": [],
3938
+ "args": {
3939
+ "id": {
3940
+ "description": "Ticket id",
3941
+ "name": "id",
3942
+ "required": true
3943
+ }
3944
+ },
3945
+ "description": "Attach one or more local files to a ticket",
3946
+ "examples": [
3947
+ "<%= config.bin %> tickets attach <ticket-id> --project acme-api --file ./screenshot.png",
3948
+ "<%= config.bin %> tickets attach <ticket-id> -p acme-api --file ./log.txt --file ./trace.json"
3949
+ ],
3950
+ "flags": {
3951
+ "json": {
3952
+ "description": "Format output as json.",
3953
+ "helpGroup": "GLOBAL",
3954
+ "name": "json",
3955
+ "allowNo": false,
3956
+ "type": "boolean"
3957
+ },
3958
+ "project": {
3959
+ "char": "p",
3960
+ "description": "Project id (UUID) or key",
3961
+ "name": "project",
3962
+ "required": true,
3963
+ "hasDynamicHelp": false,
3964
+ "multiple": false,
3965
+ "type": "option"
3966
+ },
3967
+ "file": {
3968
+ "description": "Path to a local file to upload (repeatable)",
3969
+ "name": "file",
3970
+ "required": true,
3971
+ "hasDynamicHelp": false,
3972
+ "multiple": true,
3973
+ "type": "option"
3974
+ }
3975
+ },
3976
+ "hasDynamicHelp": false,
3977
+ "hiddenAliases": [],
3978
+ "id": "tickets:attach",
3979
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3980
+ "pluginName": "@bussolabs/closeyourit-cli",
3981
+ "pluginType": "core",
3982
+ "strict": true,
3983
+ "enableJsonFlag": true,
3984
+ "isESM": false,
3985
+ "relativePath": [
3986
+ "dist",
3987
+ "commands",
3988
+ "tickets",
3989
+ "attach.js"
3990
+ ]
3991
+ },
3992
+ "tickets:attachment-download": {
3993
+ "aliases": [],
3994
+ "args": {
3995
+ "id": {
3996
+ "description": "Ticket id",
3997
+ "name": "id",
3998
+ "required": true
3999
+ },
4000
+ "attachment": {
4001
+ "description": "Attachment id",
4002
+ "name": "attachment",
4003
+ "required": true
4004
+ }
4005
+ },
4006
+ "description": "Download a ticket attachment to disk",
4007
+ "examples": [
4008
+ "<%= config.bin %> tickets attachment-download <ticket-id> <attachment-id> --project acme-api",
4009
+ "<%= config.bin %> tickets attachment-download <ticket-id> <attachment-id> -p acme-api --out ./downloads"
4010
+ ],
4011
+ "flags": {
4012
+ "json": {
4013
+ "description": "Format output as json.",
4014
+ "helpGroup": "GLOBAL",
4015
+ "name": "json",
4016
+ "allowNo": false,
4017
+ "type": "boolean"
4018
+ },
4019
+ "project": {
4020
+ "char": "p",
4021
+ "description": "Project id (UUID) or key",
4022
+ "name": "project",
4023
+ "required": true,
4024
+ "hasDynamicHelp": false,
4025
+ "multiple": false,
4026
+ "type": "option"
4027
+ },
4028
+ "out": {
4029
+ "description": "Output directory",
4030
+ "name": "out",
4031
+ "default": ".",
4032
+ "hasDynamicHelp": false,
4033
+ "multiple": false,
4034
+ "type": "option"
4035
+ },
4036
+ "filename": {
4037
+ "description": "Override the output filename",
4038
+ "name": "filename",
4039
+ "hasDynamicHelp": false,
4040
+ "multiple": false,
4041
+ "type": "option"
4042
+ }
4043
+ },
4044
+ "hasDynamicHelp": false,
4045
+ "hiddenAliases": [],
4046
+ "id": "tickets:attachment-download",
3730
4047
  "pluginAlias": "@bussolabs/closeyourit-cli",
3731
4048
  "pluginName": "@bussolabs/closeyourit-cli",
3732
4049
  "pluginType": "core",
@@ -3737,10 +4054,10 @@
3737
4054
  "dist",
3738
4055
  "commands",
3739
4056
  "tickets",
3740
- "assign.js"
4057
+ "attachment-download.js"
3741
4058
  ]
3742
4059
  },
3743
- "tickets:attach": {
4060
+ "tickets:attachments": {
3744
4061
  "aliases": [],
3745
4062
  "args": {
3746
4063
  "id": {
@@ -3749,10 +4066,10 @@
3749
4066
  "required": true
3750
4067
  }
3751
4068
  },
3752
- "description": "Attach one or more local files to a ticket",
4069
+ "description": "List a ticket's attachments",
3753
4070
  "examples": [
3754
- "<%= config.bin %> tickets attach <ticket-id> --project acme-api --file ./screenshot.png",
3755
- "<%= config.bin %> tickets attach <ticket-id> -p acme-api --file ./log.txt --file ./trace.json"
4071
+ "<%= config.bin %> tickets attachments <ticket-id> --project acme-api",
4072
+ "<%= config.bin %> tickets attachments <ticket-id> -p acme-api --json"
3756
4073
  ],
3757
4074
  "flags": {
3758
4075
  "json": {
@@ -3770,19 +4087,11 @@
3770
4087
  "hasDynamicHelp": false,
3771
4088
  "multiple": false,
3772
4089
  "type": "option"
3773
- },
3774
- "file": {
3775
- "description": "Path to a local file to upload (repeatable)",
3776
- "name": "file",
3777
- "required": true,
3778
- "hasDynamicHelp": false,
3779
- "multiple": true,
3780
- "type": "option"
3781
4090
  }
3782
4091
  },
3783
4092
  "hasDynamicHelp": false,
3784
4093
  "hiddenAliases": [],
3785
- "id": "tickets:attach",
4094
+ "id": "tickets:attachments",
3786
4095
  "pluginAlias": "@bussolabs/closeyourit-cli",
3787
4096
  "pluginName": "@bussolabs/closeyourit-cli",
3788
4097
  "pluginType": "core",
@@ -3793,7 +4102,7 @@
3793
4102
  "dist",
3794
4103
  "commands",
3795
4104
  "tickets",
3796
- "attach.js"
4105
+ "attachments.js"
3797
4106
  ]
3798
4107
  },
3799
4108
  "tickets:comment-delete": {
@@ -3912,6 +4221,54 @@
3912
4221
  "comment.js"
3913
4222
  ]
3914
4223
  },
4224
+ "tickets:comments": {
4225
+ "aliases": [],
4226
+ "args": {
4227
+ "id": {
4228
+ "description": "Ticket id",
4229
+ "name": "id",
4230
+ "required": true
4231
+ }
4232
+ },
4233
+ "description": "List all comments of a ticket (oldest first)",
4234
+ "examples": [
4235
+ "<%= config.bin %> tickets comments <ticket-id> --project acme-api",
4236
+ "<%= config.bin %> tickets comments <ticket-id> -p acme-api --json"
4237
+ ],
4238
+ "flags": {
4239
+ "json": {
4240
+ "description": "Format output as json.",
4241
+ "helpGroup": "GLOBAL",
4242
+ "name": "json",
4243
+ "allowNo": false,
4244
+ "type": "boolean"
4245
+ },
4246
+ "project": {
4247
+ "char": "p",
4248
+ "description": "Project id (UUID) or key",
4249
+ "name": "project",
4250
+ "required": true,
4251
+ "hasDynamicHelp": false,
4252
+ "multiple": false,
4253
+ "type": "option"
4254
+ }
4255
+ },
4256
+ "hasDynamicHelp": false,
4257
+ "hiddenAliases": [],
4258
+ "id": "tickets:comments",
4259
+ "pluginAlias": "@bussolabs/closeyourit-cli",
4260
+ "pluginName": "@bussolabs/closeyourit-cli",
4261
+ "pluginType": "core",
4262
+ "strict": true,
4263
+ "enableJsonFlag": true,
4264
+ "isESM": false,
4265
+ "relativePath": [
4266
+ "dist",
4267
+ "commands",
4268
+ "tickets",
4269
+ "comments.js"
4270
+ ]
4271
+ },
3915
4272
  "tickets:create": {
3916
4273
  "aliases": [],
3917
4274
  "args": {},
@@ -4584,200 +4941,7 @@
4584
4941
  "tickets",
4585
4942
  "vote.js"
4586
4943
  ]
4587
- },
4588
- "tokens:create": {
4589
- "aliases": [],
4590
- "args": {},
4591
- "description": "Create an ingest token (the secret is shown only once)",
4592
- "examples": [
4593
- "<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
4594
- ],
4595
- "flags": {
4596
- "json": {
4597
- "description": "Format output as json.",
4598
- "helpGroup": "GLOBAL",
4599
- "name": "json",
4600
- "allowNo": false,
4601
- "type": "boolean"
4602
- },
4603
- "project": {
4604
- "char": "p",
4605
- "description": "Project id (UUID) or key",
4606
- "name": "project",
4607
- "required": true,
4608
- "hasDynamicHelp": false,
4609
- "multiple": false,
4610
- "type": "option"
4611
- },
4612
- "name": {
4613
- "description": "Human-readable token name",
4614
- "name": "name",
4615
- "required": true,
4616
- "hasDynamicHelp": false,
4617
- "multiple": false,
4618
- "type": "option"
4619
- },
4620
- "environment-id": {
4621
- "description": "Environment id the token is scoped to",
4622
- "name": "environment-id",
4623
- "required": true,
4624
- "hasDynamicHelp": false,
4625
- "multiple": false,
4626
- "type": "option"
4627
- }
4628
- },
4629
- "hasDynamicHelp": false,
4630
- "hiddenAliases": [],
4631
- "id": "tokens:create",
4632
- "pluginAlias": "@bussolabs/closeyourit-cli",
4633
- "pluginName": "@bussolabs/closeyourit-cli",
4634
- "pluginType": "core",
4635
- "strict": true,
4636
- "enableJsonFlag": true,
4637
- "isESM": false,
4638
- "relativePath": [
4639
- "dist",
4640
- "commands",
4641
- "tokens",
4642
- "create.js"
4643
- ]
4644
- },
4645
- "tokens:list": {
4646
- "aliases": [],
4647
- "args": {},
4648
- "description": "List ingest tokens for a project",
4649
- "examples": [
4650
- "<%= config.bin %> tokens list --project acme-api",
4651
- "<%= config.bin %> tokens list -p acme-api --json"
4652
- ],
4653
- "flags": {
4654
- "json": {
4655
- "description": "Format output as json.",
4656
- "helpGroup": "GLOBAL",
4657
- "name": "json",
4658
- "allowNo": false,
4659
- "type": "boolean"
4660
- },
4661
- "project": {
4662
- "char": "p",
4663
- "description": "Project id (UUID) or key",
4664
- "name": "project",
4665
- "required": true,
4666
- "hasDynamicHelp": false,
4667
- "multiple": false,
4668
- "type": "option"
4669
- }
4670
- },
4671
- "hasDynamicHelp": false,
4672
- "hiddenAliases": [],
4673
- "id": "tokens:list",
4674
- "pluginAlias": "@bussolabs/closeyourit-cli",
4675
- "pluginName": "@bussolabs/closeyourit-cli",
4676
- "pluginType": "core",
4677
- "strict": true,
4678
- "enableJsonFlag": true,
4679
- "isESM": false,
4680
- "relativePath": [
4681
- "dist",
4682
- "commands",
4683
- "tokens",
4684
- "list.js"
4685
- ]
4686
- },
4687
- "tokens:revoke": {
4688
- "aliases": [],
4689
- "args": {
4690
- "id": {
4691
- "description": "Token id",
4692
- "name": "id",
4693
- "required": true
4694
- }
4695
- },
4696
- "description": "Revoke an ingest token",
4697
- "examples": [
4698
- "<%= config.bin %> tokens revoke <token-id> --project acme-api"
4699
- ],
4700
- "flags": {
4701
- "json": {
4702
- "description": "Format output as json.",
4703
- "helpGroup": "GLOBAL",
4704
- "name": "json",
4705
- "allowNo": false,
4706
- "type": "boolean"
4707
- },
4708
- "project": {
4709
- "char": "p",
4710
- "description": "Project id (UUID) or key",
4711
- "name": "project",
4712
- "required": true,
4713
- "hasDynamicHelp": false,
4714
- "multiple": false,
4715
- "type": "option"
4716
- }
4717
- },
4718
- "hasDynamicHelp": false,
4719
- "hiddenAliases": [],
4720
- "id": "tokens:revoke",
4721
- "pluginAlias": "@bussolabs/closeyourit-cli",
4722
- "pluginName": "@bussolabs/closeyourit-cli",
4723
- "pluginType": "core",
4724
- "strict": true,
4725
- "enableJsonFlag": true,
4726
- "isESM": false,
4727
- "relativePath": [
4728
- "dist",
4729
- "commands",
4730
- "tokens",
4731
- "revoke.js"
4732
- ]
4733
- },
4734
- "tokens:rotate": {
4735
- "aliases": [],
4736
- "args": {
4737
- "id": {
4738
- "description": "Token id",
4739
- "name": "id",
4740
- "required": true
4741
- }
4742
- },
4743
- "description": "Rotate an ingest token (the new secret is shown only once)",
4744
- "examples": [
4745
- "<%= config.bin %> tokens rotate <token-id> --project acme-api"
4746
- ],
4747
- "flags": {
4748
- "json": {
4749
- "description": "Format output as json.",
4750
- "helpGroup": "GLOBAL",
4751
- "name": "json",
4752
- "allowNo": false,
4753
- "type": "boolean"
4754
- },
4755
- "project": {
4756
- "char": "p",
4757
- "description": "Project id (UUID) or key",
4758
- "name": "project",
4759
- "required": true,
4760
- "hasDynamicHelp": false,
4761
- "multiple": false,
4762
- "type": "option"
4763
- }
4764
- },
4765
- "hasDynamicHelp": false,
4766
- "hiddenAliases": [],
4767
- "id": "tokens:rotate",
4768
- "pluginAlias": "@bussolabs/closeyourit-cli",
4769
- "pluginName": "@bussolabs/closeyourit-cli",
4770
- "pluginType": "core",
4771
- "strict": true,
4772
- "enableJsonFlag": true,
4773
- "isESM": false,
4774
- "relativePath": [
4775
- "dist",
4776
- "commands",
4777
- "tokens",
4778
- "rotate.js"
4779
- ]
4780
4944
  }
4781
4945
  },
4782
- "version": "0.0.6"
4946
+ "version": "0.0.7"
4783
4947
  }