@dishantlangayan/solace-cloud-cli 0.2.0 → 0.2.1
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 +320 -13
- package/dist/commands/missionctrl/broker/list.js +2 -0
- package/oclif.manifest.json +2 -2
- package/package.json +20 -2
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ $ npm install -g @dishantlangayan/solace-cloud-cli
|
|
|
40
40
|
$ sc COMMAND
|
|
41
41
|
running command...
|
|
42
42
|
$ sc (--version)
|
|
43
|
-
@dishantlangayan/solace-cloud-cli/0.2.
|
|
43
|
+
@dishantlangayan/solace-cloud-cli/0.2.1 darwin-arm64 node-v24.1.0
|
|
44
44
|
$ sc --help [COMMAND]
|
|
45
45
|
USAGE
|
|
46
46
|
$ sc COMMAND
|
|
@@ -87,6 +87,10 @@ See the [LICENSE](LICENSE) file for details.
|
|
|
87
87
|
<!-- licensestop -->
|
|
88
88
|
# Commands
|
|
89
89
|
<!-- commands -->
|
|
90
|
+
* [`sc autocomplete [SHELL]`](#sc-autocomplete-shell)
|
|
91
|
+
* [`sc broker queue create`](#sc-broker-queue-create)
|
|
92
|
+
* [`sc broker queue list`](#sc-broker-queue-list)
|
|
93
|
+
* [`sc commands`](#sc-commands)
|
|
90
94
|
* [`sc help [COMMAND]`](#sc-help-command)
|
|
91
95
|
* [`sc missionctrl broker create`](#sc-missionctrl-broker-create)
|
|
92
96
|
* [`sc missionctrl broker delete`](#sc-missionctrl-broker-delete)
|
|
@@ -110,6 +114,199 @@ See the [LICENSE](LICENSE) file for details.
|
|
|
110
114
|
* [`sc plugins uninstall [PLUGIN]`](#sc-plugins-uninstall-plugin)
|
|
111
115
|
* [`sc plugins unlink [PLUGIN]`](#sc-plugins-unlink-plugin)
|
|
112
116
|
* [`sc plugins update`](#sc-plugins-update)
|
|
117
|
+
* [`sc search`](#sc-search)
|
|
118
|
+
* [`sc update [CHANNEL]`](#sc-update-channel)
|
|
119
|
+
* [`sc version`](#sc-version)
|
|
120
|
+
* [`sc which`](#sc-which)
|
|
121
|
+
|
|
122
|
+
## `sc autocomplete [SHELL]`
|
|
123
|
+
|
|
124
|
+
Display autocomplete installation instructions.
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
USAGE
|
|
128
|
+
$ sc autocomplete [SHELL] [-r]
|
|
129
|
+
|
|
130
|
+
ARGUMENTS
|
|
131
|
+
[SHELL] (zsh|bash|powershell) Shell type
|
|
132
|
+
|
|
133
|
+
FLAGS
|
|
134
|
+
-r, --refresh-cache Refresh cache (ignores displaying instructions)
|
|
135
|
+
|
|
136
|
+
DESCRIPTION
|
|
137
|
+
Display autocomplete installation instructions.
|
|
138
|
+
|
|
139
|
+
EXAMPLES
|
|
140
|
+
$ sc autocomplete
|
|
141
|
+
|
|
142
|
+
$ sc autocomplete bash
|
|
143
|
+
|
|
144
|
+
$ sc autocomplete zsh
|
|
145
|
+
|
|
146
|
+
$ sc autocomplete powershell
|
|
147
|
+
|
|
148
|
+
$ sc autocomplete --refresh-cache
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.40/src/commands/autocomplete/index.ts)_
|
|
152
|
+
|
|
153
|
+
## `sc broker queue create`
|
|
154
|
+
|
|
155
|
+
Create a Queue on a Solace Cloud Broker.
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
USAGE
|
|
159
|
+
$ sc broker queue create -q <value> [--json] [--log-level debug|warn|error|info|trace] [-a exclusive|non-exclusive] [-b
|
|
160
|
+
<value>] [-n <value>] [--consumer-ack-propagation-enabled] [--dead-msg-queue <value>] [--delivery-count-enabled]
|
|
161
|
+
[--delivery-delay <value>] [--egress-enabled] [--ingress-enabled] [--max-bind-count <value>]
|
|
162
|
+
[--max-delivered-unacked-msgs-per-flow <value>] [--max-msg-size <value>] [-s <value>] [--max-redelivery-count
|
|
163
|
+
<value>] [--max-ttl <value>] [-o <value>] [-p consume|delete|modify-topic|no-access|read-only]
|
|
164
|
+
[--redelivery-delay-enabled] [--redelivery-delay-initial-interval <value>] [--redelivery-delay-max-interval <value>]
|
|
165
|
+
[--redelivery-delay-multiplier <value>] [--redelivery-enabled] [--reject-low-priority-msg-enabled]
|
|
166
|
+
[--reject-low-priority-msg-limit <value>] [--reject-msg-to-sender-on-discard-behavior
|
|
167
|
+
always|never|when-queue-enabled] [--respect-msg-priority-enabled] [--respect-ttl-enabled]
|
|
168
|
+
|
|
169
|
+
FLAGS
|
|
170
|
+
-a, --access-type=<option> [default: exclusive] The access type for the queue.
|
|
171
|
+
<options: exclusive|non-exclusive>
|
|
172
|
+
-b, --broker-id=<value> Id of the event broker service.
|
|
173
|
+
-n, --broker-name=<value> Name of the event broker service.
|
|
174
|
+
-o, --owner=<value> The client username that owns the queue and has permission
|
|
175
|
+
equivalent to delete.
|
|
176
|
+
-p, --permission=<option> [default: no-access] The permission level for all consumers
|
|
177
|
+
of the queue, excluding the owner.
|
|
178
|
+
<options: consume|delete|modify-topic|no-access|read-only>
|
|
179
|
+
-q, --queue-name=<value> (required) The name of the queue to create.
|
|
180
|
+
-s, --max-msg-spool-usage=<value> The maximum message spool usage allowed by the queue, in
|
|
181
|
+
megabytes (MB).
|
|
182
|
+
--[no-]consumer-ack-propagation-enabled Enable or disable the propagation of consumer
|
|
183
|
+
acknowledgments.
|
|
184
|
+
--dead-msg-queue=<value> The name of the Dead Message Queue.
|
|
185
|
+
--[no-]delivery-count-enabled Enable or disable delivery count on the messages.
|
|
186
|
+
--delivery-delay=<value> The delay, in seconds, to apply to messages arriving on the
|
|
187
|
+
queue before the messages are eligible for delivery.
|
|
188
|
+
--[no-]egress-enabled Enable or disable egress (message consumption) from the
|
|
189
|
+
queue.
|
|
190
|
+
--[no-]ingress-enabled Enable or disable ingress (message reception) to the queue.
|
|
191
|
+
--max-bind-count=<value> The maximum number of consumer flows that can bind to the
|
|
192
|
+
queue.
|
|
193
|
+
--max-delivered-unacked-msgs-per-flow=<value> The maximum number of messages delivered but not acknowledged
|
|
194
|
+
per flow.
|
|
195
|
+
--max-msg-size=<value> The maximum message size allowed in the queue, in bytes.
|
|
196
|
+
--max-redelivery-count=<value> The maximum number of times a message will be redelivered
|
|
197
|
+
before it is discarded or moved to the DMQ.
|
|
198
|
+
--max-ttl=<value> The maximum time in seconds a message can stay in the queue
|
|
199
|
+
when respect-ttl-enabled is true.
|
|
200
|
+
--[no-]redelivery-delay-enabled Enable or disable a message redelivery delay.
|
|
201
|
+
--redelivery-delay-initial-interval=<value> The delay to be used between the first 2 redelivery attempts,
|
|
202
|
+
in milliseconds.
|
|
203
|
+
--redelivery-delay-max-interval=<value> The maximum delay to be used between any 2 redelivery
|
|
204
|
+
attempts, in milliseconds.
|
|
205
|
+
--redelivery-delay-multiplier=<value> The amount each delay interval is multiplied by after each
|
|
206
|
+
failed delivery attempt.
|
|
207
|
+
--[no-]redelivery-enabled Enable or disable message redelivery.
|
|
208
|
+
--[no-]reject-low-priority-msg-enabled Enable or disable the checking of low priority messages
|
|
209
|
+
against the reject-low-priority-msg-limit.
|
|
210
|
+
--reject-low-priority-msg-limit=<value> The number of messages of any priority above which low
|
|
211
|
+
priority messages are not admitted.
|
|
212
|
+
--reject-msg-to-sender-on-discard-behavior=<option> Determines when to return negative acknowledgments (NACKs) to
|
|
213
|
+
sending clients on message discards.
|
|
214
|
+
<options: always|never|when-queue-enabled>
|
|
215
|
+
--[no-]respect-msg-priority-enabled Enable or disable the respecting of message priority.
|
|
216
|
+
--[no-]respect-ttl-enabled Enable or disable the respecting of the time-to-live (TTL)
|
|
217
|
+
for messages.
|
|
218
|
+
|
|
219
|
+
GLOBAL FLAGS
|
|
220
|
+
--json Format output as json.
|
|
221
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
222
|
+
<options: debug|warn|error|info|trace>
|
|
223
|
+
|
|
224
|
+
DESCRIPTION
|
|
225
|
+
Create a Queue on a Solace Cloud Broker.
|
|
226
|
+
|
|
227
|
+
Your token must have one of the permissions listed in the Token Permissions.
|
|
228
|
+
|
|
229
|
+
Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or
|
|
230
|
+
services:view:self ]
|
|
231
|
+
|
|
232
|
+
EXAMPLES
|
|
233
|
+
$ sc broker queue create --broker-id=MyBrokerId --queue-name=myQueue
|
|
234
|
+
|
|
235
|
+
$ sc broker queue create --broker-name=MyBrokerName --queue-name=myQueue --access-type=exclusive
|
|
236
|
+
|
|
237
|
+
$ sc broker queue create --broker-name=MyBrokerName --queue-name=myQueue --owner=user1 --permission=consume
|
|
238
|
+
|
|
239
|
+
$ sc broker queue create --broker-id=MyBrokerId --queue-name=myQueue --max-spool-usage=100 --ingress-enabled --egress-enabled
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
_See code: [@dishantlangayan/sc-plugin-queue](https://github.com/dishantlangayan/sc-plugin-queue/blob/v0.1.1/src/commands/broker/queue/create.ts)_
|
|
243
|
+
|
|
244
|
+
## `sc broker queue list`
|
|
245
|
+
|
|
246
|
+
Get a list of Queue objects from the Solace Cloud Broker.
|
|
247
|
+
|
|
248
|
+
```
|
|
249
|
+
USAGE
|
|
250
|
+
$ sc broker queue list [--json] [--log-level debug|warn|error|info|trace] [-b <value>] [-n <value>] [-c <value>] [-q
|
|
251
|
+
<value>]
|
|
252
|
+
|
|
253
|
+
FLAGS
|
|
254
|
+
-b, --broker-id=<value> Id of the event broker service.
|
|
255
|
+
-c, --count=<value> [default: 10] Limit the number of queues returned
|
|
256
|
+
-n, --broker-name=<value> Name of the event broker service.
|
|
257
|
+
-q, --queue-name=<value> Name of the queue(s) to filter.
|
|
258
|
+
|
|
259
|
+
GLOBAL FLAGS
|
|
260
|
+
--json Format output as json.
|
|
261
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
262
|
+
<options: debug|warn|error|info|trace>
|
|
263
|
+
|
|
264
|
+
DESCRIPTION
|
|
265
|
+
Get a list of Queue objects from the Solace Cloud Broker.
|
|
266
|
+
|
|
267
|
+
Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or
|
|
268
|
+
services:view:self ]
|
|
269
|
+
|
|
270
|
+
EXAMPLES
|
|
271
|
+
$ sc broker queue list --broker-id=MyBrokerId
|
|
272
|
+
|
|
273
|
+
$ sc broker queue list --broker-name=MyBrokerName
|
|
274
|
+
|
|
275
|
+
$ sc broker queue list --broker-name=MyBrokerName --count=10
|
|
276
|
+
|
|
277
|
+
$ sc broker queue list --broker-name=MyBrokerName --queue-name=test*"
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
_See code: [@dishantlangayan/sc-plugin-queue](https://github.com/dishantlangayan/sc-plugin-queue/blob/v0.1.1/src/commands/broker/queue/list.ts)_
|
|
281
|
+
|
|
282
|
+
## `sc commands`
|
|
283
|
+
|
|
284
|
+
List all sc commands.
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
USAGE
|
|
288
|
+
$ sc commands [--json] [-c id|plugin|summary|type... | --tree] [--deprecated] [-x | ] [--hidden]
|
|
289
|
+
[--no-truncate | ] [--sort id|plugin|summary|type | ]
|
|
290
|
+
|
|
291
|
+
FLAGS
|
|
292
|
+
-c, --columns=<option>... Only show provided columns (comma-separated).
|
|
293
|
+
<options: id|plugin|summary|type>
|
|
294
|
+
-x, --extended Show extra columns.
|
|
295
|
+
--deprecated Show deprecated commands.
|
|
296
|
+
--hidden Show hidden commands.
|
|
297
|
+
--no-truncate Do not truncate output.
|
|
298
|
+
--sort=<option> [default: id] Property to sort by.
|
|
299
|
+
<options: id|plugin|summary|type>
|
|
300
|
+
--tree Show tree of commands.
|
|
301
|
+
|
|
302
|
+
GLOBAL FLAGS
|
|
303
|
+
--json Format output as json.
|
|
304
|
+
|
|
305
|
+
DESCRIPTION
|
|
306
|
+
List all sc commands.
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v4.1.40/src/commands/commands.ts)_
|
|
113
310
|
|
|
114
311
|
## `sc help [COMMAND]`
|
|
115
312
|
|
|
@@ -188,7 +385,7 @@ EXAMPLES
|
|
|
188
385
|
$ sc missionctrl broker create --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER
|
|
189
386
|
```
|
|
190
387
|
|
|
191
|
-
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
388
|
+
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/create.ts)_
|
|
192
389
|
|
|
193
390
|
## `sc missionctrl broker delete`
|
|
194
391
|
|
|
@@ -220,7 +417,7 @@ EXAMPLES
|
|
|
220
417
|
$ sc missionctrl broker delete --name=MyBrokerName
|
|
221
418
|
```
|
|
222
419
|
|
|
223
|
-
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
420
|
+
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/delete.ts)_
|
|
224
421
|
|
|
225
422
|
## `sc missionctrl broker display`
|
|
226
423
|
|
|
@@ -251,7 +448,7 @@ EXAMPLES
|
|
|
251
448
|
$ sc missionctrl broker display
|
|
252
449
|
```
|
|
253
450
|
|
|
254
|
-
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
451
|
+
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/display.ts)_
|
|
255
452
|
|
|
256
453
|
## `sc missionctrl broker list`
|
|
257
454
|
|
|
@@ -288,6 +485,8 @@ GLOBAL FLAGS
|
|
|
288
485
|
DESCRIPTION
|
|
289
486
|
Get a listing of event broker services.
|
|
290
487
|
|
|
488
|
+
The maximum number of objects that can be returned in a single page is 100. Default is 10.
|
|
489
|
+
|
|
291
490
|
Your token must have one of the permissions listed in the Token Permissions.
|
|
292
491
|
|
|
293
492
|
Token Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view`
|
|
@@ -299,7 +498,7 @@ EXAMPLES
|
|
|
299
498
|
$ sc missionctrl broker list --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc
|
|
300
499
|
```
|
|
301
500
|
|
|
302
|
-
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
501
|
+
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/list.ts)_
|
|
303
502
|
|
|
304
503
|
## `sc missionctrl broker opstatus`
|
|
305
504
|
|
|
@@ -336,7 +535,7 @@ EXAMPLES
|
|
|
336
535
|
$ sc missionctrl broker opstatus -n <broker-name>
|
|
337
536
|
```
|
|
338
537
|
|
|
339
|
-
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
538
|
+
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/opstatus.ts)_
|
|
340
539
|
|
|
341
540
|
## `sc missionctrl broker state`
|
|
342
541
|
|
|
@@ -370,7 +569,7 @@ EXAMPLES
|
|
|
370
569
|
$ sc missionctrl broker state --name=MyBrokerName
|
|
371
570
|
```
|
|
372
571
|
|
|
373
|
-
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
572
|
+
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/state.ts)_
|
|
374
573
|
|
|
375
574
|
## `sc missionctrl broker update`
|
|
376
575
|
|
|
@@ -410,7 +609,7 @@ EXAMPLES
|
|
|
410
609
|
$ sc missionctrl broker update --name <name> --new-name <new-name>
|
|
411
610
|
```
|
|
412
611
|
|
|
413
|
-
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
612
|
+
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/missionctrl/broker/update.ts)_
|
|
414
613
|
|
|
415
614
|
## `sc platform env create`
|
|
416
615
|
|
|
@@ -444,7 +643,7 @@ EXAMPLES
|
|
|
444
643
|
$ sc platform env create --name=MyEnvironment --description="My environment description" --isDefault --isProduction
|
|
445
644
|
```
|
|
446
645
|
|
|
447
|
-
_See code: [src/commands/platform/env/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
646
|
+
_See code: [src/commands/platform/env/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/platform/env/create.ts)_
|
|
448
647
|
|
|
449
648
|
## `sc platform env delete`
|
|
450
649
|
|
|
@@ -474,7 +673,7 @@ EXAMPLES
|
|
|
474
673
|
$ sc platform env delete --env-id=MyEnvId
|
|
475
674
|
```
|
|
476
675
|
|
|
477
|
-
_See code: [src/commands/platform/env/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
676
|
+
_See code: [src/commands/platform/env/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/platform/env/delete.ts)_
|
|
478
677
|
|
|
479
678
|
## `sc platform env display`
|
|
480
679
|
|
|
@@ -506,7 +705,7 @@ EXAMPLES
|
|
|
506
705
|
$ sc platform env display --env-id=MyEnvId
|
|
507
706
|
```
|
|
508
707
|
|
|
509
|
-
_See code: [src/commands/platform/env/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
708
|
+
_See code: [src/commands/platform/env/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/platform/env/display.ts)_
|
|
510
709
|
|
|
511
710
|
## `sc platform env list`
|
|
512
711
|
|
|
@@ -539,7 +738,7 @@ EXAMPLES
|
|
|
539
738
|
$ sc platform env list --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC
|
|
540
739
|
```
|
|
541
740
|
|
|
542
|
-
_See code: [src/commands/platform/env/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
741
|
+
_See code: [src/commands/platform/env/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/platform/env/list.ts)_
|
|
543
742
|
|
|
544
743
|
## `sc platform env update`
|
|
545
744
|
|
|
@@ -576,7 +775,7 @@ EXAMPLES
|
|
|
576
775
|
$ sc platform env update --env-id=MyEnvId --new-name=MyNewEnvName --description="My description to update" --isDefault
|
|
577
776
|
```
|
|
578
777
|
|
|
579
|
-
_See code: [src/commands/platform/env/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.
|
|
778
|
+
_See code: [src/commands/platform/env/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.2.1/src/commands/platform/env/update.ts)_
|
|
580
779
|
|
|
581
780
|
## `sc plugins`
|
|
582
781
|
|
|
@@ -867,4 +1066,112 @@ DESCRIPTION
|
|
|
867
1066
|
```
|
|
868
1067
|
|
|
869
1068
|
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/update.ts)_
|
|
1069
|
+
|
|
1070
|
+
## `sc search`
|
|
1071
|
+
|
|
1072
|
+
Search for a command.
|
|
1073
|
+
|
|
1074
|
+
```
|
|
1075
|
+
USAGE
|
|
1076
|
+
$ sc search
|
|
1077
|
+
|
|
1078
|
+
DESCRIPTION
|
|
1079
|
+
Search for a command.
|
|
1080
|
+
|
|
1081
|
+
Once you select a command, hit enter and it will show the help for that command.
|
|
1082
|
+
```
|
|
1083
|
+
|
|
1084
|
+
_See code: [@oclif/plugin-search](https://github.com/oclif/plugin-search/blob/v1.2.38/src/commands/search.ts)_
|
|
1085
|
+
|
|
1086
|
+
## `sc update [CHANNEL]`
|
|
1087
|
+
|
|
1088
|
+
update the sc CLI
|
|
1089
|
+
|
|
1090
|
+
```
|
|
1091
|
+
USAGE
|
|
1092
|
+
$ sc update [CHANNEL] [--force | | [-a | -v <value> | -i]] [-b ]
|
|
1093
|
+
|
|
1094
|
+
FLAGS
|
|
1095
|
+
-a, --available See available versions.
|
|
1096
|
+
-b, --verbose Show more details about the available versions.
|
|
1097
|
+
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
|
|
1098
|
+
-v, --version=<value> Install a specific version.
|
|
1099
|
+
--force Force a re-download of the requested version.
|
|
1100
|
+
|
|
1101
|
+
DESCRIPTION
|
|
1102
|
+
update the sc CLI
|
|
1103
|
+
|
|
1104
|
+
EXAMPLES
|
|
1105
|
+
Update to the stable channel:
|
|
1106
|
+
|
|
1107
|
+
$ sc update stable
|
|
1108
|
+
|
|
1109
|
+
Update to a specific version:
|
|
1110
|
+
|
|
1111
|
+
$ sc update --version 1.0.0
|
|
1112
|
+
|
|
1113
|
+
Interactively select version:
|
|
1114
|
+
|
|
1115
|
+
$ sc update --interactive
|
|
1116
|
+
|
|
1117
|
+
See available versions:
|
|
1118
|
+
|
|
1119
|
+
$ sc update --available
|
|
1120
|
+
```
|
|
1121
|
+
|
|
1122
|
+
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v4.7.19/src/commands/update.ts)_
|
|
1123
|
+
|
|
1124
|
+
## `sc version`
|
|
1125
|
+
|
|
1126
|
+
```
|
|
1127
|
+
USAGE
|
|
1128
|
+
$ sc version [--json] [--verbose]
|
|
1129
|
+
|
|
1130
|
+
FLAGS
|
|
1131
|
+
--verbose Show additional information about the CLI.
|
|
1132
|
+
|
|
1133
|
+
GLOBAL FLAGS
|
|
1134
|
+
--json Format output as json.
|
|
1135
|
+
|
|
1136
|
+
FLAG DESCRIPTIONS
|
|
1137
|
+
--verbose Show additional information about the CLI.
|
|
1138
|
+
|
|
1139
|
+
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
1140
|
+
```
|
|
1141
|
+
|
|
1142
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.36/src/commands/version.ts)_
|
|
1143
|
+
|
|
1144
|
+
## `sc which`
|
|
1145
|
+
|
|
1146
|
+
Show which plugin a command is in.
|
|
1147
|
+
|
|
1148
|
+
```
|
|
1149
|
+
USAGE
|
|
1150
|
+
$ sc which [--json]
|
|
1151
|
+
|
|
1152
|
+
GLOBAL FLAGS
|
|
1153
|
+
--json Format output as json.
|
|
1154
|
+
|
|
1155
|
+
DESCRIPTION
|
|
1156
|
+
Show which plugin a command is in.
|
|
1157
|
+
|
|
1158
|
+
EXAMPLES
|
|
1159
|
+
See which plugin the `help` command is in:
|
|
1160
|
+
|
|
1161
|
+
$ sc which help
|
|
1162
|
+
|
|
1163
|
+
Use colon separators.
|
|
1164
|
+
|
|
1165
|
+
$ sc which foo:bar:baz
|
|
1166
|
+
|
|
1167
|
+
Use spaces as separators.
|
|
1168
|
+
|
|
1169
|
+
$ sc which foo bar baz
|
|
1170
|
+
|
|
1171
|
+
Wrap command in quotes to use spaces as separators.
|
|
1172
|
+
|
|
1173
|
+
$ sc which "foo bar baz"
|
|
1174
|
+
```
|
|
1175
|
+
|
|
1176
|
+
_See code: [@oclif/plugin-which](https://github.com/oclif/plugin-which/blob/v3.2.43/src/commands/which.ts)_
|
|
870
1177
|
<!-- commandsstop -->
|
|
@@ -4,6 +4,8 @@ export default class MissionctrlBrokerList extends ScCommand {
|
|
|
4
4
|
static args = {};
|
|
5
5
|
static description = `Get a listing of event broker services.
|
|
6
6
|
|
|
7
|
+
The maximum number of objects that can be returned in a single page is 100. Default is 10.
|
|
8
|
+
|
|
7
9
|
Your token must have one of the permissions listed in the Token Permissions.
|
|
8
10
|
|
|
9
11
|
Token Permissions: [ \`mission_control:access\` **or** \`services:get\` **or** \`services:get:self\` **or** \`services:view\` **or** \`services:view:self\` ]`;
|
package/oclif.manifest.json
CHANGED
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
"missionctrl:broker:list": {
|
|
257
257
|
"aliases": [],
|
|
258
258
|
"args": {},
|
|
259
|
-
"description": "Get a listing of event broker services.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view` **or** `services:view:self` ]",
|
|
259
|
+
"description": "Get a listing of event broker services.\n\nThe maximum number of objects that can be returned in a single page is 100. Default is 10.\n\nYour token must have one of the permissions listed in the Token Permissions.\n\nToken Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view` **or** `services:view:self` ]",
|
|
260
260
|
"examples": [
|
|
261
261
|
"<%= config.bin %> <%= command.id %>",
|
|
262
262
|
"<%= config.bin %> <%= command.id %> --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc"
|
|
@@ -940,5 +940,5 @@
|
|
|
940
940
|
]
|
|
941
941
|
}
|
|
942
942
|
},
|
|
943
|
-
"version": "0.2.
|
|
943
|
+
"version": "0.2.1"
|
|
944
944
|
}
|
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.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"author": "Dishant Langayan",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sc": "./bin/run.js"
|
|
@@ -9,9 +9,18 @@
|
|
|
9
9
|
"bugs": "https://github.com/dishantlangayan/solace-cloud-cli/issues",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@dishantlangayan/sc-cli-core": "^0.1.0",
|
|
12
|
+
"@dishantlangayan/sc-plugin-queue": "^0.1.1",
|
|
12
13
|
"@oclif/core": "^4",
|
|
14
|
+
"@oclif/plugin-autocomplete": "^3.2.40",
|
|
15
|
+
"@oclif/plugin-commands": "^4.1.40",
|
|
13
16
|
"@oclif/plugin-help": "^6",
|
|
17
|
+
"@oclif/plugin-not-found": "^3.2.74",
|
|
14
18
|
"@oclif/plugin-plugins": "^5",
|
|
19
|
+
"@oclif/plugin-search": "^1.2.38",
|
|
20
|
+
"@oclif/plugin-update": "^4.7.19",
|
|
21
|
+
"@oclif/plugin-version": "^2.2.36",
|
|
22
|
+
"@oclif/plugin-warn-if-update-available": "^3.1.55",
|
|
23
|
+
"@oclif/plugin-which": "^3.2.43",
|
|
15
24
|
"@types/cli-progress": "^3.11.6",
|
|
16
25
|
"axios": "^1.9.0",
|
|
17
26
|
"cli-progress": "^3.12.0",
|
|
@@ -59,8 +68,17 @@
|
|
|
59
68
|
"dirname": "sc",
|
|
60
69
|
"commands": "./dist/commands",
|
|
61
70
|
"plugins": [
|
|
71
|
+
"@oclif/plugin-autocomplete",
|
|
72
|
+
"@oclif/plugin-commands",
|
|
62
73
|
"@oclif/plugin-help",
|
|
63
|
-
"@oclif/plugin-
|
|
74
|
+
"@oclif/plugin-not-found",
|
|
75
|
+
"@oclif/plugin-plugins",
|
|
76
|
+
"@oclif/plugin-search",
|
|
77
|
+
"@oclif/plugin-update",
|
|
78
|
+
"@oclif/plugin-version",
|
|
79
|
+
"@oclif/plugin-warn-if-update-available",
|
|
80
|
+
"@oclif/plugin-which",
|
|
81
|
+
"@dishantlangayan/sc-plugin-queue"
|
|
64
82
|
],
|
|
65
83
|
"topicSeparator": " "
|
|
66
84
|
},
|