@bussolabs/closeyourit-cli 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/monitors/create.d.ts +2 -0
- package/dist/commands/monitors/create.js +6 -0
- package/dist/commands/monitors/update.d.ts +2 -0
- package/dist/commands/monitors/update.js +6 -0
- package/dist/commands/projects/set-platforms.d.ts +11 -0
- package/dist/commands/projects/set-platforms.js +42 -0
- package/dist/commands/tickets/attachment-download.d.ts +15 -0
- package/dist/commands/tickets/attachment-download.js +35 -0
- package/dist/commands/tickets/attachments.d.ts +12 -0
- package/dist/commands/tickets/attachments.js +33 -0
- package/dist/commands/tickets/comments.d.ts +12 -0
- package/dist/commands/tickets/comments.js +44 -0
- package/dist/lib/api.d.ts +11 -0
- package/dist/lib/api.js +27 -0
- package/oclif.manifest.json +655 -405
- package/package.json +3 -2
package/oclif.manifest.json
CHANGED
|
@@ -987,19 +987,19 @@
|
|
|
987
987
|
"unmute.js"
|
|
988
988
|
]
|
|
989
989
|
},
|
|
990
|
-
"
|
|
990
|
+
"invitations:create": {
|
|
991
991
|
"aliases": [],
|
|
992
992
|
"args": {
|
|
993
|
-
"
|
|
994
|
-
"description": "
|
|
995
|
-
"name": "
|
|
993
|
+
"email": {
|
|
994
|
+
"description": "Email address to invite",
|
|
995
|
+
"name": "email",
|
|
996
996
|
"required": true
|
|
997
997
|
}
|
|
998
998
|
},
|
|
999
|
-
"description": "
|
|
999
|
+
"description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
|
|
1000
1000
|
"examples": [
|
|
1001
|
-
"<%= config.bin %>
|
|
1002
|
-
"<%= config.bin %>
|
|
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
|
-
"
|
|
1013
|
-
"description": "
|
|
1014
|
-
"name": "
|
|
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": "
|
|
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
|
-
"
|
|
1038
|
+
"invitations",
|
|
1033
1039
|
"create.js"
|
|
1034
1040
|
]
|
|
1035
1041
|
},
|
|
1036
|
-
"
|
|
1042
|
+
"invitations:list": {
|
|
1037
1043
|
"aliases": [],
|
|
1038
|
-
"args": {
|
|
1039
|
-
|
|
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 %>
|
|
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
|
-
"
|
|
1058
|
-
"description": "
|
|
1059
|
-
"name": "
|
|
1060
|
-
"
|
|
1061
|
-
"
|
|
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": "
|
|
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
|
-
"
|
|
1077
|
-
"
|
|
1079
|
+
"invitations",
|
|
1080
|
+
"list.js"
|
|
1078
1081
|
]
|
|
1079
1082
|
},
|
|
1080
|
-
"
|
|
1083
|
+
"invitations:resend": {
|
|
1081
1084
|
"aliases": [],
|
|
1082
|
-
"args": {
|
|
1083
|
-
|
|
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 %>
|
|
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": "
|
|
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
|
-
"
|
|
1118
|
-
"
|
|
1117
|
+
"invitations",
|
|
1118
|
+
"resend.js"
|
|
1119
1119
|
]
|
|
1120
1120
|
},
|
|
1121
|
-
"
|
|
1121
|
+
"invitations:revoke": {
|
|
1122
1122
|
"aliases": [],
|
|
1123
1123
|
"args": {
|
|
1124
|
-
"
|
|
1125
|
-
"description": "
|
|
1126
|
-
"name": "
|
|
1124
|
+
"id": {
|
|
1125
|
+
"description": "Invitation id (UUID)",
|
|
1126
|
+
"name": "id",
|
|
1127
1127
|
"required": true
|
|
1128
1128
|
}
|
|
1129
1129
|
},
|
|
1130
|
-
"description": "
|
|
1130
|
+
"description": "Revoke a pending invitation",
|
|
1131
1131
|
"examples": [
|
|
1132
|
-
"<%= config.bin %>
|
|
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": "
|
|
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
|
-
"
|
|
1171
|
-
"
|
|
1155
|
+
"invitations",
|
|
1156
|
+
"revoke.js"
|
|
1172
1157
|
]
|
|
1173
1158
|
},
|
|
1174
|
-
"
|
|
1159
|
+
"groups:create": {
|
|
1175
1160
|
"aliases": [],
|
|
1176
1161
|
"args": {
|
|
1177
|
-
"
|
|
1178
|
-
"description": "
|
|
1179
|
-
"name": "
|
|
1162
|
+
"name": {
|
|
1163
|
+
"description": "Group name",
|
|
1164
|
+
"name": "name",
|
|
1180
1165
|
"required": true
|
|
1181
1166
|
}
|
|
1182
1167
|
},
|
|
1183
|
-
"description": "
|
|
1168
|
+
"description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
|
|
1184
1169
|
"examples": [
|
|
1185
|
-
"<%= config.bin %>
|
|
1186
|
-
"<%= config.bin %>
|
|
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
|
-
"
|
|
1197
|
-
"description": "
|
|
1198
|
-
"name": "
|
|
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": "
|
|
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
|
-
"
|
|
1201
|
+
"groups",
|
|
1223
1202
|
"create.js"
|
|
1224
1203
|
]
|
|
1225
1204
|
},
|
|
1226
|
-
"
|
|
1205
|
+
"groups:delete": {
|
|
1227
1206
|
"aliases": [],
|
|
1228
|
-
"args": {
|
|
1229
|
-
|
|
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 %>
|
|
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
|
-
"
|
|
1243
|
-
"description": "
|
|
1244
|
-
"name": "
|
|
1245
|
-
"
|
|
1246
|
-
"
|
|
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": "
|
|
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
|
-
"
|
|
1264
|
-
"
|
|
1245
|
+
"groups",
|
|
1246
|
+
"delete.js"
|
|
1265
1247
|
]
|
|
1266
1248
|
},
|
|
1267
|
-
"
|
|
1249
|
+
"groups:list": {
|
|
1268
1250
|
"aliases": [],
|
|
1269
|
-
"args": {
|
|
1270
|
-
|
|
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 %>
|
|
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": "
|
|
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
|
-
"
|
|
1302
|
-
"
|
|
1286
|
+
"groups",
|
|
1287
|
+
"list.js"
|
|
1303
1288
|
]
|
|
1304
1289
|
},
|
|
1305
|
-
"
|
|
1290
|
+
"groups:update": {
|
|
1306
1291
|
"aliases": [],
|
|
1307
1292
|
"args": {
|
|
1308
|
-
"
|
|
1309
|
-
"description": "
|
|
1310
|
-
"name": "
|
|
1293
|
+
"group": {
|
|
1294
|
+
"description": "Group id (UUID) or name",
|
|
1295
|
+
"name": "group",
|
|
1311
1296
|
"required": true
|
|
1312
1297
|
}
|
|
1313
1298
|
},
|
|
1314
|
-
"description": "
|
|
1299
|
+
"description": "Update a group (rename or recolor)",
|
|
1315
1300
|
"examples": [
|
|
1316
|
-
"<%= config.bin %>
|
|
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": "
|
|
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
|
-
"
|
|
1340
|
-
"
|
|
1339
|
+
"groups",
|
|
1340
|
+
"update.js"
|
|
1341
1341
|
]
|
|
1342
1342
|
},
|
|
1343
1343
|
"logs:list": {
|
|
@@ -2089,12 +2089,26 @@
|
|
|
2089
2089
|
"hasDynamicHelp": false,
|
|
2090
2090
|
"multiple": false,
|
|
2091
2091
|
"type": "option"
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2092
|
+
},
|
|
2093
|
+
"expected-body-keyword": {
|
|
2094
|
+
"description": "Keyword expected in the response body (check fails without it; not with HEAD)",
|
|
2095
|
+
"name": "expected-body-keyword",
|
|
2096
|
+
"hasDynamicHelp": false,
|
|
2097
|
+
"multiple": false,
|
|
2098
|
+
"type": "option"
|
|
2099
|
+
},
|
|
2100
|
+
"ssl-expiry-warn-days": {
|
|
2101
|
+
"description": "Alert when the TLS certificate has at most N days left (empty = off)",
|
|
2102
|
+
"name": "ssl-expiry-warn-days",
|
|
2103
|
+
"hasDynamicHelp": false,
|
|
2104
|
+
"multiple": false,
|
|
2105
|
+
"type": "option"
|
|
2106
|
+
}
|
|
2107
|
+
},
|
|
2108
|
+
"hasDynamicHelp": false,
|
|
2109
|
+
"hiddenAliases": [],
|
|
2110
|
+
"id": "monitors:create",
|
|
2111
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
2098
2112
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
2099
2113
|
"pluginType": "core",
|
|
2100
2114
|
"strict": true,
|
|
@@ -2416,6 +2430,20 @@
|
|
|
2416
2430
|
"hasDynamicHelp": false,
|
|
2417
2431
|
"multiple": false,
|
|
2418
2432
|
"type": "option"
|
|
2433
|
+
},
|
|
2434
|
+
"expected-body-keyword": {
|
|
2435
|
+
"description": "Keyword expected in the response body (check fails without it; not with HEAD)",
|
|
2436
|
+
"name": "expected-body-keyword",
|
|
2437
|
+
"hasDynamicHelp": false,
|
|
2438
|
+
"multiple": false,
|
|
2439
|
+
"type": "option"
|
|
2440
|
+
},
|
|
2441
|
+
"ssl-expiry-warn-days": {
|
|
2442
|
+
"description": "Alert when the TLS certificate has at most N days left (empty = off)",
|
|
2443
|
+
"name": "ssl-expiry-warn-days",
|
|
2444
|
+
"hasDynamicHelp": false,
|
|
2445
|
+
"multiple": false,
|
|
2446
|
+
"type": "option"
|
|
2419
2447
|
}
|
|
2420
2448
|
},
|
|
2421
2449
|
"hasDynamicHelp": false,
|
|
@@ -3199,6 +3227,64 @@
|
|
|
3199
3227
|
"set-environments.js"
|
|
3200
3228
|
]
|
|
3201
3229
|
},
|
|
3230
|
+
"projects:set-platforms": {
|
|
3231
|
+
"aliases": [],
|
|
3232
|
+
"args": {},
|
|
3233
|
+
"description": "Declare the platforms of a project (replaces the current set)",
|
|
3234
|
+
"examples": [
|
|
3235
|
+
"<%= config.bin %> projects set-platforms --project legalbloom-rails --code web",
|
|
3236
|
+
"<%= config.bin %> projects set-platforms -p LBRA --code web --code ios"
|
|
3237
|
+
],
|
|
3238
|
+
"flags": {
|
|
3239
|
+
"json": {
|
|
3240
|
+
"description": "Format output as json.",
|
|
3241
|
+
"helpGroup": "GLOBAL",
|
|
3242
|
+
"name": "json",
|
|
3243
|
+
"allowNo": false,
|
|
3244
|
+
"type": "boolean"
|
|
3245
|
+
},
|
|
3246
|
+
"project": {
|
|
3247
|
+
"char": "p",
|
|
3248
|
+
"description": "Project id (UUID) or key",
|
|
3249
|
+
"name": "project",
|
|
3250
|
+
"required": true,
|
|
3251
|
+
"hasDynamicHelp": false,
|
|
3252
|
+
"multiple": false,
|
|
3253
|
+
"type": "option"
|
|
3254
|
+
},
|
|
3255
|
+
"code": {
|
|
3256
|
+
"description": "Platform code, e.g. web (repeatable)",
|
|
3257
|
+
"name": "code",
|
|
3258
|
+
"default": [],
|
|
3259
|
+
"hasDynamicHelp": false,
|
|
3260
|
+
"multiple": true,
|
|
3261
|
+
"type": "option"
|
|
3262
|
+
},
|
|
3263
|
+
"platform-id": {
|
|
3264
|
+
"description": "Platform id / UUID (repeatable)",
|
|
3265
|
+
"name": "platform-id",
|
|
3266
|
+
"default": [],
|
|
3267
|
+
"hasDynamicHelp": false,
|
|
3268
|
+
"multiple": true,
|
|
3269
|
+
"type": "option"
|
|
3270
|
+
}
|
|
3271
|
+
},
|
|
3272
|
+
"hasDynamicHelp": false,
|
|
3273
|
+
"hiddenAliases": [],
|
|
3274
|
+
"id": "projects:set-platforms",
|
|
3275
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3276
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3277
|
+
"pluginType": "core",
|
|
3278
|
+
"strict": true,
|
|
3279
|
+
"enableJsonFlag": true,
|
|
3280
|
+
"isESM": false,
|
|
3281
|
+
"relativePath": [
|
|
3282
|
+
"dist",
|
|
3283
|
+
"commands",
|
|
3284
|
+
"projects",
|
|
3285
|
+
"set-platforms.js"
|
|
3286
|
+
]
|
|
3287
|
+
},
|
|
3202
3288
|
"projects:show": {
|
|
3203
3289
|
"aliases": [],
|
|
3204
3290
|
"args": {
|
|
@@ -3673,19 +3759,12 @@
|
|
|
3673
3759
|
"update.js"
|
|
3674
3760
|
]
|
|
3675
3761
|
},
|
|
3676
|
-
"
|
|
3762
|
+
"tokens:create": {
|
|
3677
3763
|
"aliases": [],
|
|
3678
|
-
"args": {
|
|
3679
|
-
|
|
3680
|
-
"description": "Ticket id",
|
|
3681
|
-
"name": "id",
|
|
3682
|
-
"required": true
|
|
3683
|
-
}
|
|
3684
|
-
},
|
|
3685
|
-
"description": "Assign a ticket to an account, or unassign it (--unassign)",
|
|
3764
|
+
"args": {},
|
|
3765
|
+
"description": "Create an ingest token (the secret is shown only once)",
|
|
3686
3766
|
"examples": [
|
|
3687
|
-
"<%= config.bin %>
|
|
3688
|
-
"<%= config.bin %> tickets assign <ticket-id> --project acme-api --unassign"
|
|
3767
|
+
"<%= config.bin %> tokens create --project acme-api --name \"CI prod\" --environment-id <env-id>"
|
|
3689
3768
|
],
|
|
3690
3769
|
"flags": {
|
|
3691
3770
|
"json": {
|
|
@@ -3704,29 +3783,68 @@
|
|
|
3704
3783
|
"multiple": false,
|
|
3705
3784
|
"type": "option"
|
|
3706
3785
|
},
|
|
3707
|
-
"
|
|
3708
|
-
"description": "
|
|
3709
|
-
"
|
|
3710
|
-
|
|
3711
|
-
],
|
|
3712
|
-
"name": "assignee-id",
|
|
3786
|
+
"name": {
|
|
3787
|
+
"description": "Human-readable token name",
|
|
3788
|
+
"name": "name",
|
|
3789
|
+
"required": true,
|
|
3713
3790
|
"hasDynamicHelp": false,
|
|
3714
3791
|
"multiple": false,
|
|
3715
3792
|
"type": "option"
|
|
3716
3793
|
},
|
|
3717
|
-
"
|
|
3718
|
-
"description": "
|
|
3719
|
-
"
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
"
|
|
3794
|
+
"environment-id": {
|
|
3795
|
+
"description": "Environment id the token is scoped to",
|
|
3796
|
+
"name": "environment-id",
|
|
3797
|
+
"required": true,
|
|
3798
|
+
"hasDynamicHelp": false,
|
|
3799
|
+
"multiple": false,
|
|
3800
|
+
"type": "option"
|
|
3801
|
+
}
|
|
3802
|
+
},
|
|
3803
|
+
"hasDynamicHelp": false,
|
|
3804
|
+
"hiddenAliases": [],
|
|
3805
|
+
"id": "tokens:create",
|
|
3806
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3807
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3808
|
+
"pluginType": "core",
|
|
3809
|
+
"strict": true,
|
|
3810
|
+
"enableJsonFlag": true,
|
|
3811
|
+
"isESM": false,
|
|
3812
|
+
"relativePath": [
|
|
3813
|
+
"dist",
|
|
3814
|
+
"commands",
|
|
3815
|
+
"tokens",
|
|
3816
|
+
"create.js"
|
|
3817
|
+
]
|
|
3818
|
+
},
|
|
3819
|
+
"tokens:list": {
|
|
3820
|
+
"aliases": [],
|
|
3821
|
+
"args": {},
|
|
3822
|
+
"description": "List ingest tokens for a project",
|
|
3823
|
+
"examples": [
|
|
3824
|
+
"<%= config.bin %> tokens list --project acme-api",
|
|
3825
|
+
"<%= config.bin %> tokens list -p acme-api --json"
|
|
3826
|
+
],
|
|
3827
|
+
"flags": {
|
|
3828
|
+
"json": {
|
|
3829
|
+
"description": "Format output as json.",
|
|
3830
|
+
"helpGroup": "GLOBAL",
|
|
3831
|
+
"name": "json",
|
|
3723
3832
|
"allowNo": false,
|
|
3724
3833
|
"type": "boolean"
|
|
3834
|
+
},
|
|
3835
|
+
"project": {
|
|
3836
|
+
"char": "p",
|
|
3837
|
+
"description": "Project id (UUID) or key",
|
|
3838
|
+
"name": "project",
|
|
3839
|
+
"required": true,
|
|
3840
|
+
"hasDynamicHelp": false,
|
|
3841
|
+
"multiple": false,
|
|
3842
|
+
"type": "option"
|
|
3725
3843
|
}
|
|
3726
3844
|
},
|
|
3727
3845
|
"hasDynamicHelp": false,
|
|
3728
3846
|
"hiddenAliases": [],
|
|
3729
|
-
"id": "
|
|
3847
|
+
"id": "tokens:list",
|
|
3730
3848
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3731
3849
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3732
3850
|
"pluginType": "core",
|
|
@@ -3736,23 +3854,22 @@
|
|
|
3736
3854
|
"relativePath": [
|
|
3737
3855
|
"dist",
|
|
3738
3856
|
"commands",
|
|
3739
|
-
"
|
|
3740
|
-
"
|
|
3857
|
+
"tokens",
|
|
3858
|
+
"list.js"
|
|
3741
3859
|
]
|
|
3742
3860
|
},
|
|
3743
|
-
"
|
|
3861
|
+
"tokens:revoke": {
|
|
3744
3862
|
"aliases": [],
|
|
3745
3863
|
"args": {
|
|
3746
3864
|
"id": {
|
|
3747
|
-
"description": "
|
|
3865
|
+
"description": "Token id",
|
|
3748
3866
|
"name": "id",
|
|
3749
3867
|
"required": true
|
|
3750
3868
|
}
|
|
3751
3869
|
},
|
|
3752
|
-
"description": "
|
|
3870
|
+
"description": "Revoke an ingest token",
|
|
3753
3871
|
"examples": [
|
|
3754
|
-
"<%= config.bin %>
|
|
3755
|
-
"<%= config.bin %> tickets attach <ticket-id> -p acme-api --file ./log.txt --file ./trace.json"
|
|
3872
|
+
"<%= config.bin %> tokens revoke <token-id> --project acme-api"
|
|
3756
3873
|
],
|
|
3757
3874
|
"flags": {
|
|
3758
3875
|
"json": {
|
|
@@ -3770,19 +3887,11 @@
|
|
|
3770
3887
|
"hasDynamicHelp": false,
|
|
3771
3888
|
"multiple": false,
|
|
3772
3889
|
"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
3890
|
}
|
|
3782
3891
|
},
|
|
3783
3892
|
"hasDynamicHelp": false,
|
|
3784
3893
|
"hiddenAliases": [],
|
|
3785
|
-
"id": "
|
|
3894
|
+
"id": "tokens:revoke",
|
|
3786
3895
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3787
3896
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3788
3897
|
"pluginType": "core",
|
|
@@ -3792,22 +3901,22 @@
|
|
|
3792
3901
|
"relativePath": [
|
|
3793
3902
|
"dist",
|
|
3794
3903
|
"commands",
|
|
3795
|
-
"
|
|
3796
|
-
"
|
|
3904
|
+
"tokens",
|
|
3905
|
+
"revoke.js"
|
|
3797
3906
|
]
|
|
3798
3907
|
},
|
|
3799
|
-
"
|
|
3908
|
+
"tokens:rotate": {
|
|
3800
3909
|
"aliases": [],
|
|
3801
3910
|
"args": {
|
|
3802
3911
|
"id": {
|
|
3803
|
-
"description": "
|
|
3912
|
+
"description": "Token id",
|
|
3804
3913
|
"name": "id",
|
|
3805
3914
|
"required": true
|
|
3806
3915
|
}
|
|
3807
3916
|
},
|
|
3808
|
-
"description": "
|
|
3917
|
+
"description": "Rotate an ingest token (the new secret is shown only once)",
|
|
3809
3918
|
"examples": [
|
|
3810
|
-
"<%= config.bin %>
|
|
3919
|
+
"<%= config.bin %> tokens rotate <token-id> --project acme-api"
|
|
3811
3920
|
],
|
|
3812
3921
|
"flags": {
|
|
3813
3922
|
"json": {
|
|
@@ -3825,25 +3934,11 @@
|
|
|
3825
3934
|
"hasDynamicHelp": false,
|
|
3826
3935
|
"multiple": false,
|
|
3827
3936
|
"type": "option"
|
|
3828
|
-
},
|
|
3829
|
-
"comment-id": {
|
|
3830
|
-
"description": "Comment id to delete",
|
|
3831
|
-
"name": "comment-id",
|
|
3832
|
-
"required": true,
|
|
3833
|
-
"hasDynamicHelp": false,
|
|
3834
|
-
"multiple": false,
|
|
3835
|
-
"type": "option"
|
|
3836
|
-
},
|
|
3837
|
-
"confirm": {
|
|
3838
|
-
"description": "Required: confirm the irreversible deletion",
|
|
3839
|
-
"name": "confirm",
|
|
3840
|
-
"allowNo": false,
|
|
3841
|
-
"type": "boolean"
|
|
3842
3937
|
}
|
|
3843
3938
|
},
|
|
3844
3939
|
"hasDynamicHelp": false,
|
|
3845
3940
|
"hiddenAliases": [],
|
|
3846
|
-
"id": "
|
|
3941
|
+
"id": "tokens:rotate",
|
|
3847
3942
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3848
3943
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3849
3944
|
"pluginType": "core",
|
|
@@ -3853,11 +3948,11 @@
|
|
|
3853
3948
|
"relativePath": [
|
|
3854
3949
|
"dist",
|
|
3855
3950
|
"commands",
|
|
3856
|
-
"
|
|
3857
|
-
"
|
|
3951
|
+
"tokens",
|
|
3952
|
+
"rotate.js"
|
|
3858
3953
|
]
|
|
3859
3954
|
},
|
|
3860
|
-
"tickets:
|
|
3955
|
+
"tickets:assign": {
|
|
3861
3956
|
"aliases": [],
|
|
3862
3957
|
"args": {
|
|
3863
3958
|
"id": {
|
|
@@ -3866,9 +3961,10 @@
|
|
|
3866
3961
|
"required": true
|
|
3867
3962
|
}
|
|
3868
3963
|
},
|
|
3869
|
-
"description": "
|
|
3964
|
+
"description": "Assign a ticket to an account, or unassign it (--unassign)",
|
|
3870
3965
|
"examples": [
|
|
3871
|
-
"<%= config.bin %> tickets
|
|
3966
|
+
"<%= config.bin %> tickets assign <ticket-id> --project acme-api --assignee-id <account-id>",
|
|
3967
|
+
"<%= config.bin %> tickets assign <ticket-id> --project acme-api --unassign"
|
|
3872
3968
|
],
|
|
3873
3969
|
"flags": {
|
|
3874
3970
|
"json": {
|
|
@@ -3887,18 +3983,29 @@
|
|
|
3887
3983
|
"multiple": false,
|
|
3888
3984
|
"type": "option"
|
|
3889
3985
|
},
|
|
3890
|
-
"
|
|
3891
|
-
"description": "
|
|
3892
|
-
"
|
|
3893
|
-
|
|
3986
|
+
"assignee-id": {
|
|
3987
|
+
"description": "Account id to assign",
|
|
3988
|
+
"exclusive": [
|
|
3989
|
+
"unassign"
|
|
3990
|
+
],
|
|
3991
|
+
"name": "assignee-id",
|
|
3894
3992
|
"hasDynamicHelp": false,
|
|
3895
3993
|
"multiple": false,
|
|
3896
3994
|
"type": "option"
|
|
3995
|
+
},
|
|
3996
|
+
"unassign": {
|
|
3997
|
+
"description": "Remove the current assignee (DELETE)",
|
|
3998
|
+
"exclusive": [
|
|
3999
|
+
"assignee-id"
|
|
4000
|
+
],
|
|
4001
|
+
"name": "unassign",
|
|
4002
|
+
"allowNo": false,
|
|
4003
|
+
"type": "boolean"
|
|
3897
4004
|
}
|
|
3898
4005
|
},
|
|
3899
4006
|
"hasDynamicHelp": false,
|
|
3900
4007
|
"hiddenAliases": [],
|
|
3901
|
-
"id": "tickets:
|
|
4008
|
+
"id": "tickets:assign",
|
|
3902
4009
|
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
3903
4010
|
"pluginName": "@bussolabs/closeyourit-cli",
|
|
3904
4011
|
"pluginType": "core",
|
|
@@ -3909,16 +4016,22 @@
|
|
|
3909
4016
|
"dist",
|
|
3910
4017
|
"commands",
|
|
3911
4018
|
"tickets",
|
|
3912
|
-
"
|
|
4019
|
+
"assign.js"
|
|
3913
4020
|
]
|
|
3914
4021
|
},
|
|
3915
|
-
"tickets:
|
|
4022
|
+
"tickets:attach": {
|
|
3916
4023
|
"aliases": [],
|
|
3917
|
-
"args": {
|
|
3918
|
-
|
|
4024
|
+
"args": {
|
|
4025
|
+
"id": {
|
|
4026
|
+
"description": "Ticket id",
|
|
4027
|
+
"name": "id",
|
|
4028
|
+
"required": true
|
|
4029
|
+
}
|
|
4030
|
+
},
|
|
4031
|
+
"description": "Attach one or more local files to a ticket",
|
|
3919
4032
|
"examples": [
|
|
3920
|
-
"<%= config.bin %> tickets
|
|
3921
|
-
"<%= config.bin %> tickets
|
|
4033
|
+
"<%= config.bin %> tickets attach <ticket-id> --project acme-api --file ./screenshot.png",
|
|
4034
|
+
"<%= config.bin %> tickets attach <ticket-id> -p acme-api --file ./log.txt --file ./trace.json"
|
|
3922
4035
|
],
|
|
3923
4036
|
"flags": {
|
|
3924
4037
|
"json": {
|
|
@@ -3937,9 +4050,339 @@
|
|
|
3937
4050
|
"multiple": false,
|
|
3938
4051
|
"type": "option"
|
|
3939
4052
|
},
|
|
3940
|
-
"
|
|
3941
|
-
"description": "
|
|
3942
|
-
"name": "
|
|
4053
|
+
"file": {
|
|
4054
|
+
"description": "Path to a local file to upload (repeatable)",
|
|
4055
|
+
"name": "file",
|
|
4056
|
+
"required": true,
|
|
4057
|
+
"hasDynamicHelp": false,
|
|
4058
|
+
"multiple": true,
|
|
4059
|
+
"type": "option"
|
|
4060
|
+
}
|
|
4061
|
+
},
|
|
4062
|
+
"hasDynamicHelp": false,
|
|
4063
|
+
"hiddenAliases": [],
|
|
4064
|
+
"id": "tickets:attach",
|
|
4065
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4066
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4067
|
+
"pluginType": "core",
|
|
4068
|
+
"strict": true,
|
|
4069
|
+
"enableJsonFlag": true,
|
|
4070
|
+
"isESM": false,
|
|
4071
|
+
"relativePath": [
|
|
4072
|
+
"dist",
|
|
4073
|
+
"commands",
|
|
4074
|
+
"tickets",
|
|
4075
|
+
"attach.js"
|
|
4076
|
+
]
|
|
4077
|
+
},
|
|
4078
|
+
"tickets:attachment-download": {
|
|
4079
|
+
"aliases": [],
|
|
4080
|
+
"args": {
|
|
4081
|
+
"id": {
|
|
4082
|
+
"description": "Ticket id",
|
|
4083
|
+
"name": "id",
|
|
4084
|
+
"required": true
|
|
4085
|
+
},
|
|
4086
|
+
"attachment": {
|
|
4087
|
+
"description": "Attachment id",
|
|
4088
|
+
"name": "attachment",
|
|
4089
|
+
"required": true
|
|
4090
|
+
}
|
|
4091
|
+
},
|
|
4092
|
+
"description": "Download a ticket attachment to disk",
|
|
4093
|
+
"examples": [
|
|
4094
|
+
"<%= config.bin %> tickets attachment-download <ticket-id> <attachment-id> --project acme-api",
|
|
4095
|
+
"<%= config.bin %> tickets attachment-download <ticket-id> <attachment-id> -p acme-api --out ./downloads"
|
|
4096
|
+
],
|
|
4097
|
+
"flags": {
|
|
4098
|
+
"json": {
|
|
4099
|
+
"description": "Format output as json.",
|
|
4100
|
+
"helpGroup": "GLOBAL",
|
|
4101
|
+
"name": "json",
|
|
4102
|
+
"allowNo": false,
|
|
4103
|
+
"type": "boolean"
|
|
4104
|
+
},
|
|
4105
|
+
"project": {
|
|
4106
|
+
"char": "p",
|
|
4107
|
+
"description": "Project id (UUID) or key",
|
|
4108
|
+
"name": "project",
|
|
4109
|
+
"required": true,
|
|
4110
|
+
"hasDynamicHelp": false,
|
|
4111
|
+
"multiple": false,
|
|
4112
|
+
"type": "option"
|
|
4113
|
+
},
|
|
4114
|
+
"out": {
|
|
4115
|
+
"description": "Output directory",
|
|
4116
|
+
"name": "out",
|
|
4117
|
+
"default": ".",
|
|
4118
|
+
"hasDynamicHelp": false,
|
|
4119
|
+
"multiple": false,
|
|
4120
|
+
"type": "option"
|
|
4121
|
+
},
|
|
4122
|
+
"filename": {
|
|
4123
|
+
"description": "Override the output filename",
|
|
4124
|
+
"name": "filename",
|
|
4125
|
+
"hasDynamicHelp": false,
|
|
4126
|
+
"multiple": false,
|
|
4127
|
+
"type": "option"
|
|
4128
|
+
}
|
|
4129
|
+
},
|
|
4130
|
+
"hasDynamicHelp": false,
|
|
4131
|
+
"hiddenAliases": [],
|
|
4132
|
+
"id": "tickets:attachment-download",
|
|
4133
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4134
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4135
|
+
"pluginType": "core",
|
|
4136
|
+
"strict": true,
|
|
4137
|
+
"enableJsonFlag": true,
|
|
4138
|
+
"isESM": false,
|
|
4139
|
+
"relativePath": [
|
|
4140
|
+
"dist",
|
|
4141
|
+
"commands",
|
|
4142
|
+
"tickets",
|
|
4143
|
+
"attachment-download.js"
|
|
4144
|
+
]
|
|
4145
|
+
},
|
|
4146
|
+
"tickets:attachments": {
|
|
4147
|
+
"aliases": [],
|
|
4148
|
+
"args": {
|
|
4149
|
+
"id": {
|
|
4150
|
+
"description": "Ticket id",
|
|
4151
|
+
"name": "id",
|
|
4152
|
+
"required": true
|
|
4153
|
+
}
|
|
4154
|
+
},
|
|
4155
|
+
"description": "List a ticket's attachments",
|
|
4156
|
+
"examples": [
|
|
4157
|
+
"<%= config.bin %> tickets attachments <ticket-id> --project acme-api",
|
|
4158
|
+
"<%= config.bin %> tickets attachments <ticket-id> -p acme-api --json"
|
|
4159
|
+
],
|
|
4160
|
+
"flags": {
|
|
4161
|
+
"json": {
|
|
4162
|
+
"description": "Format output as json.",
|
|
4163
|
+
"helpGroup": "GLOBAL",
|
|
4164
|
+
"name": "json",
|
|
4165
|
+
"allowNo": false,
|
|
4166
|
+
"type": "boolean"
|
|
4167
|
+
},
|
|
4168
|
+
"project": {
|
|
4169
|
+
"char": "p",
|
|
4170
|
+
"description": "Project id (UUID) or key",
|
|
4171
|
+
"name": "project",
|
|
4172
|
+
"required": true,
|
|
4173
|
+
"hasDynamicHelp": false,
|
|
4174
|
+
"multiple": false,
|
|
4175
|
+
"type": "option"
|
|
4176
|
+
}
|
|
4177
|
+
},
|
|
4178
|
+
"hasDynamicHelp": false,
|
|
4179
|
+
"hiddenAliases": [],
|
|
4180
|
+
"id": "tickets:attachments",
|
|
4181
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4182
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4183
|
+
"pluginType": "core",
|
|
4184
|
+
"strict": true,
|
|
4185
|
+
"enableJsonFlag": true,
|
|
4186
|
+
"isESM": false,
|
|
4187
|
+
"relativePath": [
|
|
4188
|
+
"dist",
|
|
4189
|
+
"commands",
|
|
4190
|
+
"tickets",
|
|
4191
|
+
"attachments.js"
|
|
4192
|
+
]
|
|
4193
|
+
},
|
|
4194
|
+
"tickets:comment-delete": {
|
|
4195
|
+
"aliases": [],
|
|
4196
|
+
"args": {
|
|
4197
|
+
"id": {
|
|
4198
|
+
"description": "Ticket id",
|
|
4199
|
+
"name": "id",
|
|
4200
|
+
"required": true
|
|
4201
|
+
}
|
|
4202
|
+
},
|
|
4203
|
+
"description": "Delete a comment from a ticket (author, or with tickets.comment.delete_any)",
|
|
4204
|
+
"examples": [
|
|
4205
|
+
"<%= config.bin %> tickets comment-delete <ticket-id> --project acme-api --comment-id <id> --confirm"
|
|
4206
|
+
],
|
|
4207
|
+
"flags": {
|
|
4208
|
+
"json": {
|
|
4209
|
+
"description": "Format output as json.",
|
|
4210
|
+
"helpGroup": "GLOBAL",
|
|
4211
|
+
"name": "json",
|
|
4212
|
+
"allowNo": false,
|
|
4213
|
+
"type": "boolean"
|
|
4214
|
+
},
|
|
4215
|
+
"project": {
|
|
4216
|
+
"char": "p",
|
|
4217
|
+
"description": "Project id (UUID) or key",
|
|
4218
|
+
"name": "project",
|
|
4219
|
+
"required": true,
|
|
4220
|
+
"hasDynamicHelp": false,
|
|
4221
|
+
"multiple": false,
|
|
4222
|
+
"type": "option"
|
|
4223
|
+
},
|
|
4224
|
+
"comment-id": {
|
|
4225
|
+
"description": "Comment id to delete",
|
|
4226
|
+
"name": "comment-id",
|
|
4227
|
+
"required": true,
|
|
4228
|
+
"hasDynamicHelp": false,
|
|
4229
|
+
"multiple": false,
|
|
4230
|
+
"type": "option"
|
|
4231
|
+
},
|
|
4232
|
+
"confirm": {
|
|
4233
|
+
"description": "Required: confirm the irreversible deletion",
|
|
4234
|
+
"name": "confirm",
|
|
4235
|
+
"allowNo": false,
|
|
4236
|
+
"type": "boolean"
|
|
4237
|
+
}
|
|
4238
|
+
},
|
|
4239
|
+
"hasDynamicHelp": false,
|
|
4240
|
+
"hiddenAliases": [],
|
|
4241
|
+
"id": "tickets:comment-delete",
|
|
4242
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4243
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4244
|
+
"pluginType": "core",
|
|
4245
|
+
"strict": true,
|
|
4246
|
+
"enableJsonFlag": true,
|
|
4247
|
+
"isESM": false,
|
|
4248
|
+
"relativePath": [
|
|
4249
|
+
"dist",
|
|
4250
|
+
"commands",
|
|
4251
|
+
"tickets",
|
|
4252
|
+
"comment-delete.js"
|
|
4253
|
+
]
|
|
4254
|
+
},
|
|
4255
|
+
"tickets:comment": {
|
|
4256
|
+
"aliases": [],
|
|
4257
|
+
"args": {
|
|
4258
|
+
"id": {
|
|
4259
|
+
"description": "Ticket id",
|
|
4260
|
+
"name": "id",
|
|
4261
|
+
"required": true
|
|
4262
|
+
}
|
|
4263
|
+
},
|
|
4264
|
+
"description": "Add a comment to a ticket",
|
|
4265
|
+
"examples": [
|
|
4266
|
+
"<%= config.bin %> tickets comment <ticket-id> --project acme-api --body \"Reproduced on staging\""
|
|
4267
|
+
],
|
|
4268
|
+
"flags": {
|
|
4269
|
+
"json": {
|
|
4270
|
+
"description": "Format output as json.",
|
|
4271
|
+
"helpGroup": "GLOBAL",
|
|
4272
|
+
"name": "json",
|
|
4273
|
+
"allowNo": false,
|
|
4274
|
+
"type": "boolean"
|
|
4275
|
+
},
|
|
4276
|
+
"project": {
|
|
4277
|
+
"char": "p",
|
|
4278
|
+
"description": "Project id (UUID) or key",
|
|
4279
|
+
"name": "project",
|
|
4280
|
+
"required": true,
|
|
4281
|
+
"hasDynamicHelp": false,
|
|
4282
|
+
"multiple": false,
|
|
4283
|
+
"type": "option"
|
|
4284
|
+
},
|
|
4285
|
+
"body": {
|
|
4286
|
+
"description": "Comment body",
|
|
4287
|
+
"name": "body",
|
|
4288
|
+
"required": true,
|
|
4289
|
+
"hasDynamicHelp": false,
|
|
4290
|
+
"multiple": false,
|
|
4291
|
+
"type": "option"
|
|
4292
|
+
}
|
|
4293
|
+
},
|
|
4294
|
+
"hasDynamicHelp": false,
|
|
4295
|
+
"hiddenAliases": [],
|
|
4296
|
+
"id": "tickets:comment",
|
|
4297
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4298
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4299
|
+
"pluginType": "core",
|
|
4300
|
+
"strict": true,
|
|
4301
|
+
"enableJsonFlag": true,
|
|
4302
|
+
"isESM": false,
|
|
4303
|
+
"relativePath": [
|
|
4304
|
+
"dist",
|
|
4305
|
+
"commands",
|
|
4306
|
+
"tickets",
|
|
4307
|
+
"comment.js"
|
|
4308
|
+
]
|
|
4309
|
+
},
|
|
4310
|
+
"tickets:comments": {
|
|
4311
|
+
"aliases": [],
|
|
4312
|
+
"args": {
|
|
4313
|
+
"id": {
|
|
4314
|
+
"description": "Ticket id",
|
|
4315
|
+
"name": "id",
|
|
4316
|
+
"required": true
|
|
4317
|
+
}
|
|
4318
|
+
},
|
|
4319
|
+
"description": "List all comments of a ticket (oldest first)",
|
|
4320
|
+
"examples": [
|
|
4321
|
+
"<%= config.bin %> tickets comments <ticket-id> --project acme-api",
|
|
4322
|
+
"<%= config.bin %> tickets comments <ticket-id> -p acme-api --json"
|
|
4323
|
+
],
|
|
4324
|
+
"flags": {
|
|
4325
|
+
"json": {
|
|
4326
|
+
"description": "Format output as json.",
|
|
4327
|
+
"helpGroup": "GLOBAL",
|
|
4328
|
+
"name": "json",
|
|
4329
|
+
"allowNo": false,
|
|
4330
|
+
"type": "boolean"
|
|
4331
|
+
},
|
|
4332
|
+
"project": {
|
|
4333
|
+
"char": "p",
|
|
4334
|
+
"description": "Project id (UUID) or key",
|
|
4335
|
+
"name": "project",
|
|
4336
|
+
"required": true,
|
|
4337
|
+
"hasDynamicHelp": false,
|
|
4338
|
+
"multiple": false,
|
|
4339
|
+
"type": "option"
|
|
4340
|
+
}
|
|
4341
|
+
},
|
|
4342
|
+
"hasDynamicHelp": false,
|
|
4343
|
+
"hiddenAliases": [],
|
|
4344
|
+
"id": "tickets:comments",
|
|
4345
|
+
"pluginAlias": "@bussolabs/closeyourit-cli",
|
|
4346
|
+
"pluginName": "@bussolabs/closeyourit-cli",
|
|
4347
|
+
"pluginType": "core",
|
|
4348
|
+
"strict": true,
|
|
4349
|
+
"enableJsonFlag": true,
|
|
4350
|
+
"isESM": false,
|
|
4351
|
+
"relativePath": [
|
|
4352
|
+
"dist",
|
|
4353
|
+
"commands",
|
|
4354
|
+
"tickets",
|
|
4355
|
+
"comments.js"
|
|
4356
|
+
]
|
|
4357
|
+
},
|
|
4358
|
+
"tickets:create": {
|
|
4359
|
+
"aliases": [],
|
|
4360
|
+
"args": {},
|
|
4361
|
+
"description": "Create a ticket",
|
|
4362
|
+
"examples": [
|
|
4363
|
+
"<%= config.bin %> tickets create --project acme-api --title \"Checkout fails\"",
|
|
4364
|
+
"<%= config.bin %> tickets create -p acme-api --title \"Login bug\" --kind bug --step-given \"logged out\" --step-when \"I submit\" --step-then \"it 500s\""
|
|
4365
|
+
],
|
|
4366
|
+
"flags": {
|
|
4367
|
+
"json": {
|
|
4368
|
+
"description": "Format output as json.",
|
|
4369
|
+
"helpGroup": "GLOBAL",
|
|
4370
|
+
"name": "json",
|
|
4371
|
+
"allowNo": false,
|
|
4372
|
+
"type": "boolean"
|
|
4373
|
+
},
|
|
4374
|
+
"project": {
|
|
4375
|
+
"char": "p",
|
|
4376
|
+
"description": "Project id (UUID) or key",
|
|
4377
|
+
"name": "project",
|
|
4378
|
+
"required": true,
|
|
4379
|
+
"hasDynamicHelp": false,
|
|
4380
|
+
"multiple": false,
|
|
4381
|
+
"type": "option"
|
|
4382
|
+
},
|
|
4383
|
+
"title": {
|
|
4384
|
+
"description": "Ticket title",
|
|
4385
|
+
"name": "title",
|
|
3943
4386
|
"required": true,
|
|
3944
4387
|
"hasDynamicHelp": false,
|
|
3945
4388
|
"multiple": false,
|
|
@@ -4584,200 +5027,7 @@
|
|
|
4584
5027
|
"tickets",
|
|
4585
5028
|
"vote.js"
|
|
4586
5029
|
]
|
|
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
5030
|
}
|
|
4781
5031
|
},
|
|
4782
|
-
"version": "0.0.
|
|
5032
|
+
"version": "0.0.8"
|
|
4783
5033
|
}
|