@dishantlangayan/solace-cloud-cli 0.0.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/LICENSE.txt +202 -0
- package/README.md +638 -0
- package/bin/dev.cmd +3 -0
- package/bin/dev.js +5 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/dist/commands/missionctrl/broker/create.d.ts +18 -0
- package/dist/commands/missionctrl/broker/create.js +107 -0
- package/dist/commands/missionctrl/broker/delete.d.ts +11 -0
- package/dist/commands/missionctrl/broker/delete.js +54 -0
- package/dist/commands/missionctrl/broker/display.d.ts +12 -0
- package/dist/commands/missionctrl/broker/display.js +69 -0
- package/dist/commands/missionctrl/broker/list.d.ts +13 -0
- package/dist/commands/missionctrl/broker/list.js +65 -0
- package/dist/commands/platform/env/create.d.ts +14 -0
- package/dist/commands/platform/env/create.js +63 -0
- package/dist/commands/platform/env/delete.d.ts +11 -0
- package/dist/commands/platform/env/delete.js +41 -0
- package/dist/commands/platform/env/display.d.ts +12 -0
- package/dist/commands/platform/env/display.js +64 -0
- package/dist/commands/platform/env/list.d.ts +13 -0
- package/dist/commands/platform/env/list.js +56 -0
- package/dist/commands/platform/env/update.d.ts +15 -0
- package/dist/commands/platform/env/update.js +76 -0
- package/dist/config/env-vars.d.ts +44 -0
- package/dist/config/env-vars.js +47 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/sc-command.d.ts +22 -0
- package/dist/sc-command.js +54 -0
- package/dist/types/broker.d.ts +60 -0
- package/dist/types/broker.js +1 -0
- package/dist/types/environment.d.ts +36 -0
- package/dist/types/environment.js +1 -0
- package/dist/util/internal.d.ts +6 -0
- package/dist/util/internal.js +12 -0
- package/dist/util/json.d.ts +15 -0
- package/dist/util/json.js +19 -0
- package/dist/util/sc-connection.d.ts +12 -0
- package/dist/util/sc-connection.js +47 -0
- package/oclif.manifest.json +521 -0
- package/package.json +77 -0
package/README.md
ADDED
|
@@ -0,0 +1,638 @@
|
|
|
1
|
+
@dishantlangayan/solace-cloud-cli
|
|
2
|
+
=================
|
|
3
|
+
|
|
4
|
+
The Solace Cloud CLI
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
[](https://oclif.io)
|
|
8
|
+
[](https://npmjs.org/package/@dishantlangayan/solace-cloud-cli)
|
|
9
|
+
[](https://npmjs.org/package/@dishantlangayan/solace-cloud-cli)
|
|
10
|
+
[](https://opensource.org/license/apache-2-0)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
<!-- toc -->
|
|
14
|
+
* [Usage](#usage)
|
|
15
|
+
* [Commands](#commands)
|
|
16
|
+
<!-- tocstop -->
|
|
17
|
+
# Usage
|
|
18
|
+
<!-- usage -->
|
|
19
|
+
```sh-session
|
|
20
|
+
$ npm install -g @dishantlangayan/solace-cloud-cli
|
|
21
|
+
$ sc COMMAND
|
|
22
|
+
running command...
|
|
23
|
+
$ sc (--version)
|
|
24
|
+
@dishantlangayan/solace-cloud-cli/0.0.1 darwin-x64 node-v23.10.0
|
|
25
|
+
$ sc --help [COMMAND]
|
|
26
|
+
USAGE
|
|
27
|
+
$ sc COMMAND
|
|
28
|
+
...
|
|
29
|
+
```
|
|
30
|
+
<!-- usagestop -->
|
|
31
|
+
# Commands
|
|
32
|
+
<!-- commands -->
|
|
33
|
+
* [`sc help [COMMAND]`](#sc-help-command)
|
|
34
|
+
* [`sc missionctrl broker create`](#sc-missionctrl-broker-create)
|
|
35
|
+
* [`sc missionctrl broker delete`](#sc-missionctrl-broker-delete)
|
|
36
|
+
* [`sc missionctrl broker display`](#sc-missionctrl-broker-display)
|
|
37
|
+
* [`sc missionctrl broker list`](#sc-missionctrl-broker-list)
|
|
38
|
+
* [`sc platform env create`](#sc-platform-env-create)
|
|
39
|
+
* [`sc platform env delete`](#sc-platform-env-delete)
|
|
40
|
+
* [`sc platform env display`](#sc-platform-env-display)
|
|
41
|
+
* [`sc platform env list`](#sc-platform-env-list)
|
|
42
|
+
* [`sc platform env update`](#sc-platform-env-update)
|
|
43
|
+
* [`sc plugins`](#sc-plugins)
|
|
44
|
+
* [`sc plugins add PLUGIN`](#sc-plugins-add-plugin)
|
|
45
|
+
* [`sc plugins:inspect PLUGIN...`](#sc-pluginsinspect-plugin)
|
|
46
|
+
* [`sc plugins install PLUGIN`](#sc-plugins-install-plugin)
|
|
47
|
+
* [`sc plugins link PATH`](#sc-plugins-link-path)
|
|
48
|
+
* [`sc plugins remove [PLUGIN]`](#sc-plugins-remove-plugin)
|
|
49
|
+
* [`sc plugins reset`](#sc-plugins-reset)
|
|
50
|
+
* [`sc plugins uninstall [PLUGIN]`](#sc-plugins-uninstall-plugin)
|
|
51
|
+
* [`sc plugins unlink [PLUGIN]`](#sc-plugins-unlink-plugin)
|
|
52
|
+
* [`sc plugins update`](#sc-plugins-update)
|
|
53
|
+
|
|
54
|
+
## `sc help [COMMAND]`
|
|
55
|
+
|
|
56
|
+
Display help for sc.
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
USAGE
|
|
60
|
+
$ sc help [COMMAND...] [-n]
|
|
61
|
+
|
|
62
|
+
ARGUMENTS
|
|
63
|
+
COMMAND... Command to show help for.
|
|
64
|
+
|
|
65
|
+
FLAGS
|
|
66
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
67
|
+
|
|
68
|
+
DESCRIPTION
|
|
69
|
+
Display help for sc.
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.29/src/commands/help.ts)_
|
|
73
|
+
|
|
74
|
+
## `sc missionctrl broker create`
|
|
75
|
+
|
|
76
|
+
Create an event broker service. You must provide a unique name and select a service class and datacenter. You can optionally define other properties for the event broker service.
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
USAGE
|
|
80
|
+
$ sc missionctrl broker create -d <value> -n <value> -c <value> [-e <value>] [-l] [-s <value>] [-m <value>] [-v
|
|
81
|
+
<value>]
|
|
82
|
+
|
|
83
|
+
FLAGS
|
|
84
|
+
-c, --service-class-id=<value> (required) Supported service classes.
|
|
85
|
+
-d, --datacenter-id=<value> (required) The identifier of the datacenter.
|
|
86
|
+
-e, --env-name=<value> The name of the environment environment where you want to create the service. If no
|
|
87
|
+
name is provided, the service will be created in the default environment.
|
|
88
|
+
-l, --locked Indicates if you can delete the event broker service after creating it. The default
|
|
89
|
+
value is false.
|
|
90
|
+
-m, --msg-vpn-name=<value> The message VPN name. A default message VPN name is provided when this is not
|
|
91
|
+
specified.
|
|
92
|
+
-n, --name=<value> (required) Name of the event broker service to create.
|
|
93
|
+
-s, --max-spool-usage=<value> The message spool size, in gigabytes (GB). A default message spool size is provided if
|
|
94
|
+
this is not specified.
|
|
95
|
+
-v, --version=<value> The event broker version. A default version is provided when this is not specified.
|
|
96
|
+
|
|
97
|
+
DESCRIPTION
|
|
98
|
+
Create an event broker service. You must provide a unique name and select a service class and datacenter. You can
|
|
99
|
+
optionally define other properties for the event broker service.
|
|
100
|
+
|
|
101
|
+
Your token must have one of the permissions listed in the Token Permissions.
|
|
102
|
+
|
|
103
|
+
Token Permissions: [ `services:post` ]
|
|
104
|
+
|
|
105
|
+
EXAMPLES
|
|
106
|
+
$ sc missionctrl broker create --datacenter-id=MyDatacenterId --name=MyBrokerName --service-class-id=DEVELOPER
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
_See code: [src/commands/missionctrl/broker/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/missionctrl/broker/create.ts)_
|
|
110
|
+
|
|
111
|
+
## `sc missionctrl broker delete`
|
|
112
|
+
|
|
113
|
+
Delete a service using its unique identifier.
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
USAGE
|
|
117
|
+
$ sc missionctrl broker delete [-b <value>] [-n <value>]
|
|
118
|
+
|
|
119
|
+
FLAGS
|
|
120
|
+
-b, --broker-id=<value> Id of the event broker service.
|
|
121
|
+
-n, --name=<value> Name of the event broker service.
|
|
122
|
+
|
|
123
|
+
DESCRIPTION
|
|
124
|
+
Delete a service using its unique identifier.
|
|
125
|
+
|
|
126
|
+
Your token must have one of the permissions listed in the Token Permissions.
|
|
127
|
+
|
|
128
|
+
Token Permissions: [ `services:delete` **or** `services:delete:self` **or** `mission_control:access` ]
|
|
129
|
+
|
|
130
|
+
EXAMPLES
|
|
131
|
+
$ sc missionctrl broker delete --broker-id=MyBrokerId
|
|
132
|
+
|
|
133
|
+
$ sc missionctrl broker delete --name=MyBrokerName
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
_See code: [src/commands/missionctrl/broker/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/missionctrl/broker/delete.ts)_
|
|
137
|
+
|
|
138
|
+
## `sc missionctrl broker display`
|
|
139
|
+
|
|
140
|
+
Get the details of an event broker service using its identifier or name.
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
USAGE
|
|
144
|
+
$ sc missionctrl broker display [-b <value>] [-n <value>]
|
|
145
|
+
|
|
146
|
+
FLAGS
|
|
147
|
+
-b, --broker-id=<value> Id of the event broker service.
|
|
148
|
+
-n, --name=<value> Name of the event broker service.
|
|
149
|
+
|
|
150
|
+
DESCRIPTION
|
|
151
|
+
Get the details of an event broker service using its identifier or name.
|
|
152
|
+
|
|
153
|
+
Use either the Event Broker's ID (--broker-id) or name of the Event Broker (--name).
|
|
154
|
+
|
|
155
|
+
Token Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view`
|
|
156
|
+
**or** `services:view:self` ]
|
|
157
|
+
|
|
158
|
+
EXAMPLES
|
|
159
|
+
$ sc missionctrl broker display
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
_See code: [src/commands/missionctrl/broker/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/missionctrl/broker/display.ts)_
|
|
163
|
+
|
|
164
|
+
## `sc missionctrl broker list`
|
|
165
|
+
|
|
166
|
+
Get a listing of event broker services.
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
USAGE
|
|
170
|
+
$ sc missionctrl broker list [-n <value>] [--pageNumber <value>] [--pageSize <value>] [--sort <value>]
|
|
171
|
+
|
|
172
|
+
FLAGS
|
|
173
|
+
-n, --name=<value>
|
|
174
|
+
Name of the event broker service to match on.
|
|
175
|
+
|
|
176
|
+
--pageNumber=<value>
|
|
177
|
+
The page number to get. Defaults to 1
|
|
178
|
+
|
|
179
|
+
--pageSize=<value>
|
|
180
|
+
The number of event broker services to return per page. Defaults to 100
|
|
181
|
+
|
|
182
|
+
--sort=<value>
|
|
183
|
+
Sort the returned event broker services by attribute.
|
|
184
|
+
|
|
185
|
+
You can use the following value formats for the sort order:
|
|
186
|
+
|
|
187
|
+
* attributes-names
|
|
188
|
+
* attributes-names:sort-order
|
|
189
|
+
|
|
190
|
+
DESCRIPTION
|
|
191
|
+
Get a listing of event broker services.
|
|
192
|
+
|
|
193
|
+
Your token must have one of the permissions listed in the Token Permissions.
|
|
194
|
+
|
|
195
|
+
Token Permissions: [ `mission_control:access` **or** `services:get` **or** `services:get:self` **or** `services:view`
|
|
196
|
+
**or** `services:view:self` ]
|
|
197
|
+
|
|
198
|
+
EXAMPLES
|
|
199
|
+
$ sc missionctrl broker list --name=MyBrokerName --pageNumber=1 --pageSize=10 --sort=name:asc
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
_See code: [src/commands/missionctrl/broker/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/missionctrl/broker/list.ts)_
|
|
203
|
+
|
|
204
|
+
## `sc platform env create`
|
|
205
|
+
|
|
206
|
+
Create a new environment.
|
|
207
|
+
|
|
208
|
+
```
|
|
209
|
+
USAGE
|
|
210
|
+
$ sc platform env create -n <value> [-d <value>] [--isDefault] [--isProduction]
|
|
211
|
+
|
|
212
|
+
FLAGS
|
|
213
|
+
-d, --desc=<value> Description of the environment to create.
|
|
214
|
+
-n, --name=<value> (required) Name of the environment to create.
|
|
215
|
+
--isDefault Indicates this is the organization’s default environment.
|
|
216
|
+
--isProduction Indicates this is an organization’s production environment.
|
|
217
|
+
This is an immutable field. If an environment needs to be migrated,
|
|
218
|
+
architecture can be migrated to a new environment with the desired
|
|
219
|
+
environment type instead.
|
|
220
|
+
|
|
221
|
+
DESCRIPTION
|
|
222
|
+
Create a new environment.
|
|
223
|
+
|
|
224
|
+
Token Permissions: [ environments:edit ]
|
|
225
|
+
|
|
226
|
+
EXAMPLES
|
|
227
|
+
$ sc platform env create --name=MyEnvironment --desc="My environment description" --isDefault --isProduction
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
_See code: [src/commands/platform/env/create.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/platform/env/create.ts)_
|
|
231
|
+
|
|
232
|
+
## `sc platform env delete`
|
|
233
|
+
|
|
234
|
+
Delete an environment using either its name or unique identifier. The default environment cannot be deleted.
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
USAGE
|
|
238
|
+
$ sc platform env delete [-e <value>] [-n <value>]
|
|
239
|
+
|
|
240
|
+
FLAGS
|
|
241
|
+
-e, --env-id=<value> Id of the environment.
|
|
242
|
+
-n, --name=<value> Name of the environment.
|
|
243
|
+
|
|
244
|
+
DESCRIPTION
|
|
245
|
+
Delete an environment using either its name or unique identifier. The default environment cannot be deleted.
|
|
246
|
+
|
|
247
|
+
Token Permissions: [ environments:edit ]
|
|
248
|
+
|
|
249
|
+
EXAMPLES
|
|
250
|
+
$ sc platform env delete --name=MyEnvName
|
|
251
|
+
|
|
252
|
+
$ sc platform env delete --env-id=MyEnvId
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
_See code: [src/commands/platform/env/delete.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/platform/env/delete.ts)_
|
|
256
|
+
|
|
257
|
+
## `sc platform env display`
|
|
258
|
+
|
|
259
|
+
Display information about an Environment.
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
USAGE
|
|
263
|
+
$ sc platform env display [-e <value>] [-n <value>]
|
|
264
|
+
|
|
265
|
+
FLAGS
|
|
266
|
+
-e, --env-id=<value> Id of the environment.
|
|
267
|
+
-n, --name=<value> Name of the environment.
|
|
268
|
+
|
|
269
|
+
DESCRIPTION
|
|
270
|
+
Display information about an Environment.
|
|
271
|
+
|
|
272
|
+
Use either the Environment's ID (--env-id) or name of the Environment (--name).
|
|
273
|
+
|
|
274
|
+
Required token permissions: [ environments:view ]
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
EXAMPLES
|
|
278
|
+
$ sc platform env display --name=MyEnvName
|
|
279
|
+
|
|
280
|
+
$ sc platform env display --env-id=MyEnvId
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
_See code: [src/commands/platform/env/display.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/platform/env/display.ts)_
|
|
284
|
+
|
|
285
|
+
## `sc platform env list`
|
|
286
|
+
|
|
287
|
+
Get a list of all Environments.
|
|
288
|
+
|
|
289
|
+
```
|
|
290
|
+
USAGE
|
|
291
|
+
$ sc platform env list [--json] [--log-level debug|warn|error|info|trace] [-n <value>] [--pageNumber <value>]
|
|
292
|
+
[--pageSize <value>] [--sort <value>]
|
|
293
|
+
|
|
294
|
+
FLAGS
|
|
295
|
+
-n, --name=<value> Name of the environment to match on.
|
|
296
|
+
--pageNumber=<value> The page number to get. Defaults to 10
|
|
297
|
+
--pageSize=<value> The number of environments to get per page. Defaults to 1
|
|
298
|
+
--sort=<value> The query (fieldName:<ASC/DESC>) used to sort the environment list in the response.
|
|
299
|
+
|
|
300
|
+
GLOBAL FLAGS
|
|
301
|
+
--json Format output as json.
|
|
302
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
303
|
+
<options: debug|warn|error|info|trace>
|
|
304
|
+
|
|
305
|
+
DESCRIPTION
|
|
306
|
+
Get a list of all Environments.
|
|
307
|
+
|
|
308
|
+
Required token permissions: [ environments:view ]
|
|
309
|
+
|
|
310
|
+
EXAMPLES
|
|
311
|
+
$ sc platform env list
|
|
312
|
+
|
|
313
|
+
$ sc platform env list --name=Default --pageNumber=1 --pageSize=10 --sort=name:ASC
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
_See code: [src/commands/platform/env/list.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/platform/env/list.ts)_
|
|
317
|
+
|
|
318
|
+
## `sc platform env update`
|
|
319
|
+
|
|
320
|
+
Modify an environment's attributes
|
|
321
|
+
|
|
322
|
+
```
|
|
323
|
+
USAGE
|
|
324
|
+
$ sc platform env update [-d <value>] [-e <value>] [--isDefault] [-n <value>] [--new-name <value>]
|
|
325
|
+
|
|
326
|
+
FLAGS
|
|
327
|
+
-d, --desc=<value> Description of the environment to update.
|
|
328
|
+
-e, --env-id=<value> Id of the environment.
|
|
329
|
+
-n, --name=<value> Current name of the environment.
|
|
330
|
+
--isDefault Indicates this is the organization's default environment. The default value is false.
|
|
331
|
+
--new-name=<value> New name of the environment.
|
|
332
|
+
|
|
333
|
+
DESCRIPTION
|
|
334
|
+
Modify an environment's attributes
|
|
335
|
+
|
|
336
|
+
Use either the Environment's ID (--env-id) or name of the Environment (--name).
|
|
337
|
+
|
|
338
|
+
Token Permissions: [ environments:edit ]
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
EXAMPLES
|
|
342
|
+
$ sc platform env update --name=MyEnvName --new-name=MyNewEnvName --desc="My description to update" --isDefault
|
|
343
|
+
|
|
344
|
+
$ sc platform env update --env-id=MyEnvId --new-name=MyNewEnvName --desc="My description to update" --isDefault
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
_See code: [src/commands/platform/env/update.ts](https://github.com/dishantlangayan/solace-cloud-cli/blob/v0.0.1/src/commands/platform/env/update.ts)_
|
|
348
|
+
|
|
349
|
+
## `sc plugins`
|
|
350
|
+
|
|
351
|
+
List installed plugins.
|
|
352
|
+
|
|
353
|
+
```
|
|
354
|
+
USAGE
|
|
355
|
+
$ sc plugins [--json] [--core]
|
|
356
|
+
|
|
357
|
+
FLAGS
|
|
358
|
+
--core Show core plugins.
|
|
359
|
+
|
|
360
|
+
GLOBAL FLAGS
|
|
361
|
+
--json Format output as json.
|
|
362
|
+
|
|
363
|
+
DESCRIPTION
|
|
364
|
+
List installed plugins.
|
|
365
|
+
|
|
366
|
+
EXAMPLES
|
|
367
|
+
$ sc plugins
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/index.ts)_
|
|
371
|
+
|
|
372
|
+
## `sc plugins add PLUGIN`
|
|
373
|
+
|
|
374
|
+
Installs a plugin into sc.
|
|
375
|
+
|
|
376
|
+
```
|
|
377
|
+
USAGE
|
|
378
|
+
$ sc plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
379
|
+
|
|
380
|
+
ARGUMENTS
|
|
381
|
+
PLUGIN... Plugin to install.
|
|
382
|
+
|
|
383
|
+
FLAGS
|
|
384
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
385
|
+
-h, --help Show CLI help.
|
|
386
|
+
-s, --silent Silences npm output.
|
|
387
|
+
-v, --verbose Show verbose npm output.
|
|
388
|
+
|
|
389
|
+
GLOBAL FLAGS
|
|
390
|
+
--json Format output as json.
|
|
391
|
+
|
|
392
|
+
DESCRIPTION
|
|
393
|
+
Installs a plugin into sc.
|
|
394
|
+
|
|
395
|
+
Uses npm to install plugins.
|
|
396
|
+
|
|
397
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
398
|
+
|
|
399
|
+
Use the SC_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
400
|
+
Use the SC_NPM_REGISTRY environment variable to set the npm registry.
|
|
401
|
+
|
|
402
|
+
ALIASES
|
|
403
|
+
$ sc plugins add
|
|
404
|
+
|
|
405
|
+
EXAMPLES
|
|
406
|
+
Install a plugin from npm registry.
|
|
407
|
+
|
|
408
|
+
$ sc plugins add myplugin
|
|
409
|
+
|
|
410
|
+
Install a plugin from a github url.
|
|
411
|
+
|
|
412
|
+
$ sc plugins add https://github.com/someuser/someplugin
|
|
413
|
+
|
|
414
|
+
Install a plugin from a github slug.
|
|
415
|
+
|
|
416
|
+
$ sc plugins add someuser/someplugin
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
## `sc plugins:inspect PLUGIN...`
|
|
420
|
+
|
|
421
|
+
Displays installation properties of a plugin.
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
USAGE
|
|
425
|
+
$ sc plugins inspect PLUGIN...
|
|
426
|
+
|
|
427
|
+
ARGUMENTS
|
|
428
|
+
PLUGIN... [default: .] Plugin to inspect.
|
|
429
|
+
|
|
430
|
+
FLAGS
|
|
431
|
+
-h, --help Show CLI help.
|
|
432
|
+
-v, --verbose
|
|
433
|
+
|
|
434
|
+
GLOBAL FLAGS
|
|
435
|
+
--json Format output as json.
|
|
436
|
+
|
|
437
|
+
DESCRIPTION
|
|
438
|
+
Displays installation properties of a plugin.
|
|
439
|
+
|
|
440
|
+
EXAMPLES
|
|
441
|
+
$ sc plugins inspect myplugin
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/inspect.ts)_
|
|
445
|
+
|
|
446
|
+
## `sc plugins install PLUGIN`
|
|
447
|
+
|
|
448
|
+
Installs a plugin into sc.
|
|
449
|
+
|
|
450
|
+
```
|
|
451
|
+
USAGE
|
|
452
|
+
$ sc plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
|
|
453
|
+
|
|
454
|
+
ARGUMENTS
|
|
455
|
+
PLUGIN... Plugin to install.
|
|
456
|
+
|
|
457
|
+
FLAGS
|
|
458
|
+
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
|
|
459
|
+
-h, --help Show CLI help.
|
|
460
|
+
-s, --silent Silences npm output.
|
|
461
|
+
-v, --verbose Show verbose npm output.
|
|
462
|
+
|
|
463
|
+
GLOBAL FLAGS
|
|
464
|
+
--json Format output as json.
|
|
465
|
+
|
|
466
|
+
DESCRIPTION
|
|
467
|
+
Installs a plugin into sc.
|
|
468
|
+
|
|
469
|
+
Uses npm to install plugins.
|
|
470
|
+
|
|
471
|
+
Installation of a user-installed plugin will override a core plugin.
|
|
472
|
+
|
|
473
|
+
Use the SC_NPM_LOG_LEVEL environment variable to set the npm loglevel.
|
|
474
|
+
Use the SC_NPM_REGISTRY environment variable to set the npm registry.
|
|
475
|
+
|
|
476
|
+
ALIASES
|
|
477
|
+
$ sc plugins add
|
|
478
|
+
|
|
479
|
+
EXAMPLES
|
|
480
|
+
Install a plugin from npm registry.
|
|
481
|
+
|
|
482
|
+
$ sc plugins install myplugin
|
|
483
|
+
|
|
484
|
+
Install a plugin from a github url.
|
|
485
|
+
|
|
486
|
+
$ sc plugins install https://github.com/someuser/someplugin
|
|
487
|
+
|
|
488
|
+
Install a plugin from a github slug.
|
|
489
|
+
|
|
490
|
+
$ sc plugins install someuser/someplugin
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/install.ts)_
|
|
494
|
+
|
|
495
|
+
## `sc plugins link PATH`
|
|
496
|
+
|
|
497
|
+
Links a plugin into the CLI for development.
|
|
498
|
+
|
|
499
|
+
```
|
|
500
|
+
USAGE
|
|
501
|
+
$ sc plugins link PATH [-h] [--install] [-v]
|
|
502
|
+
|
|
503
|
+
ARGUMENTS
|
|
504
|
+
PATH [default: .] path to plugin
|
|
505
|
+
|
|
506
|
+
FLAGS
|
|
507
|
+
-h, --help Show CLI help.
|
|
508
|
+
-v, --verbose
|
|
509
|
+
--[no-]install Install dependencies after linking the plugin.
|
|
510
|
+
|
|
511
|
+
DESCRIPTION
|
|
512
|
+
Links a plugin into the CLI for development.
|
|
513
|
+
|
|
514
|
+
Installation of a linked plugin will override a user-installed or core plugin.
|
|
515
|
+
|
|
516
|
+
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
517
|
+
command will override the user-installed or core plugin implementation. This is useful for development work.
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
EXAMPLES
|
|
521
|
+
$ sc plugins link myplugin
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/link.ts)_
|
|
525
|
+
|
|
526
|
+
## `sc plugins remove [PLUGIN]`
|
|
527
|
+
|
|
528
|
+
Removes a plugin from the CLI.
|
|
529
|
+
|
|
530
|
+
```
|
|
531
|
+
USAGE
|
|
532
|
+
$ sc plugins remove [PLUGIN...] [-h] [-v]
|
|
533
|
+
|
|
534
|
+
ARGUMENTS
|
|
535
|
+
PLUGIN... plugin to uninstall
|
|
536
|
+
|
|
537
|
+
FLAGS
|
|
538
|
+
-h, --help Show CLI help.
|
|
539
|
+
-v, --verbose
|
|
540
|
+
|
|
541
|
+
DESCRIPTION
|
|
542
|
+
Removes a plugin from the CLI.
|
|
543
|
+
|
|
544
|
+
ALIASES
|
|
545
|
+
$ sc plugins unlink
|
|
546
|
+
$ sc plugins remove
|
|
547
|
+
|
|
548
|
+
EXAMPLES
|
|
549
|
+
$ sc plugins remove myplugin
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
## `sc plugins reset`
|
|
553
|
+
|
|
554
|
+
Remove all user-installed and linked plugins.
|
|
555
|
+
|
|
556
|
+
```
|
|
557
|
+
USAGE
|
|
558
|
+
$ sc plugins reset [--hard] [--reinstall]
|
|
559
|
+
|
|
560
|
+
FLAGS
|
|
561
|
+
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
|
|
562
|
+
--reinstall Reinstall all plugins after uninstalling.
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/reset.ts)_
|
|
566
|
+
|
|
567
|
+
## `sc plugins uninstall [PLUGIN]`
|
|
568
|
+
|
|
569
|
+
Removes a plugin from the CLI.
|
|
570
|
+
|
|
571
|
+
```
|
|
572
|
+
USAGE
|
|
573
|
+
$ sc plugins uninstall [PLUGIN...] [-h] [-v]
|
|
574
|
+
|
|
575
|
+
ARGUMENTS
|
|
576
|
+
PLUGIN... plugin to uninstall
|
|
577
|
+
|
|
578
|
+
FLAGS
|
|
579
|
+
-h, --help Show CLI help.
|
|
580
|
+
-v, --verbose
|
|
581
|
+
|
|
582
|
+
DESCRIPTION
|
|
583
|
+
Removes a plugin from the CLI.
|
|
584
|
+
|
|
585
|
+
ALIASES
|
|
586
|
+
$ sc plugins unlink
|
|
587
|
+
$ sc plugins remove
|
|
588
|
+
|
|
589
|
+
EXAMPLES
|
|
590
|
+
$ sc plugins uninstall myplugin
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/uninstall.ts)_
|
|
594
|
+
|
|
595
|
+
## `sc plugins unlink [PLUGIN]`
|
|
596
|
+
|
|
597
|
+
Removes a plugin from the CLI.
|
|
598
|
+
|
|
599
|
+
```
|
|
600
|
+
USAGE
|
|
601
|
+
$ sc plugins unlink [PLUGIN...] [-h] [-v]
|
|
602
|
+
|
|
603
|
+
ARGUMENTS
|
|
604
|
+
PLUGIN... plugin to uninstall
|
|
605
|
+
|
|
606
|
+
FLAGS
|
|
607
|
+
-h, --help Show CLI help.
|
|
608
|
+
-v, --verbose
|
|
609
|
+
|
|
610
|
+
DESCRIPTION
|
|
611
|
+
Removes a plugin from the CLI.
|
|
612
|
+
|
|
613
|
+
ALIASES
|
|
614
|
+
$ sc plugins unlink
|
|
615
|
+
$ sc plugins remove
|
|
616
|
+
|
|
617
|
+
EXAMPLES
|
|
618
|
+
$ sc plugins unlink myplugin
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
## `sc plugins update`
|
|
622
|
+
|
|
623
|
+
Update installed plugins.
|
|
624
|
+
|
|
625
|
+
```
|
|
626
|
+
USAGE
|
|
627
|
+
$ sc plugins update [-h] [-v]
|
|
628
|
+
|
|
629
|
+
FLAGS
|
|
630
|
+
-h, --help Show CLI help.
|
|
631
|
+
-v, --verbose
|
|
632
|
+
|
|
633
|
+
DESCRIPTION
|
|
634
|
+
Update installed plugins.
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/update.ts)_
|
|
638
|
+
<!-- commandsstop -->
|
package/bin/dev.cmd
ADDED
package/bin/dev.js
ADDED
package/bin/run.cmd
ADDED
package/bin/run.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Command } from '@oclif/core';
|
|
2
|
+
export default class MissionctrlBrokerCreate extends Command {
|
|
3
|
+
static args: {};
|
|
4
|
+
static description: string;
|
|
5
|
+
static examples: string[];
|
|
6
|
+
static flags: {
|
|
7
|
+
'datacenter-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
8
|
+
'env-name': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
+
locked: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
10
|
+
'max-spool-usage': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
'msg-vpn-name': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
|
+
'service-class-id': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
version: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
15
|
+
};
|
|
16
|
+
run(): Promise<void>;
|
|
17
|
+
private print;
|
|
18
|
+
}
|