@bussolabs/closeyourit-cli 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +10 -0
  2. package/dist/commands/monitors/create.d.ts +2 -0
  3. package/dist/commands/monitors/create.js +6 -0
  4. package/dist/commands/monitors/update.d.ts +2 -0
  5. package/dist/commands/monitors/update.js +6 -0
  6. package/dist/commands/projects/set-platforms.d.ts +11 -0
  7. package/dist/commands/projects/set-platforms.js +42 -0
  8. package/dist/commands/servers/delete.d.ts +12 -0
  9. package/dist/commands/servers/delete.js +25 -0
  10. package/dist/commands/servers/list.d.ts +10 -0
  11. package/dist/commands/servers/list.js +41 -0
  12. package/dist/commands/servers/pause.d.ts +9 -0
  13. package/dist/commands/servers/pause.js +19 -0
  14. package/dist/commands/servers/rename.d.ts +12 -0
  15. package/dist/commands/servers/rename.js +22 -0
  16. package/dist/commands/servers/resume.d.ts +9 -0
  17. package/dist/commands/servers/resume.js +19 -0
  18. package/dist/commands/servers/revoke.d.ts +12 -0
  19. package/dist/commands/servers/revoke.js +25 -0
  20. package/dist/commands/servers/show.d.ts +9 -0
  21. package/dist/commands/servers/show.js +21 -0
  22. package/dist/commands/servers/tokens/create.d.ts +9 -0
  23. package/dist/commands/servers/tokens/create.js +25 -0
  24. package/dist/commands/servers/tokens/list.d.ts +9 -0
  25. package/dist/commands/servers/tokens/list.js +25 -0
  26. package/dist/commands/servers/tokens/revoke.d.ts +12 -0
  27. package/dist/commands/servers/tokens/revoke.js +25 -0
  28. package/dist/commands/servers/unrevoke.d.ts +9 -0
  29. package/dist/commands/servers/unrevoke.js +19 -0
  30. package/oclif.manifest.json +1126 -575
  31. package/opencli.json +658 -59
  32. package/package.json +4 -1
@@ -648,6 +648,175 @@
648
648
  "update.js"
649
649
  ]
650
650
  },
651
+ "invitations:create": {
652
+ "aliases": [],
653
+ "args": {
654
+ "email": {
655
+ "description": "Email address to invite",
656
+ "name": "email",
657
+ "required": true
658
+ }
659
+ },
660
+ "description": "Invite a person to the organization. Prints the acceptance link (shown only once).",
661
+ "examples": [
662
+ "<%= config.bin %> invitations create client@acme.com",
663
+ "<%= config.bin %> invitations create teammate@acme.com --role member"
664
+ ],
665
+ "flags": {
666
+ "json": {
667
+ "description": "Format output as json.",
668
+ "helpGroup": "GLOBAL",
669
+ "name": "json",
670
+ "allowNo": false,
671
+ "type": "boolean"
672
+ },
673
+ "role": {
674
+ "description": "Membership role",
675
+ "name": "role",
676
+ "default": "customer",
677
+ "hasDynamicHelp": false,
678
+ "multiple": false,
679
+ "options": [
680
+ "customer",
681
+ "member",
682
+ "admin"
683
+ ],
684
+ "type": "option"
685
+ }
686
+ },
687
+ "hasDynamicHelp": false,
688
+ "hiddenAliases": [],
689
+ "id": "invitations:create",
690
+ "pluginAlias": "@bussolabs/closeyourit-cli",
691
+ "pluginName": "@bussolabs/closeyourit-cli",
692
+ "pluginType": "core",
693
+ "strict": true,
694
+ "enableJsonFlag": true,
695
+ "isESM": false,
696
+ "relativePath": [
697
+ "dist",
698
+ "commands",
699
+ "invitations",
700
+ "create.js"
701
+ ]
702
+ },
703
+ "invitations:list": {
704
+ "aliases": [],
705
+ "args": {},
706
+ "description": "List the pending/accepted invitations of your organization",
707
+ "examples": [
708
+ "<%= config.bin %> invitations list",
709
+ "<%= config.bin %> invitations list --json"
710
+ ],
711
+ "flags": {
712
+ "json": {
713
+ "description": "Format output as json.",
714
+ "helpGroup": "GLOBAL",
715
+ "name": "json",
716
+ "allowNo": false,
717
+ "type": "boolean"
718
+ },
719
+ "page": {
720
+ "description": "Page number",
721
+ "name": "page",
722
+ "default": 1,
723
+ "hasDynamicHelp": false,
724
+ "multiple": false,
725
+ "type": "option"
726
+ }
727
+ },
728
+ "hasDynamicHelp": false,
729
+ "hiddenAliases": [],
730
+ "id": "invitations:list",
731
+ "pluginAlias": "@bussolabs/closeyourit-cli",
732
+ "pluginName": "@bussolabs/closeyourit-cli",
733
+ "pluginType": "core",
734
+ "strict": true,
735
+ "enableJsonFlag": true,
736
+ "isESM": false,
737
+ "relativePath": [
738
+ "dist",
739
+ "commands",
740
+ "invitations",
741
+ "list.js"
742
+ ]
743
+ },
744
+ "invitations:resend": {
745
+ "aliases": [],
746
+ "args": {
747
+ "id": {
748
+ "description": "Invitation id (UUID)",
749
+ "name": "id",
750
+ "required": true
751
+ }
752
+ },
753
+ "description": "Resend a pending invitation. Prints the acceptance link (shown only once).",
754
+ "examples": [
755
+ "<%= config.bin %> invitations resend <invitation-uuid>"
756
+ ],
757
+ "flags": {
758
+ "json": {
759
+ "description": "Format output as json.",
760
+ "helpGroup": "GLOBAL",
761
+ "name": "json",
762
+ "allowNo": false,
763
+ "type": "boolean"
764
+ }
765
+ },
766
+ "hasDynamicHelp": false,
767
+ "hiddenAliases": [],
768
+ "id": "invitations:resend",
769
+ "pluginAlias": "@bussolabs/closeyourit-cli",
770
+ "pluginName": "@bussolabs/closeyourit-cli",
771
+ "pluginType": "core",
772
+ "strict": true,
773
+ "enableJsonFlag": true,
774
+ "isESM": false,
775
+ "relativePath": [
776
+ "dist",
777
+ "commands",
778
+ "invitations",
779
+ "resend.js"
780
+ ]
781
+ },
782
+ "invitations:revoke": {
783
+ "aliases": [],
784
+ "args": {
785
+ "id": {
786
+ "description": "Invitation id (UUID)",
787
+ "name": "id",
788
+ "required": true
789
+ }
790
+ },
791
+ "description": "Revoke a pending invitation",
792
+ "examples": [
793
+ "<%= config.bin %> invitations revoke <invitation-uuid>"
794
+ ],
795
+ "flags": {
796
+ "json": {
797
+ "description": "Format output as json.",
798
+ "helpGroup": "GLOBAL",
799
+ "name": "json",
800
+ "allowNo": false,
801
+ "type": "boolean"
802
+ }
803
+ },
804
+ "hasDynamicHelp": false,
805
+ "hiddenAliases": [],
806
+ "id": "invitations:revoke",
807
+ "pluginAlias": "@bussolabs/closeyourit-cli",
808
+ "pluginName": "@bussolabs/closeyourit-cli",
809
+ "pluginType": "core",
810
+ "strict": true,
811
+ "enableJsonFlag": true,
812
+ "isESM": false,
813
+ "relativePath": [
814
+ "dist",
815
+ "commands",
816
+ "invitations",
817
+ "revoke.js"
818
+ ]
819
+ },
651
820
  "errors:list": {
652
821
  "aliases": [],
653
822
  "args": {},
@@ -987,19 +1156,19 @@
987
1156
  "unmute.js"
988
1157
  ]
989
1158
  },
990
- "invitations:create": {
1159
+ "groups:create": {
991
1160
  "aliases": [],
992
1161
  "args": {
993
- "email": {
994
- "description": "Email address to invite",
995
- "name": "email",
1162
+ "name": {
1163
+ "description": "Group name",
1164
+ "name": "name",
996
1165
  "required": true
997
1166
  }
998
1167
  },
999
- "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\")",
1000
1169
  "examples": [
1001
- "<%= config.bin %> invitations create client@acme.com",
1002
- "<%= config.bin %> invitations create teammate@acme.com --role member"
1170
+ "<%= config.bin %> groups create DriverOne",
1171
+ "<%= config.bin %> groups create DriverOne --color indigo"
1003
1172
  ],
1004
1173
  "flags": {
1005
1174
  "json": {
@@ -1009,23 +1178,17 @@
1009
1178
  "allowNo": false,
1010
1179
  "type": "boolean"
1011
1180
  },
1012
- "role": {
1013
- "description": "Membership role",
1014
- "name": "role",
1015
- "default": "customer",
1181
+ "color": {
1182
+ "description": "Color label",
1183
+ "name": "color",
1016
1184
  "hasDynamicHelp": false,
1017
1185
  "multiple": false,
1018
- "options": [
1019
- "customer",
1020
- "member",
1021
- "admin"
1022
- ],
1023
1186
  "type": "option"
1024
1187
  }
1025
1188
  },
1026
1189
  "hasDynamicHelp": false,
1027
1190
  "hiddenAliases": [],
1028
- "id": "invitations:create",
1191
+ "id": "groups:create",
1029
1192
  "pluginAlias": "@bussolabs/closeyourit-cli",
1030
1193
  "pluginName": "@bussolabs/closeyourit-cli",
1031
1194
  "pluginType": "core",
@@ -1035,17 +1198,22 @@
1035
1198
  "relativePath": [
1036
1199
  "dist",
1037
1200
  "commands",
1038
- "invitations",
1201
+ "groups",
1039
1202
  "create.js"
1040
1203
  ]
1041
1204
  },
1042
- "invitations:list": {
1205
+ "groups:delete": {
1043
1206
  "aliases": [],
1044
- "args": {},
1045
- "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)",
1046
1215
  "examples": [
1047
- "<%= config.bin %> invitations list",
1048
- "<%= config.bin %> invitations list --json"
1216
+ "<%= config.bin %> groups delete Backend --confirm"
1049
1217
  ],
1050
1218
  "flags": {
1051
1219
  "json": {
@@ -1055,18 +1223,16 @@
1055
1223
  "allowNo": false,
1056
1224
  "type": "boolean"
1057
1225
  },
1058
- "page": {
1059
- "description": "Page number",
1060
- "name": "page",
1061
- "default": 1,
1062
- "hasDynamicHelp": false,
1063
- "multiple": false,
1064
- "type": "option"
1226
+ "confirm": {
1227
+ "description": "Required: confirm the deletion",
1228
+ "name": "confirm",
1229
+ "allowNo": false,
1230
+ "type": "boolean"
1065
1231
  }
1066
1232
  },
1067
1233
  "hasDynamicHelp": false,
1068
1234
  "hiddenAliases": [],
1069
- "id": "invitations:list",
1235
+ "id": "groups:delete",
1070
1236
  "pluginAlias": "@bussolabs/closeyourit-cli",
1071
1237
  "pluginName": "@bussolabs/closeyourit-cli",
1072
1238
  "pluginType": "core",
@@ -1076,22 +1242,17 @@
1076
1242
  "relativePath": [
1077
1243
  "dist",
1078
1244
  "commands",
1079
- "invitations",
1080
- "list.js"
1245
+ "groups",
1246
+ "delete.js"
1081
1247
  ]
1082
1248
  },
1083
- "invitations:resend": {
1249
+ "groups:list": {
1084
1250
  "aliases": [],
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).",
1251
+ "args": {},
1252
+ "description": "List the groups (macro-projects) in your organization",
1093
1253
  "examples": [
1094
- "<%= config.bin %> invitations resend <invitation-uuid>"
1254
+ "<%= config.bin %> groups list",
1255
+ "<%= config.bin %> groups list --page 2 --json"
1095
1256
  ],
1096
1257
  "flags": {
1097
1258
  "json": {
@@ -1100,175 +1261,14 @@
1100
1261
  "name": "json",
1101
1262
  "allowNo": false,
1102
1263
  "type": "boolean"
1103
- }
1104
- },
1105
- "hasDynamicHelp": false,
1106
- "hiddenAliases": [],
1107
- "id": "invitations:resend",
1108
- "pluginAlias": "@bussolabs/closeyourit-cli",
1109
- "pluginName": "@bussolabs/closeyourit-cli",
1110
- "pluginType": "core",
1111
- "strict": true,
1112
- "enableJsonFlag": true,
1113
- "isESM": false,
1114
- "relativePath": [
1115
- "dist",
1116
- "commands",
1117
- "invitations",
1118
- "resend.js"
1119
- ]
1120
- },
1121
- "invitations:revoke": {
1122
- "aliases": [],
1123
- "args": {
1124
- "id": {
1125
- "description": "Invitation id (UUID)",
1126
- "name": "id",
1127
- "required": true
1128
- }
1129
- },
1130
- "description": "Revoke a pending invitation",
1131
- "examples": [
1132
- "<%= config.bin %> invitations revoke <invitation-uuid>"
1133
- ],
1134
- "flags": {
1135
- "json": {
1136
- "description": "Format output as json.",
1137
- "helpGroup": "GLOBAL",
1138
- "name": "json",
1139
- "allowNo": false,
1140
- "type": "boolean"
1141
- }
1142
- },
1143
- "hasDynamicHelp": false,
1144
- "hiddenAliases": [],
1145
- "id": "invitations:revoke",
1146
- "pluginAlias": "@bussolabs/closeyourit-cli",
1147
- "pluginName": "@bussolabs/closeyourit-cli",
1148
- "pluginType": "core",
1149
- "strict": true,
1150
- "enableJsonFlag": true,
1151
- "isESM": false,
1152
- "relativePath": [
1153
- "dist",
1154
- "commands",
1155
- "invitations",
1156
- "revoke.js"
1157
- ]
1158
- },
1159
- "groups:create": {
1160
- "aliases": [],
1161
- "args": {
1162
- "name": {
1163
- "description": "Group name",
1164
- "name": "name",
1165
- "required": true
1166
- }
1167
- },
1168
- "description": "Create a group (a container of related projects, e.g. \"DriverOne\")",
1169
- "examples": [
1170
- "<%= config.bin %> groups create DriverOne",
1171
- "<%= config.bin %> groups create DriverOne --color indigo"
1172
- ],
1173
- "flags": {
1174
- "json": {
1175
- "description": "Format output as json.",
1176
- "helpGroup": "GLOBAL",
1177
- "name": "json",
1178
- "allowNo": false,
1179
- "type": "boolean"
1180
- },
1181
- "color": {
1182
- "description": "Color label",
1183
- "name": "color",
1184
- "hasDynamicHelp": false,
1185
- "multiple": false,
1186
- "type": "option"
1187
- }
1188
- },
1189
- "hasDynamicHelp": false,
1190
- "hiddenAliases": [],
1191
- "id": "groups:create",
1192
- "pluginAlias": "@bussolabs/closeyourit-cli",
1193
- "pluginName": "@bussolabs/closeyourit-cli",
1194
- "pluginType": "core",
1195
- "strict": true,
1196
- "enableJsonFlag": true,
1197
- "isESM": false,
1198
- "relativePath": [
1199
- "dist",
1200
- "commands",
1201
- "groups",
1202
- "create.js"
1203
- ]
1204
- },
1205
- "groups:delete": {
1206
- "aliases": [],
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)",
1215
- "examples": [
1216
- "<%= config.bin %> groups delete Backend --confirm"
1217
- ],
1218
- "flags": {
1219
- "json": {
1220
- "description": "Format output as json.",
1221
- "helpGroup": "GLOBAL",
1222
- "name": "json",
1223
- "allowNo": false,
1224
- "type": "boolean"
1225
- },
1226
- "confirm": {
1227
- "description": "Required: confirm the deletion",
1228
- "name": "confirm",
1229
- "allowNo": false,
1230
- "type": "boolean"
1231
- }
1232
- },
1233
- "hasDynamicHelp": false,
1234
- "hiddenAliases": [],
1235
- "id": "groups:delete",
1236
- "pluginAlias": "@bussolabs/closeyourit-cli",
1237
- "pluginName": "@bussolabs/closeyourit-cli",
1238
- "pluginType": "core",
1239
- "strict": true,
1240
- "enableJsonFlag": true,
1241
- "isESM": false,
1242
- "relativePath": [
1243
- "dist",
1244
- "commands",
1245
- "groups",
1246
- "delete.js"
1247
- ]
1248
- },
1249
- "groups:list": {
1250
- "aliases": [],
1251
- "args": {},
1252
- "description": "List the groups (macro-projects) in your organization",
1253
- "examples": [
1254
- "<%= config.bin %> groups list",
1255
- "<%= config.bin %> groups list --page 2 --json"
1256
- ],
1257
- "flags": {
1258
- "json": {
1259
- "description": "Format output as json.",
1260
- "helpGroup": "GLOBAL",
1261
- "name": "json",
1262
- "allowNo": false,
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"
1264
+ },
1265
+ "page": {
1266
+ "description": "Page number",
1267
+ "name": "page",
1268
+ "default": 1,
1269
+ "hasDynamicHelp": false,
1270
+ "multiple": false,
1271
+ "type": "option"
1272
1272
  }
1273
1273
  },
1274
1274
  "hasDynamicHelp": false,
@@ -2089,6 +2089,20 @@
2089
2089
  "hasDynamicHelp": false,
2090
2090
  "multiple": false,
2091
2091
  "type": "option"
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"
2092
2106
  }
2093
2107
  },
2094
2108
  "hasDynamicHelp": false,
@@ -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,
@@ -2434,19 +2462,13 @@
2434
2462
  "update.js"
2435
2463
  ]
2436
2464
  },
2437
- "platforms:create": {
2465
+ "org:show": {
2438
2466
  "aliases": [],
2439
- "args": {
2440
- "code": {
2441
- "description": "Platform code (e.g. \"ios\", \"android\", \"web\")",
2442
- "name": "code",
2443
- "required": true
2444
- }
2445
- },
2446
- "description": "Create a platform (a device/system your projects run on)",
2467
+ "args": {},
2468
+ "description": "Show your organization settings",
2447
2469
  "examples": [
2448
- "<%= config.bin %> platforms create ios --label iOS",
2449
- "<%= config.bin %> platforms create android --label Android --color emerald --position 2"
2470
+ "<%= config.bin %> org show",
2471
+ "<%= config.bin %> org show --json"
2450
2472
  ],
2451
2473
  "flags": {
2452
2474
  "json": {
@@ -2455,40 +2477,11 @@
2455
2477
  "name": "json",
2456
2478
  "allowNo": false,
2457
2479
  "type": "boolean"
2458
- },
2459
- "label": {
2460
- "description": "Human-readable label",
2461
- "name": "label",
2462
- "required": true,
2463
- "hasDynamicHelp": false,
2464
- "multiple": false,
2465
- "type": "option"
2466
- },
2467
- "color": {
2468
- "description": "Color label",
2469
- "name": "color",
2470
- "default": "sky",
2471
- "hasDynamicHelp": false,
2472
- "multiple": false,
2473
- "type": "option"
2474
- },
2475
- "position": {
2476
- "description": "Sort position",
2477
- "name": "position",
2478
- "hasDynamicHelp": false,
2479
- "multiple": false,
2480
- "type": "option"
2481
- },
2482
- "active": {
2483
- "description": "Whether the platform is active",
2484
- "name": "active",
2485
- "allowNo": true,
2486
- "type": "boolean"
2487
2480
  }
2488
2481
  },
2489
2482
  "hasDynamicHelp": false,
2490
2483
  "hiddenAliases": [],
2491
- "id": "platforms:create",
2484
+ "id": "org:show",
2492
2485
  "pluginAlias": "@bussolabs/closeyourit-cli",
2493
2486
  "pluginName": "@bussolabs/closeyourit-cli",
2494
2487
  "pluginType": "core",
@@ -2498,22 +2491,18 @@
2498
2491
  "relativePath": [
2499
2492
  "dist",
2500
2493
  "commands",
2501
- "platforms",
2502
- "create.js"
2494
+ "org",
2495
+ "show.js"
2503
2496
  ]
2504
2497
  },
2505
- "platforms:delete": {
2498
+ "org:update": {
2506
2499
  "aliases": [],
2507
- "args": {
2508
- "platform": {
2509
- "description": "Platform id (UUID) or code",
2510
- "name": "platform",
2511
- "required": true
2512
- }
2513
- },
2514
- "description": "Delete a platform (blocked if any project or ticket still references it)",
2500
+ "args": {},
2501
+ "description": "Update your organization settings (requires organization.manage)",
2515
2502
  "examples": [
2516
- "<%= config.bin %> platforms delete legacy --confirm"
2503
+ "<%= config.bin %> org update --name \"Acme Inc\"",
2504
+ "<%= config.bin %> org update --slug acme-inc",
2505
+ "<%= config.bin %> org update --projects-view table"
2517
2506
  ],
2518
2507
  "flags": {
2519
2508
  "json": {
@@ -2523,11 +2512,142 @@
2523
2512
  "allowNo": false,
2524
2513
  "type": "boolean"
2525
2514
  },
2526
- "confirm": {
2527
- "description": "Required: confirm the deletion",
2528
- "name": "confirm",
2529
- "allowNo": false,
2530
- "type": "boolean"
2515
+ "name": {
2516
+ "description": "New organization name",
2517
+ "name": "name",
2518
+ "hasDynamicHelp": false,
2519
+ "multiple": false,
2520
+ "type": "option"
2521
+ },
2522
+ "slug": {
2523
+ "description": "New organization slug (lowercase, a-z 0-9 and hyphens)",
2524
+ "name": "slug",
2525
+ "hasDynamicHelp": false,
2526
+ "multiple": false,
2527
+ "type": "option"
2528
+ },
2529
+ "projects-view": {
2530
+ "description": "Default projects list view",
2531
+ "name": "projects-view",
2532
+ "hasDynamicHelp": false,
2533
+ "multiple": false,
2534
+ "options": [
2535
+ "cards",
2536
+ "table"
2537
+ ],
2538
+ "type": "option"
2539
+ }
2540
+ },
2541
+ "hasDynamicHelp": false,
2542
+ "hiddenAliases": [],
2543
+ "id": "org:update",
2544
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2545
+ "pluginName": "@bussolabs/closeyourit-cli",
2546
+ "pluginType": "core",
2547
+ "strict": true,
2548
+ "enableJsonFlag": true,
2549
+ "isESM": false,
2550
+ "relativePath": [
2551
+ "dist",
2552
+ "commands",
2553
+ "org",
2554
+ "update.js"
2555
+ ]
2556
+ },
2557
+ "platforms:create": {
2558
+ "aliases": [],
2559
+ "args": {
2560
+ "code": {
2561
+ "description": "Platform code (e.g. \"ios\", \"android\", \"web\")",
2562
+ "name": "code",
2563
+ "required": true
2564
+ }
2565
+ },
2566
+ "description": "Create a platform (a device/system your projects run on)",
2567
+ "examples": [
2568
+ "<%= config.bin %> platforms create ios --label iOS",
2569
+ "<%= config.bin %> platforms create android --label Android --color emerald --position 2"
2570
+ ],
2571
+ "flags": {
2572
+ "json": {
2573
+ "description": "Format output as json.",
2574
+ "helpGroup": "GLOBAL",
2575
+ "name": "json",
2576
+ "allowNo": false,
2577
+ "type": "boolean"
2578
+ },
2579
+ "label": {
2580
+ "description": "Human-readable label",
2581
+ "name": "label",
2582
+ "required": true,
2583
+ "hasDynamicHelp": false,
2584
+ "multiple": false,
2585
+ "type": "option"
2586
+ },
2587
+ "color": {
2588
+ "description": "Color label",
2589
+ "name": "color",
2590
+ "default": "sky",
2591
+ "hasDynamicHelp": false,
2592
+ "multiple": false,
2593
+ "type": "option"
2594
+ },
2595
+ "position": {
2596
+ "description": "Sort position",
2597
+ "name": "position",
2598
+ "hasDynamicHelp": false,
2599
+ "multiple": false,
2600
+ "type": "option"
2601
+ },
2602
+ "active": {
2603
+ "description": "Whether the platform is active",
2604
+ "name": "active",
2605
+ "allowNo": true,
2606
+ "type": "boolean"
2607
+ }
2608
+ },
2609
+ "hasDynamicHelp": false,
2610
+ "hiddenAliases": [],
2611
+ "id": "platforms:create",
2612
+ "pluginAlias": "@bussolabs/closeyourit-cli",
2613
+ "pluginName": "@bussolabs/closeyourit-cli",
2614
+ "pluginType": "core",
2615
+ "strict": true,
2616
+ "enableJsonFlag": true,
2617
+ "isESM": false,
2618
+ "relativePath": [
2619
+ "dist",
2620
+ "commands",
2621
+ "platforms",
2622
+ "create.js"
2623
+ ]
2624
+ },
2625
+ "platforms:delete": {
2626
+ "aliases": [],
2627
+ "args": {
2628
+ "platform": {
2629
+ "description": "Platform id (UUID) or code",
2630
+ "name": "platform",
2631
+ "required": true
2632
+ }
2633
+ },
2634
+ "description": "Delete a platform (blocked if any project or ticket still references it)",
2635
+ "examples": [
2636
+ "<%= config.bin %> platforms delete legacy --confirm"
2637
+ ],
2638
+ "flags": {
2639
+ "json": {
2640
+ "description": "Format output as json.",
2641
+ "helpGroup": "GLOBAL",
2642
+ "name": "json",
2643
+ "allowNo": false,
2644
+ "type": "boolean"
2645
+ },
2646
+ "confirm": {
2647
+ "description": "Required: confirm the deletion",
2648
+ "name": "confirm",
2649
+ "allowNo": false,
2650
+ "type": "boolean"
2531
2651
  }
2532
2652
  },
2533
2653
  "hasDynamicHelp": false,
@@ -2878,6 +2998,64 @@
2878
2998
  "set-environments.js"
2879
2999
  ]
2880
3000
  },
3001
+ "projects:set-platforms": {
3002
+ "aliases": [],
3003
+ "args": {},
3004
+ "description": "Declare the platforms of a project (replaces the current set)",
3005
+ "examples": [
3006
+ "<%= config.bin %> projects set-platforms --project legalbloom-rails --code web",
3007
+ "<%= config.bin %> projects set-platforms -p LBRA --code web --code ios"
3008
+ ],
3009
+ "flags": {
3010
+ "json": {
3011
+ "description": "Format output as json.",
3012
+ "helpGroup": "GLOBAL",
3013
+ "name": "json",
3014
+ "allowNo": false,
3015
+ "type": "boolean"
3016
+ },
3017
+ "project": {
3018
+ "char": "p",
3019
+ "description": "Project id (UUID) or key",
3020
+ "name": "project",
3021
+ "required": true,
3022
+ "hasDynamicHelp": false,
3023
+ "multiple": false,
3024
+ "type": "option"
3025
+ },
3026
+ "code": {
3027
+ "description": "Platform code, e.g. web (repeatable)",
3028
+ "name": "code",
3029
+ "default": [],
3030
+ "hasDynamicHelp": false,
3031
+ "multiple": true,
3032
+ "type": "option"
3033
+ },
3034
+ "platform-id": {
3035
+ "description": "Platform id / UUID (repeatable)",
3036
+ "name": "platform-id",
3037
+ "default": [],
3038
+ "hasDynamicHelp": false,
3039
+ "multiple": true,
3040
+ "type": "option"
3041
+ }
3042
+ },
3043
+ "hasDynamicHelp": false,
3044
+ "hiddenAliases": [],
3045
+ "id": "projects:set-platforms",
3046
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3047
+ "pluginName": "@bussolabs/closeyourit-cli",
3048
+ "pluginType": "core",
3049
+ "strict": true,
3050
+ "enableJsonFlag": true,
3051
+ "isESM": false,
3052
+ "relativePath": [
3053
+ "dist",
3054
+ "commands",
3055
+ "projects",
3056
+ "set-platforms.js"
3057
+ ]
3058
+ },
2881
3059
  "projects:show": {
2882
3060
  "aliases": [],
2883
3061
  "args": {
@@ -2994,23 +3172,18 @@
2994
3172
  "update.js"
2995
3173
  ]
2996
3174
  },
2997
- "teams:add-member": {
3175
+ "roles:create": {
2998
3176
  "aliases": [],
2999
3177
  "args": {
3000
- "team": {
3001
- "description": "Team id (UUID) or name",
3002
- "name": "team",
3003
- "required": true
3004
- },
3005
- "member": {
3006
- "description": "Member account id or email (must be an org member)",
3007
- "name": "member",
3178
+ "name": {
3179
+ "description": "Role name",
3180
+ "name": "name",
3008
3181
  "required": true
3009
3182
  }
3010
3183
  },
3011
- "description": "Add a person to a team, keeping the existing members",
3184
+ "description": "Create an RBAC role (a named bundle of permission keys)",
3012
3185
  "examples": [
3013
- "<%= config.bin %> teams add-member DriverOne client@acme.com"
3186
+ "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
3014
3187
  ],
3015
3188
  "flags": {
3016
3189
  "json": {
@@ -3019,11 +3192,25 @@
3019
3192
  "name": "json",
3020
3193
  "allowNo": false,
3021
3194
  "type": "boolean"
3195
+ },
3196
+ "color": {
3197
+ "description": "Color label",
3198
+ "name": "color",
3199
+ "hasDynamicHelp": false,
3200
+ "multiple": false,
3201
+ "type": "option"
3202
+ },
3203
+ "permission": {
3204
+ "description": "Permission key from the catalog (repeatable)",
3205
+ "name": "permission",
3206
+ "hasDynamicHelp": false,
3207
+ "multiple": true,
3208
+ "type": "option"
3022
3209
  }
3023
3210
  },
3024
3211
  "hasDynamicHelp": false,
3025
3212
  "hiddenAliases": [],
3026
- "id": "teams:add-member",
3213
+ "id": "roles:create",
3027
3214
  "pluginAlias": "@bussolabs/closeyourit-cli",
3028
3215
  "pluginName": "@bussolabs/closeyourit-cli",
3029
3216
  "pluginType": "core",
@@ -3033,96 +3220,22 @@
3033
3220
  "relativePath": [
3034
3221
  "dist",
3035
3222
  "commands",
3036
- "teams",
3037
- "add-member.js"
3223
+ "roles",
3224
+ "create.js"
3038
3225
  ]
3039
3226
  },
3040
- "teams:create": {
3227
+ "roles:delete": {
3041
3228
  "aliases": [],
3042
3229
  "args": {
3043
- "name": {
3044
- "description": "Team name",
3045
- "name": "name",
3230
+ "role": {
3231
+ "description": "Role id (UUID) or name",
3232
+ "name": "role",
3046
3233
  "required": true
3047
3234
  }
3048
3235
  },
3049
- "description": "Create a team and (optionally) set its roles, group/project scope and members",
3236
+ "description": "Delete a role (its assignments to teams and accounts are removed)",
3050
3237
  "examples": [
3051
- "<%= config.bin %> teams create DriverOne --role Client --group DriverOne",
3052
- "<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
3053
- ],
3054
- "flags": {
3055
- "json": {
3056
- "description": "Format output as json.",
3057
- "helpGroup": "GLOBAL",
3058
- "name": "json",
3059
- "allowNo": false,
3060
- "type": "boolean"
3061
- },
3062
- "color": {
3063
- "description": "Color label",
3064
- "name": "color",
3065
- "hasDynamicHelp": false,
3066
- "multiple": false,
3067
- "type": "option"
3068
- },
3069
- "group": {
3070
- "description": "Group id or name to scope the team to (repeatable)",
3071
- "name": "group",
3072
- "hasDynamicHelp": false,
3073
- "multiple": true,
3074
- "type": "option"
3075
- },
3076
- "member": {
3077
- "description": "Member account id or email (repeatable; must be an org member)",
3078
- "name": "member",
3079
- "hasDynamicHelp": false,
3080
- "multiple": true,
3081
- "type": "option"
3082
- },
3083
- "project": {
3084
- "description": "Project id or key to scope the team to (repeatable)",
3085
- "name": "project",
3086
- "hasDynamicHelp": false,
3087
- "multiple": true,
3088
- "type": "option"
3089
- },
3090
- "role": {
3091
- "description": "Role id or name to grant to the team (repeatable)",
3092
- "name": "role",
3093
- "hasDynamicHelp": false,
3094
- "multiple": true,
3095
- "type": "option"
3096
- }
3097
- },
3098
- "hasDynamicHelp": false,
3099
- "hiddenAliases": [],
3100
- "id": "teams:create",
3101
- "pluginAlias": "@bussolabs/closeyourit-cli",
3102
- "pluginName": "@bussolabs/closeyourit-cli",
3103
- "pluginType": "core",
3104
- "strict": true,
3105
- "enableJsonFlag": true,
3106
- "isESM": false,
3107
- "relativePath": [
3108
- "dist",
3109
- "commands",
3110
- "teams",
3111
- "create.js"
3112
- ]
3113
- },
3114
- "teams:delete": {
3115
- "aliases": [],
3116
- "args": {
3117
- "team": {
3118
- "description": "Team id (UUID) or name",
3119
- "name": "team",
3120
- "required": true
3121
- }
3122
- },
3123
- "description": "Delete a team (its members lose the access this team granted)",
3124
- "examples": [
3125
- "<%= config.bin %> teams delete DriverOne"
3238
+ "<%= config.bin %> roles delete Client"
3126
3239
  ],
3127
3240
  "flags": {
3128
3241
  "json": {
@@ -3135,7 +3248,7 @@
3135
3248
  },
3136
3249
  "hasDynamicHelp": false,
3137
3250
  "hiddenAliases": [],
3138
- "id": "teams:delete",
3251
+ "id": "roles:delete",
3139
3252
  "pluginAlias": "@bussolabs/closeyourit-cli",
3140
3253
  "pluginName": "@bussolabs/closeyourit-cli",
3141
3254
  "pluginType": "core",
@@ -3145,17 +3258,17 @@
3145
3258
  "relativePath": [
3146
3259
  "dist",
3147
3260
  "commands",
3148
- "teams",
3261
+ "roles",
3149
3262
  "delete.js"
3150
3263
  ]
3151
3264
  },
3152
- "teams:list": {
3265
+ "roles:list": {
3153
3266
  "aliases": [],
3154
3267
  "args": {},
3155
- "description": "List the teams (people with scope) in your organization",
3268
+ "description": "List the RBAC roles in your organization",
3156
3269
  "examples": [
3157
- "<%= config.bin %> teams list",
3158
- "<%= config.bin %> teams list --json"
3270
+ "<%= config.bin %> roles list",
3271
+ "<%= config.bin %> roles list --json"
3159
3272
  ],
3160
3273
  "flags": {
3161
3274
  "json": {
@@ -3176,7 +3289,7 @@
3176
3289
  },
3177
3290
  "hasDynamicHelp": false,
3178
3291
  "hiddenAliases": [],
3179
- "id": "teams:list",
3292
+ "id": "roles:list",
3180
3293
  "pluginAlias": "@bussolabs/closeyourit-cli",
3181
3294
  "pluginName": "@bussolabs/closeyourit-cli",
3182
3295
  "pluginType": "core",
@@ -3186,65 +3299,22 @@
3186
3299
  "relativePath": [
3187
3300
  "dist",
3188
3301
  "commands",
3189
- "teams",
3302
+ "roles",
3190
3303
  "list.js"
3191
3304
  ]
3192
3305
  },
3193
- "teams:remove-member": {
3194
- "aliases": [],
3195
- "args": {
3196
- "team": {
3197
- "description": "Team id (UUID) or name",
3198
- "name": "team",
3199
- "required": true
3200
- },
3201
- "member": {
3202
- "description": "Member account id or email",
3203
- "name": "member",
3204
- "required": true
3205
- }
3206
- },
3207
- "description": "Remove a person from a team, keeping the other members",
3208
- "examples": [
3209
- "<%= config.bin %> teams remove-member DriverOne client@acme.com"
3210
- ],
3211
- "flags": {
3212
- "json": {
3213
- "description": "Format output as json.",
3214
- "helpGroup": "GLOBAL",
3215
- "name": "json",
3216
- "allowNo": false,
3217
- "type": "boolean"
3218
- }
3219
- },
3220
- "hasDynamicHelp": false,
3221
- "hiddenAliases": [],
3222
- "id": "teams:remove-member",
3223
- "pluginAlias": "@bussolabs/closeyourit-cli",
3224
- "pluginName": "@bussolabs/closeyourit-cli",
3225
- "pluginType": "core",
3226
- "strict": true,
3227
- "enableJsonFlag": true,
3228
- "isESM": false,
3229
- "relativePath": [
3230
- "dist",
3231
- "commands",
3232
- "teams",
3233
- "remove-member.js"
3234
- ]
3235
- },
3236
- "teams:show": {
3306
+ "roles:show": {
3237
3307
  "aliases": [],
3238
3308
  "args": {
3239
- "team": {
3240
- "description": "Team id (UUID) or name",
3241
- "name": "team",
3309
+ "role": {
3310
+ "description": "Role id (UUID) or name",
3311
+ "name": "role",
3242
3312
  "required": true
3243
3313
  }
3244
3314
  },
3245
- "description": "Show a team by id or name (roles, group/project scope, members)",
3315
+ "description": "Show a role by id or name (with its permission keys)",
3246
3316
  "examples": [
3247
- "<%= config.bin %> teams show DriverOne"
3317
+ "<%= config.bin %> roles show Client"
3248
3318
  ],
3249
3319
  "flags": {
3250
3320
  "json": {
@@ -3257,7 +3327,7 @@
3257
3327
  },
3258
3328
  "hasDynamicHelp": false,
3259
3329
  "hiddenAliases": [],
3260
- "id": "teams:show",
3330
+ "id": "roles:show",
3261
3331
  "pluginAlias": "@bussolabs/closeyourit-cli",
3262
3332
  "pluginName": "@bussolabs/closeyourit-cli",
3263
3333
  "pluginType": "core",
@@ -3267,23 +3337,23 @@
3267
3337
  "relativePath": [
3268
3338
  "dist",
3269
3339
  "commands",
3270
- "teams",
3340
+ "roles",
3271
3341
  "show.js"
3272
3342
  ]
3273
3343
  },
3274
- "teams:update": {
3344
+ "roles:update": {
3275
3345
  "aliases": [],
3276
3346
  "args": {
3277
- "team": {
3278
- "description": "Team id (UUID) or name",
3279
- "name": "team",
3347
+ "role": {
3348
+ "description": "Role id (UUID) or name",
3349
+ "name": "role",
3280
3350
  "required": true
3281
3351
  }
3282
3352
  },
3283
- "description": "Update a team. Each given dimension REPLACES the whole set for that dimension.",
3353
+ "description": "Update a role (rename, recolor, or replace its permission keys)",
3284
3354
  "examples": [
3285
- "<%= config.bin %> teams update DriverOne --role Client --group DriverOne",
3286
- "<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
3355
+ "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
3356
+ "<%= config.bin %> roles update Client --name \"Client manager\""
3287
3357
  ],
3288
3358
  "flags": {
3289
3359
  "json": {
@@ -3300,20 +3370,6 @@
3300
3370
  "multiple": false,
3301
3371
  "type": "option"
3302
3372
  },
3303
- "group": {
3304
- "description": "Group id or name (repeatable; replaces the group scope)",
3305
- "name": "group",
3306
- "hasDynamicHelp": false,
3307
- "multiple": true,
3308
- "type": "option"
3309
- },
3310
- "member": {
3311
- "description": "Member account id or email (repeatable; replaces the members)",
3312
- "name": "member",
3313
- "hasDynamicHelp": false,
3314
- "multiple": true,
3315
- "type": "option"
3316
- },
3317
3373
  "name": {
3318
3374
  "description": "New name",
3319
3375
  "name": "name",
@@ -3321,16 +3377,9 @@
3321
3377
  "multiple": false,
3322
3378
  "type": "option"
3323
3379
  },
3324
- "project": {
3325
- "description": "Project id or key (repeatable; replaces the project scope)",
3326
- "name": "project",
3327
- "hasDynamicHelp": false,
3328
- "multiple": true,
3329
- "type": "option"
3330
- },
3331
- "role": {
3332
- "description": "Role id or name (repeatable; replaces the roles)",
3333
- "name": "role",
3380
+ "permission": {
3381
+ "description": "Permission key (repeatable); when given, REPLACES the whole set",
3382
+ "name": "permission",
3334
3383
  "hasDynamicHelp": false,
3335
3384
  "multiple": true,
3336
3385
  "type": "option"
@@ -3338,7 +3387,7 @@
3338
3387
  },
3339
3388
  "hasDynamicHelp": false,
3340
3389
  "hiddenAliases": [],
3341
- "id": "teams:update",
3390
+ "id": "roles:update",
3342
3391
  "pluginAlias": "@bussolabs/closeyourit-cli",
3343
3392
  "pluginName": "@bussolabs/closeyourit-cli",
3344
3393
  "pluginType": "core",
@@ -3348,17 +3397,22 @@
3348
3397
  "relativePath": [
3349
3398
  "dist",
3350
3399
  "commands",
3351
- "teams",
3400
+ "roles",
3352
3401
  "update.js"
3353
3402
  ]
3354
3403
  },
3355
- "org:show": {
3404
+ "servers:delete": {
3356
3405
  "aliases": [],
3357
- "args": {},
3358
- "description": "Show your organization settings",
3406
+ "args": {
3407
+ "id": {
3408
+ "description": "Server id",
3409
+ "name": "id",
3410
+ "required": true
3411
+ }
3412
+ },
3413
+ "description": "Delete a server and all its metrics (a live agent would re-register it)",
3359
3414
  "examples": [
3360
- "<%= config.bin %> org show",
3361
- "<%= config.bin %> org show --json"
3415
+ "<%= config.bin %> servers delete <server-id> --confirm"
3362
3416
  ],
3363
3417
  "flags": {
3364
3418
  "json": {
@@ -3367,11 +3421,17 @@
3367
3421
  "name": "json",
3368
3422
  "allowNo": false,
3369
3423
  "type": "boolean"
3424
+ },
3425
+ "confirm": {
3426
+ "description": "Required: confirm the deletion",
3427
+ "name": "confirm",
3428
+ "allowNo": false,
3429
+ "type": "boolean"
3370
3430
  }
3371
3431
  },
3372
3432
  "hasDynamicHelp": false,
3373
3433
  "hiddenAliases": [],
3374
- "id": "org:show",
3434
+ "id": "servers:delete",
3375
3435
  "pluginAlias": "@bussolabs/closeyourit-cli",
3376
3436
  "pluginName": "@bussolabs/closeyourit-cli",
3377
3437
  "pluginType": "core",
@@ -3381,18 +3441,17 @@
3381
3441
  "relativePath": [
3382
3442
  "dist",
3383
3443
  "commands",
3384
- "org",
3385
- "show.js"
3444
+ "servers",
3445
+ "delete.js"
3386
3446
  ]
3387
3447
  },
3388
- "org:update": {
3448
+ "servers:list": {
3389
3449
  "aliases": [],
3390
3450
  "args": {},
3391
- "description": "Update your organization settings (requires organization.manage)",
3451
+ "description": "List the monitored servers in your organization (fleet snapshot)",
3392
3452
  "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"
3453
+ "<%= config.bin %> servers list",
3454
+ "<%= config.bin %> servers list --status down --json"
3396
3455
  ],
3397
3456
  "flags": {
3398
3457
  "json": {
@@ -3402,35 +3461,31 @@
3402
3461
  "allowNo": false,
3403
3462
  "type": "boolean"
3404
3463
  },
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",
3464
+ "page": {
3465
+ "description": "Page number",
3466
+ "name": "page",
3467
+ "default": 1,
3415
3468
  "hasDynamicHelp": false,
3416
3469
  "multiple": false,
3417
3470
  "type": "option"
3418
3471
  },
3419
- "projects-view": {
3420
- "description": "Default projects list view",
3421
- "name": "projects-view",
3472
+ "status": {
3473
+ "description": "Filter by status (repeatable)",
3474
+ "name": "status",
3422
3475
  "hasDynamicHelp": false,
3423
- "multiple": false,
3476
+ "multiple": true,
3424
3477
  "options": [
3425
- "cards",
3426
- "table"
3478
+ "pending",
3479
+ "up",
3480
+ "down",
3481
+ "paused"
3427
3482
  ],
3428
3483
  "type": "option"
3429
3484
  }
3430
3485
  },
3431
3486
  "hasDynamicHelp": false,
3432
3487
  "hiddenAliases": [],
3433
- "id": "org:update",
3488
+ "id": "servers:list",
3434
3489
  "pluginAlias": "@bussolabs/closeyourit-cli",
3435
3490
  "pluginName": "@bussolabs/closeyourit-cli",
3436
3491
  "pluginType": "core",
@@ -3440,22 +3495,22 @@
3440
3495
  "relativePath": [
3441
3496
  "dist",
3442
3497
  "commands",
3443
- "org",
3444
- "update.js"
3498
+ "servers",
3499
+ "list.js"
3445
3500
  ]
3446
3501
  },
3447
- "roles:create": {
3502
+ "servers:pause": {
3448
3503
  "aliases": [],
3449
3504
  "args": {
3450
- "name": {
3451
- "description": "Role name",
3452
- "name": "name",
3505
+ "id": {
3506
+ "description": "Server id",
3507
+ "name": "id",
3453
3508
  "required": true
3454
3509
  }
3455
3510
  },
3456
- "description": "Create an RBAC role (a named bundle of permission keys)",
3511
+ "description": "Pause a server (no staleness checks or alerts until resumed)",
3457
3512
  "examples": [
3458
- "<%= config.bin %> roles create Client --permission tickets.edit --permission tickets.assign"
3513
+ "<%= config.bin %> servers pause <server-id>"
3459
3514
  ],
3460
3515
  "flags": {
3461
3516
  "json": {
@@ -3464,25 +3519,11 @@
3464
3519
  "name": "json",
3465
3520
  "allowNo": false,
3466
3521
  "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
3522
  }
3482
3523
  },
3483
3524
  "hasDynamicHelp": false,
3484
3525
  "hiddenAliases": [],
3485
- "id": "roles:create",
3526
+ "id": "servers:pause",
3486
3527
  "pluginAlias": "@bussolabs/closeyourit-cli",
3487
3528
  "pluginName": "@bussolabs/closeyourit-cli",
3488
3529
  "pluginType": "core",
@@ -3492,22 +3533,22 @@
3492
3533
  "relativePath": [
3493
3534
  "dist",
3494
3535
  "commands",
3495
- "roles",
3496
- "create.js"
3536
+ "servers",
3537
+ "pause.js"
3497
3538
  ]
3498
3539
  },
3499
- "roles:delete": {
3540
+ "servers:rename": {
3500
3541
  "aliases": [],
3501
3542
  "args": {
3502
- "role": {
3503
- "description": "Role id (UUID) or name",
3504
- "name": "role",
3543
+ "id": {
3544
+ "description": "Server id",
3545
+ "name": "id",
3505
3546
  "required": true
3506
3547
  }
3507
3548
  },
3508
- "description": "Delete a role (its assignments to teams and accounts are removed)",
3549
+ "description": "Rename a monitored server (display name only)",
3509
3550
  "examples": [
3510
- "<%= config.bin %> roles delete Client"
3551
+ "<%= config.bin %> servers rename <server-id> --name apps-prod"
3511
3552
  ],
3512
3553
  "flags": {
3513
3554
  "json": {
@@ -3516,11 +3557,19 @@
3516
3557
  "name": "json",
3517
3558
  "allowNo": false,
3518
3559
  "type": "boolean"
3560
+ },
3561
+ "name": {
3562
+ "description": "New display name",
3563
+ "name": "name",
3564
+ "required": true,
3565
+ "hasDynamicHelp": false,
3566
+ "multiple": false,
3567
+ "type": "option"
3519
3568
  }
3520
3569
  },
3521
3570
  "hasDynamicHelp": false,
3522
3571
  "hiddenAliases": [],
3523
- "id": "roles:delete",
3572
+ "id": "servers:rename",
3524
3573
  "pluginAlias": "@bussolabs/closeyourit-cli",
3525
3574
  "pluginName": "@bussolabs/closeyourit-cli",
3526
3575
  "pluginType": "core",
@@ -3530,17 +3579,60 @@
3530
3579
  "relativePath": [
3531
3580
  "dist",
3532
3581
  "commands",
3533
- "roles",
3534
- "delete.js"
3582
+ "servers",
3583
+ "rename.js"
3535
3584
  ]
3536
3585
  },
3537
- "roles:list": {
3586
+ "servers:resume": {
3538
3587
  "aliases": [],
3539
- "args": {},
3540
- "description": "List the RBAC roles in your organization",
3588
+ "args": {
3589
+ "id": {
3590
+ "description": "Server id",
3591
+ "name": "id",
3592
+ "required": true
3593
+ }
3594
+ },
3595
+ "description": "Resume a paused server (back up at the next agent push)",
3541
3596
  "examples": [
3542
- "<%= config.bin %> roles list",
3543
- "<%= config.bin %> roles list --json"
3597
+ "<%= config.bin %> servers resume <server-id>"
3598
+ ],
3599
+ "flags": {
3600
+ "json": {
3601
+ "description": "Format output as json.",
3602
+ "helpGroup": "GLOBAL",
3603
+ "name": "json",
3604
+ "allowNo": false,
3605
+ "type": "boolean"
3606
+ }
3607
+ },
3608
+ "hasDynamicHelp": false,
3609
+ "hiddenAliases": [],
3610
+ "id": "servers:resume",
3611
+ "pluginAlias": "@bussolabs/closeyourit-cli",
3612
+ "pluginName": "@bussolabs/closeyourit-cli",
3613
+ "pluginType": "core",
3614
+ "strict": true,
3615
+ "enableJsonFlag": true,
3616
+ "isESM": false,
3617
+ "relativePath": [
3618
+ "dist",
3619
+ "commands",
3620
+ "servers",
3621
+ "resume.js"
3622
+ ]
3623
+ },
3624
+ "servers:revoke": {
3625
+ "aliases": [],
3626
+ "args": {
3627
+ "id": {
3628
+ "description": "Server id",
3629
+ "name": "id",
3630
+ "required": true
3631
+ }
3632
+ },
3633
+ "description": "Revoke a server: its agent gets 403 and stops (host stays, reversible)",
3634
+ "examples": [
3635
+ "<%= config.bin %> servers revoke <server-id> --confirm"
3544
3636
  ],
3545
3637
  "flags": {
3546
3638
  "json": {
@@ -3550,18 +3642,16 @@
3550
3642
  "allowNo": false,
3551
3643
  "type": "boolean"
3552
3644
  },
3553
- "page": {
3554
- "description": "Page number",
3555
- "name": "page",
3556
- "default": 1,
3557
- "hasDynamicHelp": false,
3558
- "multiple": false,
3559
- "type": "option"
3645
+ "confirm": {
3646
+ "description": "Required: confirm the revocation",
3647
+ "name": "confirm",
3648
+ "allowNo": false,
3649
+ "type": "boolean"
3560
3650
  }
3561
3651
  },
3562
3652
  "hasDynamicHelp": false,
3563
3653
  "hiddenAliases": [],
3564
- "id": "roles:list",
3654
+ "id": "servers:revoke",
3565
3655
  "pluginAlias": "@bussolabs/closeyourit-cli",
3566
3656
  "pluginName": "@bussolabs/closeyourit-cli",
3567
3657
  "pluginType": "core",
@@ -3571,22 +3661,22 @@
3571
3661
  "relativePath": [
3572
3662
  "dist",
3573
3663
  "commands",
3574
- "roles",
3575
- "list.js"
3664
+ "servers",
3665
+ "revoke.js"
3576
3666
  ]
3577
3667
  },
3578
- "roles:show": {
3668
+ "servers:show": {
3579
3669
  "aliases": [],
3580
3670
  "args": {
3581
- "role": {
3582
- "description": "Role id (UUID) or name",
3583
- "name": "role",
3671
+ "id": {
3672
+ "description": "Server id",
3673
+ "name": "id",
3584
3674
  "required": true
3585
3675
  }
3586
3676
  },
3587
- "description": "Show a role by id or name (with its permission keys)",
3677
+ "description": "Show a monitored server (latest snapshot)",
3588
3678
  "examples": [
3589
- "<%= config.bin %> roles show Client"
3679
+ "<%= config.bin %> servers show <server-id>"
3590
3680
  ],
3591
3681
  "flags": {
3592
3682
  "json": {
@@ -3599,7 +3689,7 @@
3599
3689
  },
3600
3690
  "hasDynamicHelp": false,
3601
3691
  "hiddenAliases": [],
3602
- "id": "roles:show",
3692
+ "id": "servers:show",
3603
3693
  "pluginAlias": "@bussolabs/closeyourit-cli",
3604
3694
  "pluginName": "@bussolabs/closeyourit-cli",
3605
3695
  "pluginType": "core",
@@ -3609,23 +3699,22 @@
3609
3699
  "relativePath": [
3610
3700
  "dist",
3611
3701
  "commands",
3612
- "roles",
3702
+ "servers",
3613
3703
  "show.js"
3614
3704
  ]
3615
3705
  },
3616
- "roles:update": {
3706
+ "servers:unrevoke": {
3617
3707
  "aliases": [],
3618
3708
  "args": {
3619
- "role": {
3620
- "description": "Role id (UUID) or name",
3621
- "name": "role",
3709
+ "id": {
3710
+ "description": "Server id",
3711
+ "name": "id",
3622
3712
  "required": true
3623
3713
  }
3624
3714
  },
3625
- "description": "Update a role (rename, recolor, or replace its permission keys)",
3715
+ "description": "Restore a revoked server (its agent can push again)",
3626
3716
  "examples": [
3627
- "<%= config.bin %> roles update Client --permission tickets.edit --permission tickets.assign",
3628
- "<%= config.bin %> roles update Client --name \"Client manager\""
3717
+ "<%= config.bin %> servers unrevoke <server-id>"
3629
3718
  ],
3630
3719
  "flags": {
3631
3720
  "json": {
@@ -3634,32 +3723,11 @@
3634
3723
  "name": "json",
3635
3724
  "allowNo": false,
3636
3725
  "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
3726
  }
3659
3727
  },
3660
3728
  "hasDynamicHelp": false,
3661
3729
  "hiddenAliases": [],
3662
- "id": "roles:update",
3730
+ "id": "servers:unrevoke",
3663
3731
  "pluginAlias": "@bussolabs/closeyourit-cli",
3664
3732
  "pluginName": "@bussolabs/closeyourit-cli",
3665
3733
  "pluginType": "core",
@@ -3669,8 +3737,8 @@
3669
3737
  "relativePath": [
3670
3738
  "dist",
3671
3739
  "commands",
3672
- "roles",
3673
- "update.js"
3740
+ "servers",
3741
+ "unrevoke.js"
3674
3742
  ]
3675
3743
  },
3676
3744
  "tokens:create": {
@@ -4941,7 +5009,490 @@
4941
5009
  "tickets",
4942
5010
  "vote.js"
4943
5011
  ]
5012
+ },
5013
+ "teams:add-member": {
5014
+ "aliases": [],
5015
+ "args": {
5016
+ "team": {
5017
+ "description": "Team id (UUID) or name",
5018
+ "name": "team",
5019
+ "required": true
5020
+ },
5021
+ "member": {
5022
+ "description": "Member account id or email (must be an org member)",
5023
+ "name": "member",
5024
+ "required": true
5025
+ }
5026
+ },
5027
+ "description": "Add a person to a team, keeping the existing members",
5028
+ "examples": [
5029
+ "<%= config.bin %> teams add-member DriverOne client@acme.com"
5030
+ ],
5031
+ "flags": {
5032
+ "json": {
5033
+ "description": "Format output as json.",
5034
+ "helpGroup": "GLOBAL",
5035
+ "name": "json",
5036
+ "allowNo": false,
5037
+ "type": "boolean"
5038
+ }
5039
+ },
5040
+ "hasDynamicHelp": false,
5041
+ "hiddenAliases": [],
5042
+ "id": "teams:add-member",
5043
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5044
+ "pluginName": "@bussolabs/closeyourit-cli",
5045
+ "pluginType": "core",
5046
+ "strict": true,
5047
+ "enableJsonFlag": true,
5048
+ "isESM": false,
5049
+ "relativePath": [
5050
+ "dist",
5051
+ "commands",
5052
+ "teams",
5053
+ "add-member.js"
5054
+ ]
5055
+ },
5056
+ "teams:create": {
5057
+ "aliases": [],
5058
+ "args": {
5059
+ "name": {
5060
+ "description": "Team name",
5061
+ "name": "name",
5062
+ "required": true
5063
+ }
5064
+ },
5065
+ "description": "Create a team and (optionally) set its roles, group/project scope and members",
5066
+ "examples": [
5067
+ "<%= config.bin %> teams create DriverOne --role Client --group DriverOne",
5068
+ "<%= config.bin %> teams create DriverOne --role Client --group DriverOne --member client@acme.com"
5069
+ ],
5070
+ "flags": {
5071
+ "json": {
5072
+ "description": "Format output as json.",
5073
+ "helpGroup": "GLOBAL",
5074
+ "name": "json",
5075
+ "allowNo": false,
5076
+ "type": "boolean"
5077
+ },
5078
+ "color": {
5079
+ "description": "Color label",
5080
+ "name": "color",
5081
+ "hasDynamicHelp": false,
5082
+ "multiple": false,
5083
+ "type": "option"
5084
+ },
5085
+ "group": {
5086
+ "description": "Group id or name to scope the team to (repeatable)",
5087
+ "name": "group",
5088
+ "hasDynamicHelp": false,
5089
+ "multiple": true,
5090
+ "type": "option"
5091
+ },
5092
+ "member": {
5093
+ "description": "Member account id or email (repeatable; must be an org member)",
5094
+ "name": "member",
5095
+ "hasDynamicHelp": false,
5096
+ "multiple": true,
5097
+ "type": "option"
5098
+ },
5099
+ "project": {
5100
+ "description": "Project id or key to scope the team to (repeatable)",
5101
+ "name": "project",
5102
+ "hasDynamicHelp": false,
5103
+ "multiple": true,
5104
+ "type": "option"
5105
+ },
5106
+ "role": {
5107
+ "description": "Role id or name to grant to the team (repeatable)",
5108
+ "name": "role",
5109
+ "hasDynamicHelp": false,
5110
+ "multiple": true,
5111
+ "type": "option"
5112
+ }
5113
+ },
5114
+ "hasDynamicHelp": false,
5115
+ "hiddenAliases": [],
5116
+ "id": "teams:create",
5117
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5118
+ "pluginName": "@bussolabs/closeyourit-cli",
5119
+ "pluginType": "core",
5120
+ "strict": true,
5121
+ "enableJsonFlag": true,
5122
+ "isESM": false,
5123
+ "relativePath": [
5124
+ "dist",
5125
+ "commands",
5126
+ "teams",
5127
+ "create.js"
5128
+ ]
5129
+ },
5130
+ "teams:delete": {
5131
+ "aliases": [],
5132
+ "args": {
5133
+ "team": {
5134
+ "description": "Team id (UUID) or name",
5135
+ "name": "team",
5136
+ "required": true
5137
+ }
5138
+ },
5139
+ "description": "Delete a team (its members lose the access this team granted)",
5140
+ "examples": [
5141
+ "<%= config.bin %> teams delete DriverOne"
5142
+ ],
5143
+ "flags": {
5144
+ "json": {
5145
+ "description": "Format output as json.",
5146
+ "helpGroup": "GLOBAL",
5147
+ "name": "json",
5148
+ "allowNo": false,
5149
+ "type": "boolean"
5150
+ }
5151
+ },
5152
+ "hasDynamicHelp": false,
5153
+ "hiddenAliases": [],
5154
+ "id": "teams:delete",
5155
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5156
+ "pluginName": "@bussolabs/closeyourit-cli",
5157
+ "pluginType": "core",
5158
+ "strict": true,
5159
+ "enableJsonFlag": true,
5160
+ "isESM": false,
5161
+ "relativePath": [
5162
+ "dist",
5163
+ "commands",
5164
+ "teams",
5165
+ "delete.js"
5166
+ ]
5167
+ },
5168
+ "teams:list": {
5169
+ "aliases": [],
5170
+ "args": {},
5171
+ "description": "List the teams (people with scope) in your organization",
5172
+ "examples": [
5173
+ "<%= config.bin %> teams list",
5174
+ "<%= config.bin %> teams list --json"
5175
+ ],
5176
+ "flags": {
5177
+ "json": {
5178
+ "description": "Format output as json.",
5179
+ "helpGroup": "GLOBAL",
5180
+ "name": "json",
5181
+ "allowNo": false,
5182
+ "type": "boolean"
5183
+ },
5184
+ "page": {
5185
+ "description": "Page number",
5186
+ "name": "page",
5187
+ "default": 1,
5188
+ "hasDynamicHelp": false,
5189
+ "multiple": false,
5190
+ "type": "option"
5191
+ }
5192
+ },
5193
+ "hasDynamicHelp": false,
5194
+ "hiddenAliases": [],
5195
+ "id": "teams:list",
5196
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5197
+ "pluginName": "@bussolabs/closeyourit-cli",
5198
+ "pluginType": "core",
5199
+ "strict": true,
5200
+ "enableJsonFlag": true,
5201
+ "isESM": false,
5202
+ "relativePath": [
5203
+ "dist",
5204
+ "commands",
5205
+ "teams",
5206
+ "list.js"
5207
+ ]
5208
+ },
5209
+ "teams:remove-member": {
5210
+ "aliases": [],
5211
+ "args": {
5212
+ "team": {
5213
+ "description": "Team id (UUID) or name",
5214
+ "name": "team",
5215
+ "required": true
5216
+ },
5217
+ "member": {
5218
+ "description": "Member account id or email",
5219
+ "name": "member",
5220
+ "required": true
5221
+ }
5222
+ },
5223
+ "description": "Remove a person from a team, keeping the other members",
5224
+ "examples": [
5225
+ "<%= config.bin %> teams remove-member DriverOne client@acme.com"
5226
+ ],
5227
+ "flags": {
5228
+ "json": {
5229
+ "description": "Format output as json.",
5230
+ "helpGroup": "GLOBAL",
5231
+ "name": "json",
5232
+ "allowNo": false,
5233
+ "type": "boolean"
5234
+ }
5235
+ },
5236
+ "hasDynamicHelp": false,
5237
+ "hiddenAliases": [],
5238
+ "id": "teams:remove-member",
5239
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5240
+ "pluginName": "@bussolabs/closeyourit-cli",
5241
+ "pluginType": "core",
5242
+ "strict": true,
5243
+ "enableJsonFlag": true,
5244
+ "isESM": false,
5245
+ "relativePath": [
5246
+ "dist",
5247
+ "commands",
5248
+ "teams",
5249
+ "remove-member.js"
5250
+ ]
5251
+ },
5252
+ "teams:show": {
5253
+ "aliases": [],
5254
+ "args": {
5255
+ "team": {
5256
+ "description": "Team id (UUID) or name",
5257
+ "name": "team",
5258
+ "required": true
5259
+ }
5260
+ },
5261
+ "description": "Show a team by id or name (roles, group/project scope, members)",
5262
+ "examples": [
5263
+ "<%= config.bin %> teams show DriverOne"
5264
+ ],
5265
+ "flags": {
5266
+ "json": {
5267
+ "description": "Format output as json.",
5268
+ "helpGroup": "GLOBAL",
5269
+ "name": "json",
5270
+ "allowNo": false,
5271
+ "type": "boolean"
5272
+ }
5273
+ },
5274
+ "hasDynamicHelp": false,
5275
+ "hiddenAliases": [],
5276
+ "id": "teams:show",
5277
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5278
+ "pluginName": "@bussolabs/closeyourit-cli",
5279
+ "pluginType": "core",
5280
+ "strict": true,
5281
+ "enableJsonFlag": true,
5282
+ "isESM": false,
5283
+ "relativePath": [
5284
+ "dist",
5285
+ "commands",
5286
+ "teams",
5287
+ "show.js"
5288
+ ]
5289
+ },
5290
+ "teams:update": {
5291
+ "aliases": [],
5292
+ "args": {
5293
+ "team": {
5294
+ "description": "Team id (UUID) or name",
5295
+ "name": "team",
5296
+ "required": true
5297
+ }
5298
+ },
5299
+ "description": "Update a team. Each given dimension REPLACES the whole set for that dimension.",
5300
+ "examples": [
5301
+ "<%= config.bin %> teams update DriverOne --role Client --group DriverOne",
5302
+ "<%= config.bin %> teams update DriverOne --name \"DriverOne clients\""
5303
+ ],
5304
+ "flags": {
5305
+ "json": {
5306
+ "description": "Format output as json.",
5307
+ "helpGroup": "GLOBAL",
5308
+ "name": "json",
5309
+ "allowNo": false,
5310
+ "type": "boolean"
5311
+ },
5312
+ "color": {
5313
+ "description": "Color label",
5314
+ "name": "color",
5315
+ "hasDynamicHelp": false,
5316
+ "multiple": false,
5317
+ "type": "option"
5318
+ },
5319
+ "group": {
5320
+ "description": "Group id or name (repeatable; replaces the group scope)",
5321
+ "name": "group",
5322
+ "hasDynamicHelp": false,
5323
+ "multiple": true,
5324
+ "type": "option"
5325
+ },
5326
+ "member": {
5327
+ "description": "Member account id or email (repeatable; replaces the members)",
5328
+ "name": "member",
5329
+ "hasDynamicHelp": false,
5330
+ "multiple": true,
5331
+ "type": "option"
5332
+ },
5333
+ "name": {
5334
+ "description": "New name",
5335
+ "name": "name",
5336
+ "hasDynamicHelp": false,
5337
+ "multiple": false,
5338
+ "type": "option"
5339
+ },
5340
+ "project": {
5341
+ "description": "Project id or key (repeatable; replaces the project scope)",
5342
+ "name": "project",
5343
+ "hasDynamicHelp": false,
5344
+ "multiple": true,
5345
+ "type": "option"
5346
+ },
5347
+ "role": {
5348
+ "description": "Role id or name (repeatable; replaces the roles)",
5349
+ "name": "role",
5350
+ "hasDynamicHelp": false,
5351
+ "multiple": true,
5352
+ "type": "option"
5353
+ }
5354
+ },
5355
+ "hasDynamicHelp": false,
5356
+ "hiddenAliases": [],
5357
+ "id": "teams:update",
5358
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5359
+ "pluginName": "@bussolabs/closeyourit-cli",
5360
+ "pluginType": "core",
5361
+ "strict": true,
5362
+ "enableJsonFlag": true,
5363
+ "isESM": false,
5364
+ "relativePath": [
5365
+ "dist",
5366
+ "commands",
5367
+ "teams",
5368
+ "update.js"
5369
+ ]
5370
+ },
5371
+ "servers:tokens:create": {
5372
+ "aliases": [],
5373
+ "args": {
5374
+ "name": {
5375
+ "description": "Token name (e.g. fleet)",
5376
+ "name": "name",
5377
+ "required": true
5378
+ }
5379
+ },
5380
+ "description": "Create a fleet enrollment token (the secret is shown only once)",
5381
+ "examples": [
5382
+ "<%= config.bin %> servers tokens create fleet"
5383
+ ],
5384
+ "flags": {
5385
+ "json": {
5386
+ "description": "Format output as json.",
5387
+ "helpGroup": "GLOBAL",
5388
+ "name": "json",
5389
+ "allowNo": false,
5390
+ "type": "boolean"
5391
+ }
5392
+ },
5393
+ "hasDynamicHelp": false,
5394
+ "hiddenAliases": [],
5395
+ "id": "servers:tokens:create",
5396
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5397
+ "pluginName": "@bussolabs/closeyourit-cli",
5398
+ "pluginType": "core",
5399
+ "strict": true,
5400
+ "enableJsonFlag": true,
5401
+ "isESM": false,
5402
+ "relativePath": [
5403
+ "dist",
5404
+ "commands",
5405
+ "servers",
5406
+ "tokens",
5407
+ "create.js"
5408
+ ]
5409
+ },
5410
+ "servers:tokens:list": {
5411
+ "aliases": [],
5412
+ "args": {},
5413
+ "description": "List the fleet enrollment tokens (agents authenticate with these)",
5414
+ "examples": [
5415
+ "<%= config.bin %> servers tokens list"
5416
+ ],
5417
+ "flags": {
5418
+ "json": {
5419
+ "description": "Format output as json.",
5420
+ "helpGroup": "GLOBAL",
5421
+ "name": "json",
5422
+ "allowNo": false,
5423
+ "type": "boolean"
5424
+ },
5425
+ "page": {
5426
+ "description": "Page number",
5427
+ "name": "page",
5428
+ "default": 1,
5429
+ "hasDynamicHelp": false,
5430
+ "multiple": false,
5431
+ "type": "option"
5432
+ }
5433
+ },
5434
+ "hasDynamicHelp": false,
5435
+ "hiddenAliases": [],
5436
+ "id": "servers:tokens:list",
5437
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5438
+ "pluginName": "@bussolabs/closeyourit-cli",
5439
+ "pluginType": "core",
5440
+ "strict": true,
5441
+ "enableJsonFlag": true,
5442
+ "isESM": false,
5443
+ "relativePath": [
5444
+ "dist",
5445
+ "commands",
5446
+ "servers",
5447
+ "tokens",
5448
+ "list.js"
5449
+ ]
5450
+ },
5451
+ "servers:tokens:revoke": {
5452
+ "aliases": [],
5453
+ "args": {
5454
+ "id": {
5455
+ "description": "Enrollment token id",
5456
+ "name": "id",
5457
+ "required": true
5458
+ }
5459
+ },
5460
+ "description": "Revoke a fleet enrollment token (agents using it stop pushing)",
5461
+ "examples": [
5462
+ "<%= config.bin %> servers tokens revoke <token-id> --confirm"
5463
+ ],
5464
+ "flags": {
5465
+ "json": {
5466
+ "description": "Format output as json.",
5467
+ "helpGroup": "GLOBAL",
5468
+ "name": "json",
5469
+ "allowNo": false,
5470
+ "type": "boolean"
5471
+ },
5472
+ "confirm": {
5473
+ "description": "Required: confirm the revocation",
5474
+ "name": "confirm",
5475
+ "allowNo": false,
5476
+ "type": "boolean"
5477
+ }
5478
+ },
5479
+ "hasDynamicHelp": false,
5480
+ "hiddenAliases": [],
5481
+ "id": "servers:tokens:revoke",
5482
+ "pluginAlias": "@bussolabs/closeyourit-cli",
5483
+ "pluginName": "@bussolabs/closeyourit-cli",
5484
+ "pluginType": "core",
5485
+ "strict": true,
5486
+ "enableJsonFlag": true,
5487
+ "isESM": false,
5488
+ "relativePath": [
5489
+ "dist",
5490
+ "commands",
5491
+ "servers",
5492
+ "tokens",
5493
+ "revoke.js"
5494
+ ]
4944
5495
  }
4945
5496
  },
4946
- "version": "0.0.7"
5497
+ "version": "0.0.9"
4947
5498
  }