@dishantlangayan/solace-cloud-cli 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +583 -135
- package/dist/commands/missionctrl/broker/list.d.ts +4 -3
- package/dist/commands/missionctrl/broker/list.js +46 -30
- package/dist/commands/missionctrl/broker-version/list.d.ts +21 -0
- package/dist/commands/missionctrl/broker-version/list.js +122 -0
- package/dist/commands/missionctrl/datacenter/list.d.ts +20 -0
- package/dist/commands/missionctrl/datacenter/list.js +116 -0
- package/dist/commands/missionctrl/service-class/list.d.ts +13 -0
- package/dist/commands/missionctrl/service-class/list.js +61 -0
- package/dist/commands/platform/env/list.d.ts +4 -3
- package/dist/commands/platform/env/list.js +42 -29
- package/dist/commands/platform/users/list.d.ts +20 -0
- package/dist/commands/platform/users/list.js +105 -0
- package/dist/lib/pagination.d.ts +76 -0
- package/dist/lib/pagination.js +96 -0
- package/dist/types/broker-version.d.ts +29 -0
- package/dist/types/broker-version.js +1 -0
- package/dist/types/datacenter.d.ts +41 -0
- package/dist/types/datacenter.js +1 -0
- package/dist/types/service-class.d.ts +21 -0
- package/dist/types/service-class.js +1 -0
- package/dist/types/user.d.ts +31 -0
- package/dist/types/user.js +1 -0
- package/oclif.manifest.json +552 -14
- package/package.json +8 -5
package/oclif.manifest.json
CHANGED
|
@@ -557,7 +557,8 @@
|
|
|
557
557
|
"examples": [
|
|
558
558
|
"<%= config.bin %> <%= command.id %>",
|
|
559
559
|
"<%= config.bin %> <%= command.id %> --org=my-org",
|
|
560
|
-
"<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName --
|
|
560
|
+
"<%= config.bin %> <%= command.id %> --alias=my-alias --name=MyBrokerName --page-number=1 --page-size=10 --sort=name:asc",
|
|
561
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
561
562
|
],
|
|
562
563
|
"flags": {
|
|
563
564
|
"json": {
|
|
@@ -613,16 +614,25 @@
|
|
|
613
614
|
"multiple": false,
|
|
614
615
|
"type": "option"
|
|
615
616
|
},
|
|
616
|
-
"
|
|
617
|
+
"all": {
|
|
618
|
+
"description": "Fetch all pages of event broker services. Results are streamed to the table as each page is received.",
|
|
619
|
+
"exclusive": [
|
|
620
|
+
"page-number"
|
|
621
|
+
],
|
|
622
|
+
"name": "all",
|
|
623
|
+
"allowNo": false,
|
|
624
|
+
"type": "boolean"
|
|
625
|
+
},
|
|
626
|
+
"page-number": {
|
|
617
627
|
"description": "The page number to get. Defaults to 1",
|
|
618
|
-
"name": "
|
|
628
|
+
"name": "page-number",
|
|
619
629
|
"hasDynamicHelp": false,
|
|
620
630
|
"multiple": false,
|
|
621
631
|
"type": "option"
|
|
622
632
|
},
|
|
623
|
-
"
|
|
624
|
-
"description": "The number of event broker services to return per page. Defaults to 10",
|
|
625
|
-
"name": "
|
|
633
|
+
"page-size": {
|
|
634
|
+
"description": "The number of event broker services to return per page. Defaults to 10, or 100 when --all is set",
|
|
635
|
+
"name": "page-size",
|
|
626
636
|
"hasDynamicHelp": false,
|
|
627
637
|
"multiple": false,
|
|
628
638
|
"type": "option"
|
|
@@ -952,6 +962,387 @@
|
|
|
952
962
|
"update.js"
|
|
953
963
|
]
|
|
954
964
|
},
|
|
965
|
+
"missionctrl:broker-version:list": {
|
|
966
|
+
"aliases": [],
|
|
967
|
+
"args": {},
|
|
968
|
+
"description": "Get a list of the event broker versions available for creating event broker services.\n\n Use the returned Version values with --version on \"sc missionctrl broker create\". A service's broker\n version cannot be changed after the service is created.\n\n Token Permissions: [ event_broker_versions:get ]",
|
|
969
|
+
"examples": [
|
|
970
|
+
"<%= config.bin %> <%= command.id %>",
|
|
971
|
+
"<%= config.bin %> <%= command.id %> --org=my-org",
|
|
972
|
+
"<%= config.bin %> <%= command.id %> --recommended --release-channel=LTS",
|
|
973
|
+
"<%= config.bin %> <%= command.id %> --datacenter-id=eks-ca-central-1a --filter-incompatible-versions",
|
|
974
|
+
"<%= config.bin %> <%= command.id %> --alias=my-alias --family-version=10.25 --all"
|
|
975
|
+
],
|
|
976
|
+
"flags": {
|
|
977
|
+
"json": {
|
|
978
|
+
"description": "Format output as json.",
|
|
979
|
+
"helpGroup": "GLOBAL",
|
|
980
|
+
"name": "json",
|
|
981
|
+
"allowNo": false,
|
|
982
|
+
"type": "boolean"
|
|
983
|
+
},
|
|
984
|
+
"log-level": {
|
|
985
|
+
"helpGroup": "GLOBAL",
|
|
986
|
+
"name": "log-level",
|
|
987
|
+
"summary": "Specify level for logging.",
|
|
988
|
+
"default": "info",
|
|
989
|
+
"hasDynamicHelp": false,
|
|
990
|
+
"multiple": false,
|
|
991
|
+
"options": [
|
|
992
|
+
"debug",
|
|
993
|
+
"warn",
|
|
994
|
+
"error",
|
|
995
|
+
"info",
|
|
996
|
+
"trace"
|
|
997
|
+
],
|
|
998
|
+
"type": "option"
|
|
999
|
+
},
|
|
1000
|
+
"alias": {
|
|
1001
|
+
"char": "a",
|
|
1002
|
+
"description": "Organization alias to use. If not specified, uses the default organization.",
|
|
1003
|
+
"exclusive": [
|
|
1004
|
+
"org"
|
|
1005
|
+
],
|
|
1006
|
+
"name": "alias",
|
|
1007
|
+
"hasDynamicHelp": false,
|
|
1008
|
+
"multiple": false,
|
|
1009
|
+
"type": "option"
|
|
1010
|
+
},
|
|
1011
|
+
"datacenter-id": {
|
|
1012
|
+
"description": "Id of the datacenter the versions are intended for. Required when --filter-incompatible-versions is set.",
|
|
1013
|
+
"name": "datacenter-id",
|
|
1014
|
+
"hasDynamicHelp": false,
|
|
1015
|
+
"multiple": false,
|
|
1016
|
+
"type": "option"
|
|
1017
|
+
},
|
|
1018
|
+
"family-version": {
|
|
1019
|
+
"description": "Only return versions in this broker family version, for example 10.25. The family version is generally the first two digits of the version number.",
|
|
1020
|
+
"name": "family-version",
|
|
1021
|
+
"hasDynamicHelp": false,
|
|
1022
|
+
"multiple": false,
|
|
1023
|
+
"type": "option"
|
|
1024
|
+
},
|
|
1025
|
+
"filter-incompatible-versions": {
|
|
1026
|
+
"dependsOn": [
|
|
1027
|
+
"datacenter-id"
|
|
1028
|
+
],
|
|
1029
|
+
"description": "Exclude versions that are incompatible with the datacenter's Kubernetes version. Requires --datacenter-id. The default value is false.",
|
|
1030
|
+
"name": "filter-incompatible-versions",
|
|
1031
|
+
"allowNo": false,
|
|
1032
|
+
"type": "boolean"
|
|
1033
|
+
},
|
|
1034
|
+
"org": {
|
|
1035
|
+
"char": "o",
|
|
1036
|
+
"description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
|
|
1037
|
+
"exclusive": [
|
|
1038
|
+
"alias"
|
|
1039
|
+
],
|
|
1040
|
+
"name": "org",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"multiple": false,
|
|
1043
|
+
"type": "option"
|
|
1044
|
+
},
|
|
1045
|
+
"recommended": {
|
|
1046
|
+
"description": "Only return recommended versions. Use --no-recommended to return only versions that are not recommended. If not specified, all versions are returned.",
|
|
1047
|
+
"name": "recommended",
|
|
1048
|
+
"allowNo": true,
|
|
1049
|
+
"type": "boolean"
|
|
1050
|
+
},
|
|
1051
|
+
"release-channel": {
|
|
1052
|
+
"description": "Filter the versions by release channel. 'LTS' is an annual release with two years of support and maintenance releases, 'ROLLING' is a bi-weekly release introducing new features, and 'DECLINED' versions are unsupported.",
|
|
1053
|
+
"name": "release-channel",
|
|
1054
|
+
"hasDynamicHelp": false,
|
|
1055
|
+
"multiple": false,
|
|
1056
|
+
"options": [
|
|
1057
|
+
"PREVIEW",
|
|
1058
|
+
"PRODUCTION",
|
|
1059
|
+
"PRODUCTION_LTS",
|
|
1060
|
+
"LTS",
|
|
1061
|
+
"ROLLING",
|
|
1062
|
+
"DECLINED"
|
|
1063
|
+
],
|
|
1064
|
+
"type": "option"
|
|
1065
|
+
},
|
|
1066
|
+
"all": {
|
|
1067
|
+
"description": "Fetch all pages of event broker versions. Results are streamed to the table as each page is received.",
|
|
1068
|
+
"exclusive": [
|
|
1069
|
+
"page-number"
|
|
1070
|
+
],
|
|
1071
|
+
"name": "all",
|
|
1072
|
+
"allowNo": false,
|
|
1073
|
+
"type": "boolean"
|
|
1074
|
+
},
|
|
1075
|
+
"page-number": {
|
|
1076
|
+
"char": "p",
|
|
1077
|
+
"description": "The page number to get. Defaults to 1",
|
|
1078
|
+
"name": "page-number",
|
|
1079
|
+
"hasDynamicHelp": false,
|
|
1080
|
+
"multiple": false,
|
|
1081
|
+
"type": "option"
|
|
1082
|
+
},
|
|
1083
|
+
"page-size": {
|
|
1084
|
+
"char": "s",
|
|
1085
|
+
"description": "The number of event broker versions to return per page. Defaults to 10, or 100 when --all is set",
|
|
1086
|
+
"name": "page-size",
|
|
1087
|
+
"hasDynamicHelp": false,
|
|
1088
|
+
"multiple": false,
|
|
1089
|
+
"type": "option"
|
|
1090
|
+
},
|
|
1091
|
+
"sort": {
|
|
1092
|
+
"description": "The query (fieldName:<asc/desc>) used to sort the version list in the response. Defaults to version:desc.",
|
|
1093
|
+
"name": "sort",
|
|
1094
|
+
"hasDynamicHelp": false,
|
|
1095
|
+
"multiple": false,
|
|
1096
|
+
"type": "option"
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
"hasDynamicHelp": false,
|
|
1100
|
+
"hiddenAliases": [],
|
|
1101
|
+
"id": "missionctrl:broker-version:list",
|
|
1102
|
+
"pluginAlias": "@dishantlangayan/solace-cloud-cli",
|
|
1103
|
+
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
1104
|
+
"pluginType": "core",
|
|
1105
|
+
"strict": true,
|
|
1106
|
+
"enableJsonFlag": true,
|
|
1107
|
+
"isESM": true,
|
|
1108
|
+
"relativePath": [
|
|
1109
|
+
"dist",
|
|
1110
|
+
"commands",
|
|
1111
|
+
"missionctrl",
|
|
1112
|
+
"broker-version",
|
|
1113
|
+
"list.js"
|
|
1114
|
+
]
|
|
1115
|
+
},
|
|
1116
|
+
"missionctrl:datacenter:list": {
|
|
1117
|
+
"aliases": [],
|
|
1118
|
+
"args": {},
|
|
1119
|
+
"description": "Get a list of the datacenters available to your account.\n\n Use the returned Id values with --datacenter-id on \"sc missionctrl broker create\". The Supported\n Service Classes column shows which service classes can be deployed to each datacenter.\n\n Token Permissions: [ dc:get ]",
|
|
1120
|
+
"examples": [
|
|
1121
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1122
|
+
"<%= config.bin %> <%= command.id %> --org=my-org",
|
|
1123
|
+
"<%= config.bin %> <%= command.id %> --provider=eks --datacenter-type=SolacePublic",
|
|
1124
|
+
"<%= config.bin %> <%= command.id %> --alias=my-alias --environment-id=abcd1234",
|
|
1125
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
1126
|
+
],
|
|
1127
|
+
"flags": {
|
|
1128
|
+
"json": {
|
|
1129
|
+
"description": "Format output as json.",
|
|
1130
|
+
"helpGroup": "GLOBAL",
|
|
1131
|
+
"name": "json",
|
|
1132
|
+
"allowNo": false,
|
|
1133
|
+
"type": "boolean"
|
|
1134
|
+
},
|
|
1135
|
+
"log-level": {
|
|
1136
|
+
"helpGroup": "GLOBAL",
|
|
1137
|
+
"name": "log-level",
|
|
1138
|
+
"summary": "Specify level for logging.",
|
|
1139
|
+
"default": "info",
|
|
1140
|
+
"hasDynamicHelp": false,
|
|
1141
|
+
"multiple": false,
|
|
1142
|
+
"options": [
|
|
1143
|
+
"debug",
|
|
1144
|
+
"warn",
|
|
1145
|
+
"error",
|
|
1146
|
+
"info",
|
|
1147
|
+
"trace"
|
|
1148
|
+
],
|
|
1149
|
+
"type": "option"
|
|
1150
|
+
},
|
|
1151
|
+
"alias": {
|
|
1152
|
+
"char": "a",
|
|
1153
|
+
"description": "Organization alias to use. If not specified, uses the default organization.",
|
|
1154
|
+
"exclusive": [
|
|
1155
|
+
"org"
|
|
1156
|
+
],
|
|
1157
|
+
"name": "alias",
|
|
1158
|
+
"hasDynamicHelp": false,
|
|
1159
|
+
"multiple": false,
|
|
1160
|
+
"type": "option"
|
|
1161
|
+
},
|
|
1162
|
+
"datacenter-type": {
|
|
1163
|
+
"description": "Filter the datacenters by type of ownership. 'SolacePublic' are Public Regions shared between customers, 'SolaceDedicated' are Dedicated Regions for a single customer, 'CustomerCloud' and 'CustomerOnPrem' are Customer-Controlled Regions.",
|
|
1164
|
+
"name": "datacenter-type",
|
|
1165
|
+
"hasDynamicHelp": false,
|
|
1166
|
+
"multiple": false,
|
|
1167
|
+
"options": [
|
|
1168
|
+
"Unknown",
|
|
1169
|
+
"SolacePublic",
|
|
1170
|
+
"SolaceDedicated",
|
|
1171
|
+
"CustomerCloud",
|
|
1172
|
+
"CustomerOnPrem"
|
|
1173
|
+
],
|
|
1174
|
+
"type": "option"
|
|
1175
|
+
},
|
|
1176
|
+
"environment-id": {
|
|
1177
|
+
"description": "Filter the datacenters by the id of their environment. Public datacenters cannot be filtered by environment.",
|
|
1178
|
+
"name": "environment-id",
|
|
1179
|
+
"hasDynamicHelp": false,
|
|
1180
|
+
"multiple": false,
|
|
1181
|
+
"type": "option"
|
|
1182
|
+
},
|
|
1183
|
+
"org": {
|
|
1184
|
+
"char": "o",
|
|
1185
|
+
"description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
|
|
1186
|
+
"exclusive": [
|
|
1187
|
+
"alias"
|
|
1188
|
+
],
|
|
1189
|
+
"name": "org",
|
|
1190
|
+
"hasDynamicHelp": false,
|
|
1191
|
+
"multiple": false,
|
|
1192
|
+
"type": "option"
|
|
1193
|
+
},
|
|
1194
|
+
"provider": {
|
|
1195
|
+
"description": "Filter the datacenters by Kubernetes provider: 'aks' (Azure), 'eks' (AWS), 'gcp' (Google), 'k8s' (other), 'container' (Customer-Controlled Containers). 'aws' and 'azure' are deprecated VM-based providers.",
|
|
1196
|
+
"name": "provider",
|
|
1197
|
+
"hasDynamicHelp": false,
|
|
1198
|
+
"multiple": false,
|
|
1199
|
+
"options": [
|
|
1200
|
+
"aks",
|
|
1201
|
+
"aws",
|
|
1202
|
+
"azure",
|
|
1203
|
+
"container",
|
|
1204
|
+
"eks",
|
|
1205
|
+
"gcp",
|
|
1206
|
+
"k8s"
|
|
1207
|
+
],
|
|
1208
|
+
"type": "option"
|
|
1209
|
+
},
|
|
1210
|
+
"sam-enabled": {
|
|
1211
|
+
"description": "Filter the datacenters by whether SAM is enabled. If not specified, datacenters are returned regardless of their SAM state.",
|
|
1212
|
+
"name": "sam-enabled",
|
|
1213
|
+
"allowNo": true,
|
|
1214
|
+
"type": "boolean"
|
|
1215
|
+
},
|
|
1216
|
+
"all": {
|
|
1217
|
+
"description": "Fetch all pages of datacenters. Results are streamed to the table as each page is received.",
|
|
1218
|
+
"exclusive": [
|
|
1219
|
+
"page-number"
|
|
1220
|
+
],
|
|
1221
|
+
"name": "all",
|
|
1222
|
+
"allowNo": false,
|
|
1223
|
+
"type": "boolean"
|
|
1224
|
+
},
|
|
1225
|
+
"page-number": {
|
|
1226
|
+
"char": "p",
|
|
1227
|
+
"description": "The page number to get. Defaults to 1",
|
|
1228
|
+
"name": "page-number",
|
|
1229
|
+
"hasDynamicHelp": false,
|
|
1230
|
+
"multiple": false,
|
|
1231
|
+
"type": "option"
|
|
1232
|
+
},
|
|
1233
|
+
"page-size": {
|
|
1234
|
+
"char": "s",
|
|
1235
|
+
"description": "The number of datacenters to return per page. Defaults to 10, or 100 when --all is set",
|
|
1236
|
+
"name": "page-size",
|
|
1237
|
+
"hasDynamicHelp": false,
|
|
1238
|
+
"multiple": false,
|
|
1239
|
+
"type": "option"
|
|
1240
|
+
},
|
|
1241
|
+
"sort": {
|
|
1242
|
+
"description": "The query (fieldName:<asc/desc>) used to sort the datacenter list in the response. Defaults to name:asc,datacenterType:asc.",
|
|
1243
|
+
"name": "sort",
|
|
1244
|
+
"hasDynamicHelp": false,
|
|
1245
|
+
"multiple": false,
|
|
1246
|
+
"type": "option"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
"hasDynamicHelp": false,
|
|
1250
|
+
"hiddenAliases": [],
|
|
1251
|
+
"id": "missionctrl:datacenter:list",
|
|
1252
|
+
"pluginAlias": "@dishantlangayan/solace-cloud-cli",
|
|
1253
|
+
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
1254
|
+
"pluginType": "core",
|
|
1255
|
+
"strict": true,
|
|
1256
|
+
"enableJsonFlag": true,
|
|
1257
|
+
"isESM": true,
|
|
1258
|
+
"relativePath": [
|
|
1259
|
+
"dist",
|
|
1260
|
+
"commands",
|
|
1261
|
+
"missionctrl",
|
|
1262
|
+
"datacenter",
|
|
1263
|
+
"list.js"
|
|
1264
|
+
]
|
|
1265
|
+
},
|
|
1266
|
+
"missionctrl:service-class:list": {
|
|
1267
|
+
"aliases": [],
|
|
1268
|
+
"args": {},
|
|
1269
|
+
"description": "Get a list of the service classes available in your account.\n\n Use the returned Id values with --service-class-id on \"sc missionctrl broker create\". Standalone\n service classes are only returned once they have been added to your account's Service Limits.\n\n Token Permissions: [ service_classes:get ]",
|
|
1270
|
+
"examples": [
|
|
1271
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1272
|
+
"<%= config.bin %> <%= command.id %> --org=my-org",
|
|
1273
|
+
"<%= config.bin %> <%= command.id %> --alias=my-alias --broker-family-version=10.25"
|
|
1274
|
+
],
|
|
1275
|
+
"flags": {
|
|
1276
|
+
"json": {
|
|
1277
|
+
"description": "Format output as json.",
|
|
1278
|
+
"helpGroup": "GLOBAL",
|
|
1279
|
+
"name": "json",
|
|
1280
|
+
"allowNo": false,
|
|
1281
|
+
"type": "boolean"
|
|
1282
|
+
},
|
|
1283
|
+
"log-level": {
|
|
1284
|
+
"helpGroup": "GLOBAL",
|
|
1285
|
+
"name": "log-level",
|
|
1286
|
+
"summary": "Specify level for logging.",
|
|
1287
|
+
"default": "info",
|
|
1288
|
+
"hasDynamicHelp": false,
|
|
1289
|
+
"multiple": false,
|
|
1290
|
+
"options": [
|
|
1291
|
+
"debug",
|
|
1292
|
+
"warn",
|
|
1293
|
+
"error",
|
|
1294
|
+
"info",
|
|
1295
|
+
"trace"
|
|
1296
|
+
],
|
|
1297
|
+
"type": "option"
|
|
1298
|
+
},
|
|
1299
|
+
"alias": {
|
|
1300
|
+
"char": "a",
|
|
1301
|
+
"description": "Organization alias to use. If not specified, uses the default organization.",
|
|
1302
|
+
"exclusive": [
|
|
1303
|
+
"org"
|
|
1304
|
+
],
|
|
1305
|
+
"name": "alias",
|
|
1306
|
+
"hasDynamicHelp": false,
|
|
1307
|
+
"multiple": false,
|
|
1308
|
+
"type": "option"
|
|
1309
|
+
},
|
|
1310
|
+
"broker-family-version": {
|
|
1311
|
+
"description": "Only return service classes available for this broker family version, for example 10.25. If not specified, all service classes are returned.",
|
|
1312
|
+
"name": "broker-family-version",
|
|
1313
|
+
"hasDynamicHelp": false,
|
|
1314
|
+
"multiple": false,
|
|
1315
|
+
"type": "option"
|
|
1316
|
+
},
|
|
1317
|
+
"org": {
|
|
1318
|
+
"char": "o",
|
|
1319
|
+
"description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
|
|
1320
|
+
"exclusive": [
|
|
1321
|
+
"alias"
|
|
1322
|
+
],
|
|
1323
|
+
"name": "org",
|
|
1324
|
+
"hasDynamicHelp": false,
|
|
1325
|
+
"multiple": false,
|
|
1326
|
+
"type": "option"
|
|
1327
|
+
}
|
|
1328
|
+
},
|
|
1329
|
+
"hasDynamicHelp": false,
|
|
1330
|
+
"hiddenAliases": [],
|
|
1331
|
+
"id": "missionctrl:service-class:list",
|
|
1332
|
+
"pluginAlias": "@dishantlangayan/solace-cloud-cli",
|
|
1333
|
+
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
1334
|
+
"pluginType": "core",
|
|
1335
|
+
"strict": true,
|
|
1336
|
+
"enableJsonFlag": true,
|
|
1337
|
+
"isESM": true,
|
|
1338
|
+
"relativePath": [
|
|
1339
|
+
"dist",
|
|
1340
|
+
"commands",
|
|
1341
|
+
"missionctrl",
|
|
1342
|
+
"service-class",
|
|
1343
|
+
"list.js"
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
955
1346
|
"platform:env:create": {
|
|
956
1347
|
"aliases": [],
|
|
957
1348
|
"args": {},
|
|
@@ -1248,7 +1639,8 @@
|
|
|
1248
1639
|
"examples": [
|
|
1249
1640
|
"<%= config.bin %> <%= command.id %>",
|
|
1250
1641
|
"<%= config.bin %> <%= command.id %> --org=my-org",
|
|
1251
|
-
"<%= config.bin %> <%= command.id %> --alias=my-alias --name=Default --
|
|
1642
|
+
"<%= config.bin %> <%= command.id %> --alias=my-alias --name=Default --page-number=1 --page-size=10 --sort=name:ASC",
|
|
1643
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
1252
1644
|
],
|
|
1253
1645
|
"flags": {
|
|
1254
1646
|
"json": {
|
|
@@ -1304,18 +1696,27 @@
|
|
|
1304
1696
|
"multiple": false,
|
|
1305
1697
|
"type": "option"
|
|
1306
1698
|
},
|
|
1307
|
-
"
|
|
1699
|
+
"all": {
|
|
1700
|
+
"description": "Fetch all pages of environments. Results are streamed to the table as each page is received.",
|
|
1701
|
+
"exclusive": [
|
|
1702
|
+
"page-number"
|
|
1703
|
+
],
|
|
1704
|
+
"name": "all",
|
|
1705
|
+
"allowNo": false,
|
|
1706
|
+
"type": "boolean"
|
|
1707
|
+
},
|
|
1708
|
+
"page-number": {
|
|
1308
1709
|
"char": "p",
|
|
1309
|
-
"description": "The page number to get. Defaults to
|
|
1310
|
-
"name": "
|
|
1710
|
+
"description": "The page number to get. Defaults to 1",
|
|
1711
|
+
"name": "page-number",
|
|
1311
1712
|
"hasDynamicHelp": false,
|
|
1312
1713
|
"multiple": false,
|
|
1313
1714
|
"type": "option"
|
|
1314
1715
|
},
|
|
1315
|
-
"
|
|
1716
|
+
"page-size": {
|
|
1316
1717
|
"char": "s",
|
|
1317
|
-
"description": "The number of environments to
|
|
1318
|
-
"name": "
|
|
1718
|
+
"description": "The number of environments to return per page. Defaults to 10, or 100 when --all is set",
|
|
1719
|
+
"name": "page-size",
|
|
1319
1720
|
"hasDynamicHelp": false,
|
|
1320
1721
|
"multiple": false,
|
|
1321
1722
|
"type": "option"
|
|
@@ -1455,7 +1856,144 @@
|
|
|
1455
1856
|
"env",
|
|
1456
1857
|
"update.js"
|
|
1457
1858
|
]
|
|
1859
|
+
},
|
|
1860
|
+
"platform:users:list": {
|
|
1861
|
+
"aliases": [],
|
|
1862
|
+
"args": {},
|
|
1863
|
+
"description": "(Beta) Get a list of users in your account.\n\n You can retrieve a list of users matching on email, name, identifiers, roles, or groups.\n The --name and --email filters match on partial strings.\n\n Required token permissions: [ iam_users:get ]",
|
|
1864
|
+
"examples": [
|
|
1865
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1866
|
+
"<%= config.bin %> <%= command.id %> --org=my-org",
|
|
1867
|
+
"<%= config.bin %> <%= command.id %> --alias=my-alias --name=Jane --page-number=1 --page-size=10",
|
|
1868
|
+
"<%= config.bin %> <%= command.id %> --email=jane@example.com",
|
|
1869
|
+
"<%= config.bin %> <%= command.id %> --role=role-id-1 --role=role-id-2",
|
|
1870
|
+
"<%= config.bin %> <%= command.id %> --all"
|
|
1871
|
+
],
|
|
1872
|
+
"flags": {
|
|
1873
|
+
"json": {
|
|
1874
|
+
"description": "Format output as json.",
|
|
1875
|
+
"helpGroup": "GLOBAL",
|
|
1876
|
+
"name": "json",
|
|
1877
|
+
"allowNo": false,
|
|
1878
|
+
"type": "boolean"
|
|
1879
|
+
},
|
|
1880
|
+
"log-level": {
|
|
1881
|
+
"helpGroup": "GLOBAL",
|
|
1882
|
+
"name": "log-level",
|
|
1883
|
+
"summary": "Specify level for logging.",
|
|
1884
|
+
"default": "info",
|
|
1885
|
+
"hasDynamicHelp": false,
|
|
1886
|
+
"multiple": false,
|
|
1887
|
+
"options": [
|
|
1888
|
+
"debug",
|
|
1889
|
+
"warn",
|
|
1890
|
+
"error",
|
|
1891
|
+
"info",
|
|
1892
|
+
"trace"
|
|
1893
|
+
],
|
|
1894
|
+
"type": "option"
|
|
1895
|
+
},
|
|
1896
|
+
"alias": {
|
|
1897
|
+
"char": "a",
|
|
1898
|
+
"description": "Organization alias to use. If not specified, uses the default organization.",
|
|
1899
|
+
"exclusive": [
|
|
1900
|
+
"org"
|
|
1901
|
+
],
|
|
1902
|
+
"name": "alias",
|
|
1903
|
+
"hasDynamicHelp": false,
|
|
1904
|
+
"multiple": false,
|
|
1905
|
+
"type": "option"
|
|
1906
|
+
},
|
|
1907
|
+
"email": {
|
|
1908
|
+
"description": "The email address of the user. You can enter a partial string into the field to match multiple users.",
|
|
1909
|
+
"name": "email",
|
|
1910
|
+
"hasDynamicHelp": false,
|
|
1911
|
+
"multiple": false,
|
|
1912
|
+
"type": "option"
|
|
1913
|
+
},
|
|
1914
|
+
"group": {
|
|
1915
|
+
"description": "The unique identifier of a group that is assigned to the user. Repeat the flag to match on multiple groups.",
|
|
1916
|
+
"name": "group",
|
|
1917
|
+
"hasDynamicHelp": false,
|
|
1918
|
+
"multiple": true,
|
|
1919
|
+
"type": "option"
|
|
1920
|
+
},
|
|
1921
|
+
"id": {
|
|
1922
|
+
"description": "The unique identifier of a user. Repeat the flag to match on multiple users.",
|
|
1923
|
+
"name": "id",
|
|
1924
|
+
"hasDynamicHelp": false,
|
|
1925
|
+
"multiple": true,
|
|
1926
|
+
"type": "option"
|
|
1927
|
+
},
|
|
1928
|
+
"name": {
|
|
1929
|
+
"char": "n",
|
|
1930
|
+
"description": "The name of the user. You can enter a partial string into the field to match multiple users.",
|
|
1931
|
+
"name": "name",
|
|
1932
|
+
"hasDynamicHelp": false,
|
|
1933
|
+
"multiple": false,
|
|
1934
|
+
"type": "option"
|
|
1935
|
+
},
|
|
1936
|
+
"org": {
|
|
1937
|
+
"char": "o",
|
|
1938
|
+
"description": "Organization ID to use. If not specified, uses the default organization or alias if specified.",
|
|
1939
|
+
"exclusive": [
|
|
1940
|
+
"alias"
|
|
1941
|
+
],
|
|
1942
|
+
"name": "org",
|
|
1943
|
+
"hasDynamicHelp": false,
|
|
1944
|
+
"multiple": false,
|
|
1945
|
+
"type": "option"
|
|
1946
|
+
},
|
|
1947
|
+
"all": {
|
|
1948
|
+
"description": "Fetch all pages of users. Results are streamed to the table as each page is received.",
|
|
1949
|
+
"exclusive": [
|
|
1950
|
+
"page-number"
|
|
1951
|
+
],
|
|
1952
|
+
"name": "all",
|
|
1953
|
+
"allowNo": false,
|
|
1954
|
+
"type": "boolean"
|
|
1955
|
+
},
|
|
1956
|
+
"page-number": {
|
|
1957
|
+
"char": "p",
|
|
1958
|
+
"description": "The page number to get. Defaults to 1",
|
|
1959
|
+
"name": "page-number",
|
|
1960
|
+
"hasDynamicHelp": false,
|
|
1961
|
+
"multiple": false,
|
|
1962
|
+
"type": "option"
|
|
1963
|
+
},
|
|
1964
|
+
"page-size": {
|
|
1965
|
+
"char": "s",
|
|
1966
|
+
"description": "The number of users to return per page. Defaults to 10, or 100 when --all is set",
|
|
1967
|
+
"name": "page-size",
|
|
1968
|
+
"hasDynamicHelp": false,
|
|
1969
|
+
"multiple": false,
|
|
1970
|
+
"type": "option"
|
|
1971
|
+
},
|
|
1972
|
+
"role": {
|
|
1973
|
+
"description": "The unique identifier of a role that is assigned to the user. Repeat the flag to match on multiple roles.",
|
|
1974
|
+
"name": "role",
|
|
1975
|
+
"hasDynamicHelp": false,
|
|
1976
|
+
"multiple": true,
|
|
1977
|
+
"type": "option"
|
|
1978
|
+
}
|
|
1979
|
+
},
|
|
1980
|
+
"hasDynamicHelp": false,
|
|
1981
|
+
"hiddenAliases": [],
|
|
1982
|
+
"id": "platform:users:list",
|
|
1983
|
+
"pluginAlias": "@dishantlangayan/solace-cloud-cli",
|
|
1984
|
+
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
1985
|
+
"pluginType": "core",
|
|
1986
|
+
"strict": true,
|
|
1987
|
+
"enableJsonFlag": true,
|
|
1988
|
+
"isESM": true,
|
|
1989
|
+
"relativePath": [
|
|
1990
|
+
"dist",
|
|
1991
|
+
"commands",
|
|
1992
|
+
"platform",
|
|
1993
|
+
"users",
|
|
1994
|
+
"list.js"
|
|
1995
|
+
]
|
|
1458
1996
|
}
|
|
1459
1997
|
},
|
|
1460
|
-
"version": "0.
|
|
1998
|
+
"version": "0.8.0"
|
|
1461
1999
|
}
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dishantlangayan/solace-cloud-cli",
|
|
3
3
|
"description": "The Solace Cloud CLI",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"author": "Dishant Langayan",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sc": "./bin/run.js"
|
|
8
8
|
},
|
|
9
9
|
"bugs": "https://github.com/SolaceLabs/solace-cloud-cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@dishantlangayan/sc-cli-core": "^0.
|
|
12
|
-
"@dishantlangayan/sc-plugin-broker": "^0.
|
|
11
|
+
"@dishantlangayan/sc-cli-core": "^0.10.2",
|
|
12
|
+
"@dishantlangayan/sc-plugin-broker": "^0.11.2",
|
|
13
13
|
"@inquirer/prompts": "^8.3.0",
|
|
14
14
|
"@oclif/core": "^4",
|
|
15
15
|
"@oclif/plugin-autocomplete": "^3.2.40",
|
|
16
16
|
"@oclif/plugin-commands": "^4.1.40",
|
|
17
17
|
"@oclif/plugin-help": "^6",
|
|
18
18
|
"@oclif/plugin-not-found": "^3.2.74",
|
|
19
|
-
"@oclif/plugin-plugins": "^7.0.
|
|
19
|
+
"@oclif/plugin-plugins": "^7.0.13",
|
|
20
20
|
"@oclif/plugin-search": "^1.2.38",
|
|
21
|
-
"@oclif/plugin-update": "^
|
|
21
|
+
"@oclif/plugin-update": "^5.0.10",
|
|
22
22
|
"@oclif/plugin-version": "^2.2.36",
|
|
23
23
|
"@oclif/plugin-warn-if-update-available": "^3.1.55",
|
|
24
24
|
"@oclif/plugin-which": "^3.2.43",
|
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=22.0.0"
|
|
51
51
|
},
|
|
52
|
+
"overrides": {
|
|
53
|
+
"basic-ftp": "^6.2.3"
|
|
54
|
+
},
|
|
52
55
|
"files": [
|
|
53
56
|
"./bin",
|
|
54
57
|
"./dist",
|