Skip to content

Commit 56c2244

Browse files
0.1.1
1 parent 978a5c9 commit 56c2244

File tree

3 files changed

+59
-18
lines changed

3 files changed

+59
-18
lines changed

README.md

Lines changed: 56 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $ npm install -g @dishantlangayan/solace-cloud-cli
2222
$ sc COMMAND
2323
running command...
2424
$ sc (--version)
25-
@dishantlangayan/solace-cloud-cli/0.1.0 darwin-arm64 node-v24.1.0
25+
@dishantlangayan/solace-cloud-cli/0.1.1 darwin-arm64 node-v24.1.0
2626
$ sc --help [COMMAND]
2727
USAGE
2828
$ sc COMMAND
@@ -51,6 +51,7 @@ The following Environment variables are optional:
5151
* [`sc missionctrl broker display`](#sc-missionctrl-broker-display)
5252
* [`sc missionctrl broker list`](#sc-missionctrl-broker-list)
5353
* [`sc missionctrl broker opstatus`](#sc-missionctrl-broker-opstatus)
54+
* [`sc missionctrl broker state`](#sc-missionctrl-broker-state)
5455
* [`sc missionctrl broker update`](#sc-missionctrl-broker-update)
5556
* [`sc platform env create`](#sc-platform-env-create)
5657
* [`sc platform env delete`](#sc-platform-env-delete)
@@ -145,7 +146,7 @@ EXAMPLES
145146
$ sc missionctrl broker create --name=MyBrokerName --datacenter-id=eks-ca-central-1a --service-class-id=DEVELOPER
146147
```
147148

148-
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/missionctrl/broker/create.ts)_
149+
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/create.ts)_
149150

150151
## `sc missionctrl broker delete`
151152

@@ -177,7 +178,7 @@ EXAMPLES
177178
$ sc missionctrl broker delete --name=MyBrokerName
178179
```
179180

180-
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/missionctrl/broker/delete.ts)_
181+
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/delete.ts)_
181182

182183
## `sc missionctrl broker display`
183184

@@ -208,7 +209,7 @@ EXAMPLES
208209
$ sc missionctrl broker display
209210
```
210211

211-
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/missionctrl/broker/display.ts)_
212+
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/display.ts)_
212213

213214
## `sc missionctrl broker list`
214215

@@ -227,7 +228,7 @@ FLAGS
227228
The page number to get. Defaults to 1
228229
229230
--pageSize=<value>
230-
The number of event broker services to return per page. Defaults to 100
231+
The number of event broker services to return per page. Defaults to 10
231232
232233
--sort=<value>
233234
Sort the returned event broker services by attribute.
@@ -251,10 +252,12 @@ DESCRIPTION
251252
**or** `services:view:self` ]
252253
253254
EXAMPLES
255+
$ sc missionctrl broker list
256+
254257
$ sc missionctrl broker list --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc
255258
```
256259

257-
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/missionctrl/broker/list.ts)_
260+
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/list.ts)_
258261

259262
## `sc missionctrl broker opstatus`
260263

@@ -291,7 +294,41 @@ EXAMPLES
291294
$ sc missionctrl broker opstatus -n <broker-name>
292295
```
293296

294-
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/missionctrl/broker/opstatus.ts)_
297+
_See code: [src/commands/missionctrl/broker/opstatus.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/opstatus.ts)_
298+
299+
## `sc missionctrl broker state`
300+
301+
Get the availability state of an event broker service and the name of the active messaging node using the service's unique identifier.
302+
303+
```
304+
USAGE
305+
$ sc missionctrl broker state [--json] [--log-level debug|warn|error|info|trace] [-b <value>] [-n <value>]
306+
307+
FLAGS
308+
-b, --broker-id=<value> Id of the event broker service.
309+
-n, --name=<value> Name of the event broker service.
310+
311+
GLOBAL FLAGS
312+
--json Format output as json.
313+
--log-level=<option> [default: info] Specify level for logging.
314+
<options: debug|warn|error|info|trace>
315+
316+
DESCRIPTION
317+
Get the availability state of an event broker service and the name of the active messaging node using the service's
318+
unique identifier.
319+
320+
Your token must have one of the permissions listed in the Token Permissions.
321+
322+
Token Permissions: [ mission_control:access or services:get or services:get:self or services:view or
323+
services:view:self ]
324+
325+
EXAMPLES
326+
$ sc missionctrl broker state --broker-id=MyBrokerServiceId
327+
328+
$ sc missionctrl broker state --name=MyBrokerName
329+
```
330+
331+
_See code: [src/commands/missionctrl/broker/state.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/state.ts)_
295332

296333
## `sc missionctrl broker update`
297334

@@ -325,9 +362,13 @@ DESCRIPTION
325362
326363
EXAMPLES
327364
$ sc missionctrl broker update
365+
366+
$ sc missionctrl broker update --broker-id <broker-id> --new-name <new-name>
367+
368+
$ sc missionctrl broker update --name <name> --new-name <new-name>
328369
```
329370

330-
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/missionctrl/broker/update.ts)_
371+
_See code: [src/commands/missionctrl/broker/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/missionctrl/broker/update.ts)_
331372

332373
## `sc platform env create`
333374

@@ -341,8 +382,8 @@ USAGE
341382
FLAGS
342383
-d, --description=<value> Description of the environment to create.
343384
-n, --name=<value> (required) Name of the environment to create.
344-
--isDefault Indicates this is the organizations default environment.
345-
--isProduction Indicates this is an organizations production environment.
385+
--isDefault Indicates this is the organization's default environment.
386+
--isProduction Indicates this is an organization's production environment.
346387
This is an immutable field. If an environment needs to be migrated,
347388
architecture can be migrated to a new environment with the desired
348389
environment type instead.
@@ -361,7 +402,7 @@ EXAMPLES
361402
$ sc platform env create --name=MyEnvironment --desc="My environment description" --isDefault --isProduction
362403
```
363404

364-
_See code: [src/commands/platform/env/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/platform/env/create.ts)_
405+
_See code: [src/commands/platform/env/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/platform/env/create.ts)_
365406

366407
## `sc platform env delete`
367408

@@ -391,7 +432,7 @@ EXAMPLES
391432
$ sc platform env delete --env-id=MyEnvId
392433
```
393434

394-
_See code: [src/commands/platform/env/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/platform/env/delete.ts)_
435+
_See code: [src/commands/platform/env/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/platform/env/delete.ts)_
395436

396437
## `sc platform env display`
397438

@@ -423,7 +464,7 @@ EXAMPLES
423464
$ sc platform env display --env-id=MyEnvId
424465
```
425466

426-
_See code: [src/commands/platform/env/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/platform/env/display.ts)_
467+
_See code: [src/commands/platform/env/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/platform/env/display.ts)_
427468

428469
## `sc platform env list`
429470

@@ -456,7 +497,7 @@ EXAMPLES
456497
$ sc platform env list --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC
457498
```
458499

459-
_See code: [src/commands/platform/env/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/platform/env/list.ts)_
500+
_See code: [src/commands/platform/env/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/platform/env/list.ts)_
460501

461502
## `sc platform env update`
462503

@@ -493,7 +534,7 @@ EXAMPLES
493534
$ sc platform env update --env-id=MyEnvId --new-name=MyNewEnvName --desc="My description to update" --isDefault
494535
```
495536

496-
_See code: [src/commands/platform/env/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.0/src/commands/platform/env/update.ts)_
537+
_See code: [src/commands/platform/env/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.1.1/src/commands/platform/env/update.ts)_
497538

498539
## `sc plugins`
499540

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dishantlangayan/solace-cloud-cli",
33
"description": "The Solace Cloud CLI",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"author": "Dishant Langayan",
66
"bin": {
77
"sc": "./bin/run.js"

0 commit comments

Comments
 (0)