@dishantlangayan/solace-cloud-cli 0.0.2 → 0.0.4
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 +158 -35
- package/dist/commands/missionctrl/broker/create.d.ts +4 -3
- package/dist/commands/missionctrl/broker/create.js +12 -18
- package/dist/commands/missionctrl/broker/delete.d.ts +5 -3
- package/dist/commands/missionctrl/broker/delete.js +16 -4
- package/dist/commands/missionctrl/broker/display.d.ts +4 -3
- package/dist/commands/missionctrl/broker/display.js +12 -16
- package/dist/commands/missionctrl/broker/list.d.ts +4 -3
- package/dist/commands/missionctrl/broker/list.js +7 -4
- package/dist/commands/missionctrl/broker/opstatus.d.ts +15 -0
- package/dist/commands/missionctrl/broker/opstatus.js +159 -0
- package/dist/commands/missionctrl/broker/update.d.ts +15 -0
- package/dist/commands/missionctrl/broker/update.js +77 -0
- package/dist/commands/platform/env/create.d.ts +5 -4
- package/dist/commands/platform/env/create.js +11 -18
- package/dist/commands/platform/env/delete.d.ts +5 -3
- package/dist/commands/platform/env/delete.js +19 -7
- package/dist/commands/platform/env/display.d.ts +4 -3
- package/dist/commands/platform/env/display.js +12 -17
- package/dist/commands/platform/env/list.d.ts +4 -3
- package/dist/commands/platform/env/list.js +21 -17
- package/dist/commands/platform/env/update.d.ts +5 -4
- package/dist/commands/platform/env/update.js +14 -22
- package/dist/types/broker.d.ts +148 -14
- package/dist/util/internal.d.ts +15 -0
- package/dist/util/internal.js +34 -0
- package/dist/util/sc-connection.d.ts +1 -0
- package/dist/util/sc-connection.js +5 -0
- package/oclif.manifest.json +385 -15
- package/package.json +3 -1
package/oclif.manifest.json
CHANGED
|
@@ -8,6 +8,29 @@
|
|
|
8
8
|
"<%= config.bin %> <%= command.id %> --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER"
|
|
9
9
|
],
|
|
10
10
|
"flags": {
|
|
11
|
+
"json": {
|
|
12
|
+
"description": "Format output as json.",
|
|
13
|
+
"helpGroup": "GLOBAL",
|
|
14
|
+
"name": "json",
|
|
15
|
+
"allowNo": false,
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
18
|
+
"log-level": {
|
|
19
|
+
"helpGroup": "GLOBAL",
|
|
20
|
+
"name": "log-level",
|
|
21
|
+
"summary": "Specify level for logging.",
|
|
22
|
+
"default": "info",
|
|
23
|
+
"hasDynamicHelp": false,
|
|
24
|
+
"multiple": false,
|
|
25
|
+
"options": [
|
|
26
|
+
"debug",
|
|
27
|
+
"warn",
|
|
28
|
+
"error",
|
|
29
|
+
"info",
|
|
30
|
+
"trace"
|
|
31
|
+
],
|
|
32
|
+
"type": "option"
|
|
33
|
+
},
|
|
11
34
|
"datacenter-id": {
|
|
12
35
|
"char": "d",
|
|
13
36
|
"description": "The identifier of the datacenter.",
|
|
@@ -89,7 +112,7 @@
|
|
|
89
112
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
90
113
|
"pluginType": "core",
|
|
91
114
|
"strict": true,
|
|
92
|
-
"enableJsonFlag":
|
|
115
|
+
"enableJsonFlag": true,
|
|
93
116
|
"isESM": true,
|
|
94
117
|
"relativePath": [
|
|
95
118
|
"dist",
|
|
@@ -108,6 +131,29 @@
|
|
|
108
131
|
"<%= config.bin %> <%= command.id %> --name=MyBrokerName"
|
|
109
132
|
],
|
|
110
133
|
"flags": {
|
|
134
|
+
"json": {
|
|
135
|
+
"description": "Format output as json.",
|
|
136
|
+
"helpGroup": "GLOBAL",
|
|
137
|
+
"name": "json",
|
|
138
|
+
"allowNo": false,
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
},
|
|
141
|
+
"log-level": {
|
|
142
|
+
"helpGroup": "GLOBAL",
|
|
143
|
+
"name": "log-level",
|
|
144
|
+
"summary": "Specify level for logging.",
|
|
145
|
+
"default": "info",
|
|
146
|
+
"hasDynamicHelp": false,
|
|
147
|
+
"multiple": false,
|
|
148
|
+
"options": [
|
|
149
|
+
"debug",
|
|
150
|
+
"warn",
|
|
151
|
+
"error",
|
|
152
|
+
"info",
|
|
153
|
+
"trace"
|
|
154
|
+
],
|
|
155
|
+
"type": "option"
|
|
156
|
+
},
|
|
111
157
|
"broker-id": {
|
|
112
158
|
"char": "b",
|
|
113
159
|
"description": "Id of the event broker service.",
|
|
@@ -132,7 +178,7 @@
|
|
|
132
178
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
133
179
|
"pluginType": "core",
|
|
134
180
|
"strict": true,
|
|
135
|
-
"enableJsonFlag":
|
|
181
|
+
"enableJsonFlag": true,
|
|
136
182
|
"isESM": true,
|
|
137
183
|
"relativePath": [
|
|
138
184
|
"dist",
|
|
@@ -150,6 +196,29 @@
|
|
|
150
196
|
"<%= config.bin %> <%= command.id %>"
|
|
151
197
|
],
|
|
152
198
|
"flags": {
|
|
199
|
+
"json": {
|
|
200
|
+
"description": "Format output as json.",
|
|
201
|
+
"helpGroup": "GLOBAL",
|
|
202
|
+
"name": "json",
|
|
203
|
+
"allowNo": false,
|
|
204
|
+
"type": "boolean"
|
|
205
|
+
},
|
|
206
|
+
"log-level": {
|
|
207
|
+
"helpGroup": "GLOBAL",
|
|
208
|
+
"name": "log-level",
|
|
209
|
+
"summary": "Specify level for logging.",
|
|
210
|
+
"default": "info",
|
|
211
|
+
"hasDynamicHelp": false,
|
|
212
|
+
"multiple": false,
|
|
213
|
+
"options": [
|
|
214
|
+
"debug",
|
|
215
|
+
"warn",
|
|
216
|
+
"error",
|
|
217
|
+
"info",
|
|
218
|
+
"trace"
|
|
219
|
+
],
|
|
220
|
+
"type": "option"
|
|
221
|
+
},
|
|
153
222
|
"broker-id": {
|
|
154
223
|
"char": "b",
|
|
155
224
|
"description": "Id of the event broker service.",
|
|
@@ -174,7 +243,7 @@
|
|
|
174
243
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
175
244
|
"pluginType": "core",
|
|
176
245
|
"strict": true,
|
|
177
|
-
"enableJsonFlag":
|
|
246
|
+
"enableJsonFlag": true,
|
|
178
247
|
"isESM": true,
|
|
179
248
|
"relativePath": [
|
|
180
249
|
"dist",
|
|
@@ -192,6 +261,29 @@
|
|
|
192
261
|
"<%= config.bin %> <%= command.id %> --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc"
|
|
193
262
|
],
|
|
194
263
|
"flags": {
|
|
264
|
+
"json": {
|
|
265
|
+
"description": "Format output as json.",
|
|
266
|
+
"helpGroup": "GLOBAL",
|
|
267
|
+
"name": "json",
|
|
268
|
+
"allowNo": false,
|
|
269
|
+
"type": "boolean"
|
|
270
|
+
},
|
|
271
|
+
"log-level": {
|
|
272
|
+
"helpGroup": "GLOBAL",
|
|
273
|
+
"name": "log-level",
|
|
274
|
+
"summary": "Specify level for logging.",
|
|
275
|
+
"default": "info",
|
|
276
|
+
"hasDynamicHelp": false,
|
|
277
|
+
"multiple": false,
|
|
278
|
+
"options": [
|
|
279
|
+
"debug",
|
|
280
|
+
"warn",
|
|
281
|
+
"error",
|
|
282
|
+
"info",
|
|
283
|
+
"trace"
|
|
284
|
+
],
|
|
285
|
+
"type": "option"
|
|
286
|
+
},
|
|
195
287
|
"name": {
|
|
196
288
|
"char": "n",
|
|
197
289
|
"description": "Name of the event broker service to match on.",
|
|
@@ -229,7 +321,7 @@
|
|
|
229
321
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
230
322
|
"pluginType": "core",
|
|
231
323
|
"strict": true,
|
|
232
|
-
"enableJsonFlag":
|
|
324
|
+
"enableJsonFlag": true,
|
|
233
325
|
"isESM": true,
|
|
234
326
|
"relativePath": [
|
|
235
327
|
"dist",
|
|
@@ -239,6 +331,167 @@
|
|
|
239
331
|
"list.js"
|
|
240
332
|
]
|
|
241
333
|
},
|
|
334
|
+
"missionctrl:broker:opstatus": {
|
|
335
|
+
"aliases": [],
|
|
336
|
+
"args": {},
|
|
337
|
+
"description": "Get the status of all operations being performed on an event broker service. \n To get the operation status, you must provide the identifier or name of the event broker service.\n\n Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or services:view:self ]",
|
|
338
|
+
"examples": [
|
|
339
|
+
"<%= config.bin %> <%= command.id %> -b <broker-id>",
|
|
340
|
+
"<%= config.bin %> <%= command.id %> -n <broker-name>"
|
|
341
|
+
],
|
|
342
|
+
"flags": {
|
|
343
|
+
"json": {
|
|
344
|
+
"description": "Format output as json.",
|
|
345
|
+
"helpGroup": "GLOBAL",
|
|
346
|
+
"name": "json",
|
|
347
|
+
"allowNo": false,
|
|
348
|
+
"type": "boolean"
|
|
349
|
+
},
|
|
350
|
+
"log-level": {
|
|
351
|
+
"helpGroup": "GLOBAL",
|
|
352
|
+
"name": "log-level",
|
|
353
|
+
"summary": "Specify level for logging.",
|
|
354
|
+
"default": "info",
|
|
355
|
+
"hasDynamicHelp": false,
|
|
356
|
+
"multiple": false,
|
|
357
|
+
"options": [
|
|
358
|
+
"debug",
|
|
359
|
+
"warn",
|
|
360
|
+
"error",
|
|
361
|
+
"info",
|
|
362
|
+
"trace"
|
|
363
|
+
],
|
|
364
|
+
"type": "option"
|
|
365
|
+
},
|
|
366
|
+
"broker-id": {
|
|
367
|
+
"char": "b",
|
|
368
|
+
"description": "Id of the event broker service.",
|
|
369
|
+
"name": "broker-id",
|
|
370
|
+
"hasDynamicHelp": false,
|
|
371
|
+
"multiple": false,
|
|
372
|
+
"type": "option"
|
|
373
|
+
},
|
|
374
|
+
"name": {
|
|
375
|
+
"char": "n",
|
|
376
|
+
"description": "Name of the event broker service.",
|
|
377
|
+
"name": "name",
|
|
378
|
+
"hasDynamicHelp": false,
|
|
379
|
+
"multiple": false,
|
|
380
|
+
"type": "option"
|
|
381
|
+
},
|
|
382
|
+
"show-progress": {
|
|
383
|
+
"char": "p",
|
|
384
|
+
"description": "Displays a status bar of the in-progress operations. The command will wait for completion of each step of the operation.",
|
|
385
|
+
"name": "show-progress",
|
|
386
|
+
"allowNo": false,
|
|
387
|
+
"type": "boolean"
|
|
388
|
+
},
|
|
389
|
+
"wait-ms": {
|
|
390
|
+
"char": "w",
|
|
391
|
+
"description": "The milliseconds to wait between API calls for checking progress of the operation. Default is 5000 ms.",
|
|
392
|
+
"name": "wait-ms",
|
|
393
|
+
"hasDynamicHelp": false,
|
|
394
|
+
"multiple": false,
|
|
395
|
+
"type": "option"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"hasDynamicHelp": false,
|
|
399
|
+
"hiddenAliases": [],
|
|
400
|
+
"id": "missionctrl:broker:opstatus",
|
|
401
|
+
"pluginAlias": "@dishantlangayan/solace-cloud-cli",
|
|
402
|
+
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
403
|
+
"pluginType": "core",
|
|
404
|
+
"strict": true,
|
|
405
|
+
"enableJsonFlag": true,
|
|
406
|
+
"isESM": true,
|
|
407
|
+
"relativePath": [
|
|
408
|
+
"dist",
|
|
409
|
+
"commands",
|
|
410
|
+
"missionctrl",
|
|
411
|
+
"broker",
|
|
412
|
+
"opstatus.js"
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
"missionctrl:broker:update": {
|
|
416
|
+
"aliases": [],
|
|
417
|
+
"args": {},
|
|
418
|
+
"description": "Update the configuration of an existing event broker service. \n You can provide any combination of supported flags. If a flag is not provided, then it will not be updated.\n \n Your token must have one of the permissions listed in the Token Permissions.\n\n Token Permissions: [ mission_control:access or services:put ]",
|
|
419
|
+
"examples": [
|
|
420
|
+
"<%= config.bin %> <%= command.id %>"
|
|
421
|
+
],
|
|
422
|
+
"flags": {
|
|
423
|
+
"json": {
|
|
424
|
+
"description": "Format output as json.",
|
|
425
|
+
"helpGroup": "GLOBAL",
|
|
426
|
+
"name": "json",
|
|
427
|
+
"allowNo": false,
|
|
428
|
+
"type": "boolean"
|
|
429
|
+
},
|
|
430
|
+
"log-level": {
|
|
431
|
+
"helpGroup": "GLOBAL",
|
|
432
|
+
"name": "log-level",
|
|
433
|
+
"summary": "Specify level for logging.",
|
|
434
|
+
"default": "info",
|
|
435
|
+
"hasDynamicHelp": false,
|
|
436
|
+
"multiple": false,
|
|
437
|
+
"options": [
|
|
438
|
+
"debug",
|
|
439
|
+
"warn",
|
|
440
|
+
"error",
|
|
441
|
+
"info",
|
|
442
|
+
"trace"
|
|
443
|
+
],
|
|
444
|
+
"type": "option"
|
|
445
|
+
},
|
|
446
|
+
"broker-id": {
|
|
447
|
+
"char": "b",
|
|
448
|
+
"description": "Id of the event broker service.",
|
|
449
|
+
"name": "broker-id",
|
|
450
|
+
"hasDynamicHelp": false,
|
|
451
|
+
"multiple": false,
|
|
452
|
+
"type": "option"
|
|
453
|
+
},
|
|
454
|
+
"locked": {
|
|
455
|
+
"char": "l",
|
|
456
|
+
"description": "Indicates whether the event broker service has deletion protection enabled. The valid values are 'true' (enabled) or 'false' (disabled).",
|
|
457
|
+
"name": "locked",
|
|
458
|
+
"hasDynamicHelp": false,
|
|
459
|
+
"multiple": false,
|
|
460
|
+
"type": "option"
|
|
461
|
+
},
|
|
462
|
+
"name": {
|
|
463
|
+
"char": "n",
|
|
464
|
+
"description": "Name of the event broker service.",
|
|
465
|
+
"name": "name",
|
|
466
|
+
"hasDynamicHelp": false,
|
|
467
|
+
"multiple": false,
|
|
468
|
+
"type": "option"
|
|
469
|
+
},
|
|
470
|
+
"new-name": {
|
|
471
|
+
"description": "New name of the event broker service. The new service name must be unique within an organization.",
|
|
472
|
+
"name": "new-name",
|
|
473
|
+
"hasDynamicHelp": false,
|
|
474
|
+
"multiple": false,
|
|
475
|
+
"type": "option"
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
"hasDynamicHelp": false,
|
|
479
|
+
"hiddenAliases": [],
|
|
480
|
+
"id": "missionctrl:broker:update",
|
|
481
|
+
"pluginAlias": "@dishantlangayan/solace-cloud-cli",
|
|
482
|
+
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
483
|
+
"pluginType": "core",
|
|
484
|
+
"strict": true,
|
|
485
|
+
"enableJsonFlag": true,
|
|
486
|
+
"isESM": true,
|
|
487
|
+
"relativePath": [
|
|
488
|
+
"dist",
|
|
489
|
+
"commands",
|
|
490
|
+
"missionctrl",
|
|
491
|
+
"broker",
|
|
492
|
+
"update.js"
|
|
493
|
+
]
|
|
494
|
+
},
|
|
242
495
|
"platform:env:create": {
|
|
243
496
|
"aliases": [],
|
|
244
497
|
"args": {},
|
|
@@ -247,10 +500,33 @@
|
|
|
247
500
|
"<%= config.bin %> <%= command.id %> --name=MyEnvironment --desc=\"My environment description\" --isDefault --isProduction"
|
|
248
501
|
],
|
|
249
502
|
"flags": {
|
|
250
|
-
"
|
|
503
|
+
"json": {
|
|
504
|
+
"description": "Format output as json.",
|
|
505
|
+
"helpGroup": "GLOBAL",
|
|
506
|
+
"name": "json",
|
|
507
|
+
"allowNo": false,
|
|
508
|
+
"type": "boolean"
|
|
509
|
+
},
|
|
510
|
+
"log-level": {
|
|
511
|
+
"helpGroup": "GLOBAL",
|
|
512
|
+
"name": "log-level",
|
|
513
|
+
"summary": "Specify level for logging.",
|
|
514
|
+
"default": "info",
|
|
515
|
+
"hasDynamicHelp": false,
|
|
516
|
+
"multiple": false,
|
|
517
|
+
"options": [
|
|
518
|
+
"debug",
|
|
519
|
+
"warn",
|
|
520
|
+
"error",
|
|
521
|
+
"info",
|
|
522
|
+
"trace"
|
|
523
|
+
],
|
|
524
|
+
"type": "option"
|
|
525
|
+
},
|
|
526
|
+
"description": {
|
|
251
527
|
"char": "d",
|
|
252
528
|
"description": "Description of the environment to create.",
|
|
253
|
-
"name": "
|
|
529
|
+
"name": "description",
|
|
254
530
|
"hasDynamicHelp": false,
|
|
255
531
|
"multiple": false,
|
|
256
532
|
"type": "option"
|
|
@@ -284,7 +560,7 @@
|
|
|
284
560
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
285
561
|
"pluginType": "core",
|
|
286
562
|
"strict": true,
|
|
287
|
-
"enableJsonFlag":
|
|
563
|
+
"enableJsonFlag": true,
|
|
288
564
|
"isESM": true,
|
|
289
565
|
"relativePath": [
|
|
290
566
|
"dist",
|
|
@@ -303,6 +579,29 @@
|
|
|
303
579
|
"<%= config.bin %> <%= command.id %> --env-id=MyEnvId"
|
|
304
580
|
],
|
|
305
581
|
"flags": {
|
|
582
|
+
"json": {
|
|
583
|
+
"description": "Format output as json.",
|
|
584
|
+
"helpGroup": "GLOBAL",
|
|
585
|
+
"name": "json",
|
|
586
|
+
"allowNo": false,
|
|
587
|
+
"type": "boolean"
|
|
588
|
+
},
|
|
589
|
+
"log-level": {
|
|
590
|
+
"helpGroup": "GLOBAL",
|
|
591
|
+
"name": "log-level",
|
|
592
|
+
"summary": "Specify level for logging.",
|
|
593
|
+
"default": "info",
|
|
594
|
+
"hasDynamicHelp": false,
|
|
595
|
+
"multiple": false,
|
|
596
|
+
"options": [
|
|
597
|
+
"debug",
|
|
598
|
+
"warn",
|
|
599
|
+
"error",
|
|
600
|
+
"info",
|
|
601
|
+
"trace"
|
|
602
|
+
],
|
|
603
|
+
"type": "option"
|
|
604
|
+
},
|
|
306
605
|
"env-id": {
|
|
307
606
|
"char": "e",
|
|
308
607
|
"description": "Id of the environment.",
|
|
@@ -327,7 +626,7 @@
|
|
|
327
626
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
328
627
|
"pluginType": "core",
|
|
329
628
|
"strict": true,
|
|
330
|
-
"enableJsonFlag":
|
|
629
|
+
"enableJsonFlag": true,
|
|
331
630
|
"isESM": true,
|
|
332
631
|
"relativePath": [
|
|
333
632
|
"dist",
|
|
@@ -340,12 +639,35 @@
|
|
|
340
639
|
"platform:env:display": {
|
|
341
640
|
"aliases": [],
|
|
342
641
|
"args": {},
|
|
343
|
-
"description": "Display information about an Environment.\n \n Use either the Environment's ID (--env-id) or name of the Environment (--name).\n \n Required token permissions: [ environments:view ]
|
|
642
|
+
"description": "Display information about an Environment.\n \n Use either the Environment's ID (--env-id) or name of the Environment (--name).\n \n Required token permissions: [ environments:view ]",
|
|
344
643
|
"examples": [
|
|
345
644
|
"<%= config.bin %> <%= command.id %> --name=MyEnvName",
|
|
346
645
|
"<%= config.bin %> <%= command.id %> --env-id=MyEnvId"
|
|
347
646
|
],
|
|
348
647
|
"flags": {
|
|
648
|
+
"json": {
|
|
649
|
+
"description": "Format output as json.",
|
|
650
|
+
"helpGroup": "GLOBAL",
|
|
651
|
+
"name": "json",
|
|
652
|
+
"allowNo": false,
|
|
653
|
+
"type": "boolean"
|
|
654
|
+
},
|
|
655
|
+
"log-level": {
|
|
656
|
+
"helpGroup": "GLOBAL",
|
|
657
|
+
"name": "log-level",
|
|
658
|
+
"summary": "Specify level for logging.",
|
|
659
|
+
"default": "info",
|
|
660
|
+
"hasDynamicHelp": false,
|
|
661
|
+
"multiple": false,
|
|
662
|
+
"options": [
|
|
663
|
+
"debug",
|
|
664
|
+
"warn",
|
|
665
|
+
"error",
|
|
666
|
+
"info",
|
|
667
|
+
"trace"
|
|
668
|
+
],
|
|
669
|
+
"type": "option"
|
|
670
|
+
},
|
|
349
671
|
"env-id": {
|
|
350
672
|
"char": "e",
|
|
351
673
|
"description": "Id of the environment.",
|
|
@@ -370,7 +692,7 @@
|
|
|
370
692
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
371
693
|
"pluginType": "core",
|
|
372
694
|
"strict": true,
|
|
373
|
-
"enableJsonFlag":
|
|
695
|
+
"enableJsonFlag": true,
|
|
374
696
|
"isESM": true,
|
|
375
697
|
"relativePath": [
|
|
376
698
|
"dist",
|
|
@@ -389,6 +711,29 @@
|
|
|
389
711
|
"<%= config.bin %> <%= command.id %> --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC"
|
|
390
712
|
],
|
|
391
713
|
"flags": {
|
|
714
|
+
"json": {
|
|
715
|
+
"description": "Format output as json.",
|
|
716
|
+
"helpGroup": "GLOBAL",
|
|
717
|
+
"name": "json",
|
|
718
|
+
"allowNo": false,
|
|
719
|
+
"type": "boolean"
|
|
720
|
+
},
|
|
721
|
+
"log-level": {
|
|
722
|
+
"helpGroup": "GLOBAL",
|
|
723
|
+
"name": "log-level",
|
|
724
|
+
"summary": "Specify level for logging.",
|
|
725
|
+
"default": "info",
|
|
726
|
+
"hasDynamicHelp": false,
|
|
727
|
+
"multiple": false,
|
|
728
|
+
"options": [
|
|
729
|
+
"debug",
|
|
730
|
+
"warn",
|
|
731
|
+
"error",
|
|
732
|
+
"info",
|
|
733
|
+
"trace"
|
|
734
|
+
],
|
|
735
|
+
"type": "option"
|
|
736
|
+
},
|
|
392
737
|
"name": {
|
|
393
738
|
"char": "n",
|
|
394
739
|
"description": "Name of the environment to match on.",
|
|
@@ -398,6 +743,7 @@
|
|
|
398
743
|
"type": "option"
|
|
399
744
|
},
|
|
400
745
|
"pageNumber": {
|
|
746
|
+
"char": "p",
|
|
401
747
|
"description": "The page number to get. Defaults to 10",
|
|
402
748
|
"name": "pageNumber",
|
|
403
749
|
"hasDynamicHelp": false,
|
|
@@ -405,6 +751,7 @@
|
|
|
405
751
|
"type": "option"
|
|
406
752
|
},
|
|
407
753
|
"pageSize": {
|
|
754
|
+
"char": "s",
|
|
408
755
|
"description": "The number of environments to get per page. Defaults to 1",
|
|
409
756
|
"name": "pageSize",
|
|
410
757
|
"hasDynamicHelp": false,
|
|
@@ -426,7 +773,7 @@
|
|
|
426
773
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
427
774
|
"pluginType": "core",
|
|
428
775
|
"strict": true,
|
|
429
|
-
"enableJsonFlag":
|
|
776
|
+
"enableJsonFlag": true,
|
|
430
777
|
"isESM": true,
|
|
431
778
|
"relativePath": [
|
|
432
779
|
"dist",
|
|
@@ -445,10 +792,33 @@
|
|
|
445
792
|
"<%= config.bin %> <%= command.id %> --env-id=MyEnvId --new-name=MyNewEnvName --desc=\"My description to update\" --isDefault"
|
|
446
793
|
],
|
|
447
794
|
"flags": {
|
|
448
|
-
"
|
|
795
|
+
"json": {
|
|
796
|
+
"description": "Format output as json.",
|
|
797
|
+
"helpGroup": "GLOBAL",
|
|
798
|
+
"name": "json",
|
|
799
|
+
"allowNo": false,
|
|
800
|
+
"type": "boolean"
|
|
801
|
+
},
|
|
802
|
+
"log-level": {
|
|
803
|
+
"helpGroup": "GLOBAL",
|
|
804
|
+
"name": "log-level",
|
|
805
|
+
"summary": "Specify level for logging.",
|
|
806
|
+
"default": "info",
|
|
807
|
+
"hasDynamicHelp": false,
|
|
808
|
+
"multiple": false,
|
|
809
|
+
"options": [
|
|
810
|
+
"debug",
|
|
811
|
+
"warn",
|
|
812
|
+
"error",
|
|
813
|
+
"info",
|
|
814
|
+
"trace"
|
|
815
|
+
],
|
|
816
|
+
"type": "option"
|
|
817
|
+
},
|
|
818
|
+
"description": {
|
|
449
819
|
"char": "d",
|
|
450
820
|
"description": "Description of the environment to update.",
|
|
451
|
-
"name": "
|
|
821
|
+
"name": "description",
|
|
452
822
|
"hasDynamicHelp": false,
|
|
453
823
|
"multiple": false,
|
|
454
824
|
"type": "option"
|
|
@@ -490,7 +860,7 @@
|
|
|
490
860
|
"pluginName": "@dishantlangayan/solace-cloud-cli",
|
|
491
861
|
"pluginType": "core",
|
|
492
862
|
"strict": true,
|
|
493
|
-
"enableJsonFlag":
|
|
863
|
+
"enableJsonFlag": true,
|
|
494
864
|
"isESM": true,
|
|
495
865
|
"relativePath": [
|
|
496
866
|
"dist",
|
|
@@ -501,5 +871,5 @@
|
|
|
501
871
|
]
|
|
502
872
|
}
|
|
503
873
|
},
|
|
504
|
-
"version": "0.0.
|
|
874
|
+
"version": "0.0.4"
|
|
505
875
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dishantlangayan/solace-cloud-cli",
|
|
3
3
|
"description": "The Solace Cloud CLI",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"author": "Dishant Langayan",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sc": "./bin/run.js"
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
"@oclif/core": "^4",
|
|
12
12
|
"@oclif/plugin-help": "^6",
|
|
13
13
|
"@oclif/plugin-plugins": "^5",
|
|
14
|
+
"@types/cli-progress": "^3.11.6",
|
|
14
15
|
"axios": "^1.9.0",
|
|
16
|
+
"cli-progress": "^3.12.0",
|
|
15
17
|
"table": "^6.9.0"
|
|
16
18
|
},
|
|
17
19
|
"devDependencies": {
|