@salesforce/plugin-devops-center 1.4.1 → 2.0.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 +28 -28
- package/npm-shrinkwrap.json +263 -108
- package/oclif.lock +80 -23
- package/oclif.manifest.json +220 -220
- package/package.json +7 -7
package/oclif.manifest.json
CHANGED
|
@@ -126,13 +126,15 @@
|
|
|
126
126
|
"promote.js"
|
|
127
127
|
]
|
|
128
128
|
},
|
|
129
|
-
"devops:
|
|
129
|
+
"devops:pipeline:create": {
|
|
130
130
|
"aliases": [],
|
|
131
131
|
"args": {},
|
|
132
|
-
"description": "
|
|
132
|
+
"description": "Provide the URL of an existing repository, or use `--create-repo` with a repository name to create one. After you create the pipeline, add stages, and activate the pipeline.",
|
|
133
133
|
"examples": [
|
|
134
|
-
"Create a
|
|
135
|
-
"Create a
|
|
134
|
+
"Create a pipeline and associate it with an existing GitHub repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo",
|
|
135
|
+
"Create a pipeline and associate it with a new GitHub repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type github --repo-owner myorg --create-repo",
|
|
136
|
+
"Create a pipeline and create a new Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo",
|
|
137
|
+
"Create a pipeline with a description and associate it with an existing Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myworkspace/myrepo --description \"Main CI/CD pipeline for production releases\""
|
|
136
138
|
],
|
|
137
139
|
"flags": {
|
|
138
140
|
"json": {
|
|
@@ -171,7 +173,54 @@
|
|
|
171
173
|
"char": "n",
|
|
172
174
|
"name": "name",
|
|
173
175
|
"required": true,
|
|
174
|
-
"summary": "Name of the
|
|
176
|
+
"summary": "Name of the pipeline.",
|
|
177
|
+
"hasDynamicHelp": false,
|
|
178
|
+
"multiple": false,
|
|
179
|
+
"type": "option"
|
|
180
|
+
},
|
|
181
|
+
"repo": {
|
|
182
|
+
"char": "r",
|
|
183
|
+
"name": "repo",
|
|
184
|
+
"required": true,
|
|
185
|
+
"summary": "URL of an existing repository or the name of a repository to create.",
|
|
186
|
+
"hasDynamicHelp": false,
|
|
187
|
+
"multiple": false,
|
|
188
|
+
"type": "option"
|
|
189
|
+
},
|
|
190
|
+
"repo-type": {
|
|
191
|
+
"name": "repo-type",
|
|
192
|
+
"summary": "Type of the source code repository. Required when creating a repository using '--create-repo'.",
|
|
193
|
+
"hasDynamicHelp": false,
|
|
194
|
+
"multiple": false,
|
|
195
|
+
"options": [
|
|
196
|
+
"github",
|
|
197
|
+
"bitbucket"
|
|
198
|
+
],
|
|
199
|
+
"type": "option"
|
|
200
|
+
},
|
|
201
|
+
"create-repo": {
|
|
202
|
+
"name": "create-repo",
|
|
203
|
+
"summary": "Create a repository if it doesn't exist.",
|
|
204
|
+
"allowNo": false,
|
|
205
|
+
"type": "boolean"
|
|
206
|
+
},
|
|
207
|
+
"repo-owner": {
|
|
208
|
+
"name": "repo-owner",
|
|
209
|
+
"summary": "Owner (organization or user) of the GitHub repository. Required when creating a GitHub repository using '--create-repo'.",
|
|
210
|
+
"hasDynamicHelp": false,
|
|
211
|
+
"multiple": false,
|
|
212
|
+
"type": "option"
|
|
213
|
+
},
|
|
214
|
+
"bitbucket-workspace": {
|
|
215
|
+
"name": "bitbucket-workspace",
|
|
216
|
+
"summary": "Bitbucket workspace that will own the repository. Required when creating a Bitbucket repository using '--create-repo'.",
|
|
217
|
+
"hasDynamicHelp": false,
|
|
218
|
+
"multiple": false,
|
|
219
|
+
"type": "option"
|
|
220
|
+
},
|
|
221
|
+
"bitbucket-project-key": {
|
|
222
|
+
"name": "bitbucket-project-key",
|
|
223
|
+
"summary": "Bitbucket project key to associate with the repository. Optional when creating a Bitbucket repository using '--create-repo'.",
|
|
175
224
|
"hasDynamicHelp": false,
|
|
176
225
|
"multiple": false,
|
|
177
226
|
"type": "option"
|
|
@@ -179,7 +228,7 @@
|
|
|
179
228
|
"description": {
|
|
180
229
|
"char": "d",
|
|
181
230
|
"name": "description",
|
|
182
|
-
"summary": "Description of the
|
|
231
|
+
"summary": "Description of the pipeline.",
|
|
183
232
|
"hasDynamicHelp": false,
|
|
184
233
|
"multiple": false,
|
|
185
234
|
"type": "option"
|
|
@@ -187,29 +236,28 @@
|
|
|
187
236
|
},
|
|
188
237
|
"hasDynamicHelp": true,
|
|
189
238
|
"hiddenAliases": [],
|
|
190
|
-
"id": "devops:
|
|
239
|
+
"id": "devops:pipeline:create",
|
|
191
240
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
192
241
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
193
242
|
"pluginType": "core",
|
|
194
243
|
"strict": true,
|
|
195
|
-
"summary": "Create a DevOps Center
|
|
244
|
+
"summary": "Create a DevOps Center pipeline.",
|
|
196
245
|
"enableJsonFlag": true,
|
|
197
246
|
"isESM": true,
|
|
198
247
|
"relativePath": [
|
|
199
248
|
"lib",
|
|
200
249
|
"commands",
|
|
201
250
|
"devops",
|
|
202
|
-
"
|
|
251
|
+
"pipeline",
|
|
203
252
|
"create.js"
|
|
204
253
|
]
|
|
205
254
|
},
|
|
206
|
-
"devops:
|
|
255
|
+
"devops:pipeline:get": {
|
|
207
256
|
"aliases": [],
|
|
208
257
|
"args": {},
|
|
209
|
-
"description": "
|
|
258
|
+
"description": "Returns full details for a single DevOps Center pipeline: its stages in order, the source code repository and branch associated with each stage, and any connected projects.",
|
|
210
259
|
"examples": [
|
|
211
|
-
"
|
|
212
|
-
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
260
|
+
"Get details for a specific pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Do000000000001"
|
|
213
261
|
],
|
|
214
262
|
"flags": {
|
|
215
263
|
"json": {
|
|
@@ -243,35 +291,41 @@
|
|
|
243
291
|
"hasDynamicHelp": false,
|
|
244
292
|
"multiple": false,
|
|
245
293
|
"type": "option"
|
|
294
|
+
},
|
|
295
|
+
"pipeline-id": {
|
|
296
|
+
"char": "i",
|
|
297
|
+
"name": "pipeline-id",
|
|
298
|
+
"required": true,
|
|
299
|
+
"summary": "ID of the DevOps Center pipeline.",
|
|
300
|
+
"hasDynamicHelp": false,
|
|
301
|
+
"multiple": false,
|
|
302
|
+
"type": "option"
|
|
246
303
|
}
|
|
247
304
|
},
|
|
248
305
|
"hasDynamicHelp": true,
|
|
249
306
|
"hiddenAliases": [],
|
|
250
|
-
"id": "devops:
|
|
307
|
+
"id": "devops:pipeline:get",
|
|
251
308
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
252
309
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
253
310
|
"pluginType": "core",
|
|
254
311
|
"strict": true,
|
|
255
|
-
"summary": "
|
|
312
|
+
"summary": "Get details of a DevOps Center pipeline including its stages, repositories, and connected projects.",
|
|
256
313
|
"enableJsonFlag": true,
|
|
257
314
|
"isESM": true,
|
|
258
315
|
"relativePath": [
|
|
259
316
|
"lib",
|
|
260
317
|
"commands",
|
|
261
318
|
"devops",
|
|
262
|
-
"
|
|
263
|
-
"
|
|
319
|
+
"pipeline",
|
|
320
|
+
"get.js"
|
|
264
321
|
]
|
|
265
322
|
},
|
|
266
|
-
"devops:
|
|
323
|
+
"devops:pipeline:list": {
|
|
267
324
|
"aliases": [],
|
|
268
325
|
"args": {},
|
|
269
|
-
"description": "
|
|
326
|
+
"description": "Returns all DevOps Center pipelines in the org, including each pipeline's stages (in order), source code repository information per stage, and any connected projects.",
|
|
270
327
|
"examples": [
|
|
271
|
-
"
|
|
272
|
-
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
273
|
-
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
274
|
-
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
328
|
+
"List all pipelines in the org:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org"
|
|
275
329
|
],
|
|
276
330
|
"flags": {
|
|
277
331
|
"json": {
|
|
@@ -305,66 +359,33 @@
|
|
|
305
359
|
"hasDynamicHelp": false,
|
|
306
360
|
"multiple": false,
|
|
307
361
|
"type": "option"
|
|
308
|
-
},
|
|
309
|
-
"project-id": {
|
|
310
|
-
"char": "i",
|
|
311
|
-
"name": "project-id",
|
|
312
|
-
"required": true,
|
|
313
|
-
"summary": "ID of the DevOps Center project to update.",
|
|
314
|
-
"hasDynamicHelp": false,
|
|
315
|
-
"multiple": false,
|
|
316
|
-
"type": "option"
|
|
317
|
-
},
|
|
318
|
-
"name": {
|
|
319
|
-
"char": "n",
|
|
320
|
-
"name": "name",
|
|
321
|
-
"summary": "New name for the project.",
|
|
322
|
-
"hasDynamicHelp": false,
|
|
323
|
-
"multiple": false,
|
|
324
|
-
"type": "option"
|
|
325
|
-
},
|
|
326
|
-
"description": {
|
|
327
|
-
"char": "d",
|
|
328
|
-
"name": "description",
|
|
329
|
-
"summary": "New description for the project.",
|
|
330
|
-
"hasDynamicHelp": false,
|
|
331
|
-
"multiple": false,
|
|
332
|
-
"type": "option"
|
|
333
|
-
},
|
|
334
|
-
"is-active": {
|
|
335
|
-
"name": "is-active",
|
|
336
|
-
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
337
|
-
"allowNo": true,
|
|
338
|
-
"type": "boolean"
|
|
339
362
|
}
|
|
340
363
|
},
|
|
341
364
|
"hasDynamicHelp": true,
|
|
342
365
|
"hiddenAliases": [],
|
|
343
|
-
"id": "devops:
|
|
366
|
+
"id": "devops:pipeline:list",
|
|
344
367
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
345
368
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
346
369
|
"pluginType": "core",
|
|
347
370
|
"strict": true,
|
|
348
|
-
"summary": "
|
|
371
|
+
"summary": "List DevOps Center pipelines with their stages, repositories, and connected projects.",
|
|
349
372
|
"enableJsonFlag": true,
|
|
350
373
|
"isESM": true,
|
|
351
374
|
"relativePath": [
|
|
352
375
|
"lib",
|
|
353
376
|
"commands",
|
|
354
377
|
"devops",
|
|
355
|
-
"
|
|
356
|
-
"
|
|
378
|
+
"pipeline",
|
|
379
|
+
"list.js"
|
|
357
380
|
]
|
|
358
381
|
},
|
|
359
|
-
"devops:pipeline:
|
|
382
|
+
"devops:pipeline:update": {
|
|
360
383
|
"aliases": [],
|
|
361
384
|
"args": {},
|
|
362
|
-
"description": "
|
|
385
|
+
"description": "Activate, deactivate, or rename a DevOps Center pipeline. Use --active to activate, --no-active to deactivate, and --name to rename. You can combine --no-active and --name in one command.\n\nA pipeline must have at least one stage before you can activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
|
|
363
386
|
"examples": [
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"Create a pipeline and create a new Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo my-new-repo --repo-type bitbucket --bitbucket-workspace myworkspace --bitbucket-project-key PROJ --create-repo",
|
|
367
|
-
"Create a pipeline with a description and associate it with an existing Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myworkspace/myrepo --description \"Main CI/CD pipeline for production releases\""
|
|
387
|
+
"Activate a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --active",
|
|
388
|
+
"Deactivate and rename in one step.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --no-active --name \"My Pipeline\""
|
|
368
389
|
],
|
|
369
390
|
"flags": {
|
|
370
391
|
"json": {
|
|
@@ -399,66 +420,26 @@
|
|
|
399
420
|
"multiple": false,
|
|
400
421
|
"type": "option"
|
|
401
422
|
},
|
|
402
|
-
"
|
|
403
|
-
"
|
|
404
|
-
"name": "name",
|
|
405
|
-
"required": true,
|
|
406
|
-
"summary": "Name of the pipeline.",
|
|
407
|
-
"hasDynamicHelp": false,
|
|
408
|
-
"multiple": false,
|
|
409
|
-
"type": "option"
|
|
410
|
-
},
|
|
411
|
-
"repo": {
|
|
412
|
-
"char": "r",
|
|
413
|
-
"name": "repo",
|
|
423
|
+
"pipeline-id": {
|
|
424
|
+
"name": "pipeline-id",
|
|
414
425
|
"required": true,
|
|
415
|
-
"summary": "
|
|
416
|
-
"hasDynamicHelp": false,
|
|
417
|
-
"multiple": false,
|
|
418
|
-
"type": "option"
|
|
419
|
-
},
|
|
420
|
-
"repo-type": {
|
|
421
|
-
"name": "repo-type",
|
|
422
|
-
"summary": "Type of the source code repository. Required when creating a repository using '--create-repo'.",
|
|
426
|
+
"summary": "ID of the pipeline.",
|
|
423
427
|
"hasDynamicHelp": false,
|
|
424
428
|
"multiple": false,
|
|
425
|
-
"options": [
|
|
426
|
-
"github",
|
|
427
|
-
"bitbucket"
|
|
428
|
-
],
|
|
429
429
|
"type": "option"
|
|
430
430
|
},
|
|
431
|
-
"
|
|
432
|
-
"name": "
|
|
433
|
-
"
|
|
434
|
-
"
|
|
431
|
+
"active": {
|
|
432
|
+
"name": "active",
|
|
433
|
+
"required": false,
|
|
434
|
+
"summary": "Activate the pipeline. Use --no-active to deactivate.",
|
|
435
|
+
"allowNo": true,
|
|
435
436
|
"type": "boolean"
|
|
436
437
|
},
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
"
|
|
440
|
-
"
|
|
441
|
-
"
|
|
442
|
-
"type": "option"
|
|
443
|
-
},
|
|
444
|
-
"bitbucket-workspace": {
|
|
445
|
-
"name": "bitbucket-workspace",
|
|
446
|
-
"summary": "Bitbucket workspace that will own the repository. Required when creating a Bitbucket repository using '--create-repo'.",
|
|
447
|
-
"hasDynamicHelp": false,
|
|
448
|
-
"multiple": false,
|
|
449
|
-
"type": "option"
|
|
450
|
-
},
|
|
451
|
-
"bitbucket-project-key": {
|
|
452
|
-
"name": "bitbucket-project-key",
|
|
453
|
-
"summary": "Bitbucket project key to associate with the repository. Optional when creating a Bitbucket repository using '--create-repo'.",
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"multiple": false,
|
|
456
|
-
"type": "option"
|
|
457
|
-
},
|
|
458
|
-
"description": {
|
|
459
|
-
"char": "d",
|
|
460
|
-
"name": "description",
|
|
461
|
-
"summary": "Description of the pipeline.",
|
|
438
|
+
"name": {
|
|
439
|
+
"char": "n",
|
|
440
|
+
"name": "name",
|
|
441
|
+
"required": false,
|
|
442
|
+
"summary": "New name for the pipeline.",
|
|
462
443
|
"hasDynamicHelp": false,
|
|
463
444
|
"multiple": false,
|
|
464
445
|
"type": "option"
|
|
@@ -466,12 +447,12 @@
|
|
|
466
447
|
},
|
|
467
448
|
"hasDynamicHelp": true,
|
|
468
449
|
"hiddenAliases": [],
|
|
469
|
-
"id": "devops:pipeline:
|
|
450
|
+
"id": "devops:pipeline:update",
|
|
470
451
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
471
452
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
472
453
|
"pluginType": "core",
|
|
473
454
|
"strict": true,
|
|
474
|
-
"summary": "
|
|
455
|
+
"summary": "Update a DevOps Center pipeline.",
|
|
475
456
|
"enableJsonFlag": true,
|
|
476
457
|
"isESM": true,
|
|
477
458
|
"relativePath": [
|
|
@@ -479,15 +460,16 @@
|
|
|
479
460
|
"commands",
|
|
480
461
|
"devops",
|
|
481
462
|
"pipeline",
|
|
482
|
-
"
|
|
463
|
+
"update.js"
|
|
483
464
|
]
|
|
484
465
|
},
|
|
485
|
-
"devops:
|
|
466
|
+
"devops:project:create": {
|
|
486
467
|
"aliases": [],
|
|
487
468
|
"args": {},
|
|
488
|
-
"description": "
|
|
469
|
+
"description": "Creates a new DevOps Center project with the specified name and optional description.",
|
|
489
470
|
"examples": [
|
|
490
|
-
"
|
|
471
|
+
"Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
|
|
472
|
+
"Create a project with a name and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Platform Update\" --description \"Platform services update\""
|
|
491
473
|
],
|
|
492
474
|
"flags": {
|
|
493
475
|
"json": {
|
|
@@ -522,11 +504,19 @@
|
|
|
522
504
|
"multiple": false,
|
|
523
505
|
"type": "option"
|
|
524
506
|
},
|
|
525
|
-
"
|
|
526
|
-
"char": "
|
|
527
|
-
"name": "
|
|
507
|
+
"name": {
|
|
508
|
+
"char": "n",
|
|
509
|
+
"name": "name",
|
|
528
510
|
"required": true,
|
|
529
|
-
"summary": "
|
|
511
|
+
"summary": "Name of the new DevOps Center project.",
|
|
512
|
+
"hasDynamicHelp": false,
|
|
513
|
+
"multiple": false,
|
|
514
|
+
"type": "option"
|
|
515
|
+
},
|
|
516
|
+
"description": {
|
|
517
|
+
"char": "d",
|
|
518
|
+
"name": "description",
|
|
519
|
+
"summary": "Description of the new project; if not specified, the description is blank.",
|
|
530
520
|
"hasDynamicHelp": false,
|
|
531
521
|
"multiple": false,
|
|
532
522
|
"type": "option"
|
|
@@ -534,28 +524,29 @@
|
|
|
534
524
|
},
|
|
535
525
|
"hasDynamicHelp": true,
|
|
536
526
|
"hiddenAliases": [],
|
|
537
|
-
"id": "devops:
|
|
527
|
+
"id": "devops:project:create",
|
|
538
528
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
539
529
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
540
530
|
"pluginType": "core",
|
|
541
531
|
"strict": true,
|
|
542
|
-
"summary": "
|
|
532
|
+
"summary": "Create a DevOps Center project in a DevOps Center org.",
|
|
543
533
|
"enableJsonFlag": true,
|
|
544
534
|
"isESM": true,
|
|
545
535
|
"relativePath": [
|
|
546
536
|
"lib",
|
|
547
537
|
"commands",
|
|
548
538
|
"devops",
|
|
549
|
-
"
|
|
550
|
-
"
|
|
539
|
+
"project",
|
|
540
|
+
"create.js"
|
|
551
541
|
]
|
|
552
542
|
},
|
|
553
|
-
"devops:
|
|
543
|
+
"devops:project:list": {
|
|
554
544
|
"aliases": [],
|
|
555
545
|
"args": {},
|
|
556
|
-
"description": "
|
|
546
|
+
"description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
|
|
557
547
|
"examples": [
|
|
558
|
-
"List all
|
|
548
|
+
"List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
|
|
549
|
+
"List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
|
|
559
550
|
],
|
|
560
551
|
"flags": {
|
|
561
552
|
"json": {
|
|
@@ -593,29 +584,31 @@
|
|
|
593
584
|
},
|
|
594
585
|
"hasDynamicHelp": true,
|
|
595
586
|
"hiddenAliases": [],
|
|
596
|
-
"id": "devops:
|
|
587
|
+
"id": "devops:project:list",
|
|
597
588
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
598
589
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
599
590
|
"pluginType": "core",
|
|
600
591
|
"strict": true,
|
|
601
|
-
"summary": "List DevOps Center
|
|
592
|
+
"summary": "List all DevOps Center projects in a Salesforce org.",
|
|
602
593
|
"enableJsonFlag": true,
|
|
603
594
|
"isESM": true,
|
|
604
595
|
"relativePath": [
|
|
605
596
|
"lib",
|
|
606
597
|
"commands",
|
|
607
598
|
"devops",
|
|
608
|
-
"
|
|
599
|
+
"project",
|
|
609
600
|
"list.js"
|
|
610
601
|
]
|
|
611
602
|
},
|
|
612
|
-
"devops:
|
|
603
|
+
"devops:project:update": {
|
|
613
604
|
"aliases": [],
|
|
614
605
|
"args": {},
|
|
615
|
-
"description": "
|
|
606
|
+
"description": "Update the name, description, or active status of a DevOps Center project. At least one of --name, --description, or --is-active must be provided.",
|
|
616
607
|
"examples": [
|
|
617
|
-
"
|
|
618
|
-
"
|
|
608
|
+
"Rename a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"MyApp Release v2\"",
|
|
609
|
+
"Update the description of a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --description \"Updated release description\"",
|
|
610
|
+
"Deactivate a project:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --no-is-active",
|
|
611
|
+
"Update all fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --name \"Archived App\" --description \"Archived\" --no-is-active"
|
|
619
612
|
],
|
|
620
613
|
"flags": {
|
|
621
614
|
"json": {
|
|
@@ -650,46 +643,53 @@
|
|
|
650
643
|
"multiple": false,
|
|
651
644
|
"type": "option"
|
|
652
645
|
},
|
|
653
|
-
"
|
|
654
|
-
"
|
|
646
|
+
"project-id": {
|
|
647
|
+
"char": "i",
|
|
648
|
+
"name": "project-id",
|
|
655
649
|
"required": true,
|
|
656
|
-
"summary": "ID of the
|
|
650
|
+
"summary": "ID of the DevOps Center project to update.",
|
|
657
651
|
"hasDynamicHelp": false,
|
|
658
652
|
"multiple": false,
|
|
659
653
|
"type": "option"
|
|
660
654
|
},
|
|
661
|
-
"active": {
|
|
662
|
-
"name": "active",
|
|
663
|
-
"required": false,
|
|
664
|
-
"summary": "Activate the pipeline. Use --no-active to deactivate.",
|
|
665
|
-
"allowNo": true,
|
|
666
|
-
"type": "boolean"
|
|
667
|
-
},
|
|
668
655
|
"name": {
|
|
669
656
|
"char": "n",
|
|
670
657
|
"name": "name",
|
|
671
|
-
"
|
|
672
|
-
"
|
|
658
|
+
"summary": "New name for the project.",
|
|
659
|
+
"hasDynamicHelp": false,
|
|
660
|
+
"multiple": false,
|
|
661
|
+
"type": "option"
|
|
662
|
+
},
|
|
663
|
+
"description": {
|
|
664
|
+
"char": "d",
|
|
665
|
+
"name": "description",
|
|
666
|
+
"summary": "New description for the project.",
|
|
673
667
|
"hasDynamicHelp": false,
|
|
674
668
|
"multiple": false,
|
|
675
669
|
"type": "option"
|
|
670
|
+
},
|
|
671
|
+
"is-active": {
|
|
672
|
+
"name": "is-active",
|
|
673
|
+
"summary": "Set the project active status. Use --is-active to activate or --no-is-active to deactivate.",
|
|
674
|
+
"allowNo": true,
|
|
675
|
+
"type": "boolean"
|
|
676
676
|
}
|
|
677
677
|
},
|
|
678
678
|
"hasDynamicHelp": true,
|
|
679
679
|
"hiddenAliases": [],
|
|
680
|
-
"id": "devops:
|
|
680
|
+
"id": "devops:project:update",
|
|
681
681
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
682
682
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
683
683
|
"pluginType": "core",
|
|
684
684
|
"strict": true,
|
|
685
|
-
"summary": "Update a DevOps Center
|
|
685
|
+
"summary": "Update a DevOps Center project.",
|
|
686
686
|
"enableJsonFlag": true,
|
|
687
687
|
"isESM": true,
|
|
688
688
|
"relativePath": [
|
|
689
689
|
"lib",
|
|
690
690
|
"commands",
|
|
691
691
|
"devops",
|
|
692
|
-
"
|
|
692
|
+
"project",
|
|
693
693
|
"update.js"
|
|
694
694
|
]
|
|
695
695
|
},
|
|
@@ -1682,13 +1682,12 @@
|
|
|
1682
1682
|
"delete.js"
|
|
1683
1683
|
]
|
|
1684
1684
|
},
|
|
1685
|
-
"devops:stage:
|
|
1685
|
+
"devops:stage:environment:add": {
|
|
1686
1686
|
"aliases": [],
|
|
1687
1687
|
"args": {},
|
|
1688
|
-
"description": "
|
|
1688
|
+
"description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
|
|
1689
1689
|
"examples": [
|
|
1690
|
-
"Add
|
|
1691
|
-
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
1690
|
+
"Add a production environment to a stage using its ID:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 0Xp000000000001 --environment-name Production_Org --org-type Production"
|
|
1692
1691
|
],
|
|
1693
1692
|
"flags": {
|
|
1694
1693
|
"json": {
|
|
@@ -1734,35 +1733,47 @@
|
|
|
1734
1733
|
"stage-id": {
|
|
1735
1734
|
"name": "stage-id",
|
|
1736
1735
|
"required": true,
|
|
1737
|
-
"summary": "ID of the pipeline stage
|
|
1736
|
+
"summary": "ID of the pipeline stage.",
|
|
1738
1737
|
"hasDynamicHelp": false,
|
|
1739
1738
|
"multiple": false,
|
|
1740
1739
|
"type": "option"
|
|
1741
1740
|
},
|
|
1742
|
-
"
|
|
1743
|
-
"char": "
|
|
1744
|
-
"name": "
|
|
1741
|
+
"environment-name": {
|
|
1742
|
+
"char": "e",
|
|
1743
|
+
"name": "environment-name",
|
|
1745
1744
|
"required": true,
|
|
1746
|
-
"summary": "Name of the
|
|
1745
|
+
"summary": "Name of the environment.",
|
|
1747
1746
|
"hasDynamicHelp": false,
|
|
1748
1747
|
"multiple": false,
|
|
1749
1748
|
"type": "option"
|
|
1750
1749
|
},
|
|
1751
|
-
"
|
|
1752
|
-
"name": "
|
|
1753
|
-
"
|
|
1750
|
+
"org-type": {
|
|
1751
|
+
"name": "org-type",
|
|
1752
|
+
"required": true,
|
|
1753
|
+
"summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
|
|
1754
|
+
"hasDynamicHelp": false,
|
|
1755
|
+
"multiple": false,
|
|
1756
|
+
"options": [
|
|
1757
|
+
"Production",
|
|
1758
|
+
"Sandbox"
|
|
1759
|
+
],
|
|
1760
|
+
"type": "option"
|
|
1761
|
+
},
|
|
1762
|
+
"no-browser": {
|
|
1763
|
+
"name": "no-browser",
|
|
1764
|
+
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
1754
1765
|
"allowNo": false,
|
|
1755
1766
|
"type": "boolean"
|
|
1756
1767
|
}
|
|
1757
1768
|
},
|
|
1758
1769
|
"hasDynamicHelp": true,
|
|
1759
1770
|
"hiddenAliases": [],
|
|
1760
|
-
"id": "devops:stage:
|
|
1771
|
+
"id": "devops:stage:environment:add",
|
|
1761
1772
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1762
1773
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1763
1774
|
"pluginType": "core",
|
|
1764
1775
|
"strict": true,
|
|
1765
|
-
"summary": "Add a
|
|
1776
|
+
"summary": "Add a Salesforce environment to a pipeline stage.",
|
|
1766
1777
|
"enableJsonFlag": true,
|
|
1767
1778
|
"isESM": true,
|
|
1768
1779
|
"relativePath": [
|
|
@@ -1770,16 +1781,16 @@
|
|
|
1770
1781
|
"commands",
|
|
1771
1782
|
"devops",
|
|
1772
1783
|
"stage",
|
|
1773
|
-
"
|
|
1784
|
+
"environment",
|
|
1774
1785
|
"add.js"
|
|
1775
1786
|
]
|
|
1776
1787
|
},
|
|
1777
|
-
"devops:stage:environment:
|
|
1788
|
+
"devops:stage:environment:delete": {
|
|
1778
1789
|
"aliases": [],
|
|
1779
1790
|
"args": {},
|
|
1780
|
-
"description": "
|
|
1791
|
+
"description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
|
|
1781
1792
|
"examples": [
|
|
1782
|
-
"
|
|
1793
|
+
"Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
|
|
1783
1794
|
],
|
|
1784
1795
|
"flags": {
|
|
1785
1796
|
"json": {
|
|
@@ -1817,55 +1828,29 @@
|
|
|
1817
1828
|
"pipeline-id": {
|
|
1818
1829
|
"name": "pipeline-id",
|
|
1819
1830
|
"required": true,
|
|
1820
|
-
"summary": "ID of the pipeline
|
|
1821
|
-
"hasDynamicHelp": false,
|
|
1822
|
-
"multiple": false,
|
|
1823
|
-
"type": "option"
|
|
1824
|
-
},
|
|
1825
|
-
"stage-id": {
|
|
1826
|
-
"name": "stage-id",
|
|
1827
|
-
"required": true,
|
|
1828
|
-
"summary": "ID of the pipeline stage.",
|
|
1831
|
+
"summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
|
|
1829
1832
|
"hasDynamicHelp": false,
|
|
1830
1833
|
"multiple": false,
|
|
1831
1834
|
"type": "option"
|
|
1832
1835
|
},
|
|
1833
|
-
"environment-
|
|
1836
|
+
"environment-id": {
|
|
1834
1837
|
"char": "e",
|
|
1835
|
-
"name": "environment-
|
|
1838
|
+
"name": "environment-id",
|
|
1836
1839
|
"required": true,
|
|
1837
|
-
"summary": "
|
|
1840
|
+
"summary": "ID of the environment to delete.",
|
|
1838
1841
|
"hasDynamicHelp": false,
|
|
1839
1842
|
"multiple": false,
|
|
1840
1843
|
"type": "option"
|
|
1841
|
-
},
|
|
1842
|
-
"org-type": {
|
|
1843
|
-
"name": "org-type",
|
|
1844
|
-
"required": true,
|
|
1845
|
-
"summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
|
|
1846
|
-
"hasDynamicHelp": false,
|
|
1847
|
-
"multiple": false,
|
|
1848
|
-
"options": [
|
|
1849
|
-
"Production",
|
|
1850
|
-
"Sandbox"
|
|
1851
|
-
],
|
|
1852
|
-
"type": "option"
|
|
1853
|
-
},
|
|
1854
|
-
"no-browser": {
|
|
1855
|
-
"name": "no-browser",
|
|
1856
|
-
"summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
|
|
1857
|
-
"allowNo": false,
|
|
1858
|
-
"type": "boolean"
|
|
1859
1844
|
}
|
|
1860
1845
|
},
|
|
1861
1846
|
"hasDynamicHelp": true,
|
|
1862
1847
|
"hiddenAliases": [],
|
|
1863
|
-
"id": "devops:stage:environment:
|
|
1848
|
+
"id": "devops:stage:environment:delete",
|
|
1864
1849
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1865
1850
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1866
1851
|
"pluginType": "core",
|
|
1867
1852
|
"strict": true,
|
|
1868
|
-
"summary": "
|
|
1853
|
+
"summary": "Delete an environment from a DevOps Center pipeline stage.",
|
|
1869
1854
|
"enableJsonFlag": true,
|
|
1870
1855
|
"isESM": true,
|
|
1871
1856
|
"relativePath": [
|
|
@@ -1874,15 +1859,16 @@
|
|
|
1874
1859
|
"devops",
|
|
1875
1860
|
"stage",
|
|
1876
1861
|
"environment",
|
|
1877
|
-
"
|
|
1862
|
+
"delete.js"
|
|
1878
1863
|
]
|
|
1879
1864
|
},
|
|
1880
|
-
"devops:stage:
|
|
1865
|
+
"devops:stage:branch:add": {
|
|
1881
1866
|
"aliases": [],
|
|
1882
1867
|
"args": {},
|
|
1883
|
-
"description": "
|
|
1868
|
+
"description": "By default, the branch must exist in the repository. Use --create-vcs-branch to create a branch if it doesn't exist.\nEach pipeline stage supports only one branch. Adding a branch replaces any existing branch linked to the pipeline stage.",
|
|
1884
1869
|
"examples": [
|
|
1885
|
-
"
|
|
1870
|
+
"Add an existing branch to a stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001 --branch-name main",
|
|
1871
|
+
"Create and add a branch to a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000002 --branch-name integration --create-vcs-branch"
|
|
1886
1872
|
],
|
|
1887
1873
|
"flags": {
|
|
1888
1874
|
"json": {
|
|
@@ -1920,29 +1906,43 @@
|
|
|
1920
1906
|
"pipeline-id": {
|
|
1921
1907
|
"name": "pipeline-id",
|
|
1922
1908
|
"required": true,
|
|
1923
|
-
"summary": "ID of the pipeline
|
|
1909
|
+
"summary": "ID of the pipeline that contains the stage.",
|
|
1924
1910
|
"hasDynamicHelp": false,
|
|
1925
1911
|
"multiple": false,
|
|
1926
1912
|
"type": "option"
|
|
1927
1913
|
},
|
|
1928
|
-
"
|
|
1929
|
-
"
|
|
1930
|
-
"name": "environment-id",
|
|
1914
|
+
"stage-id": {
|
|
1915
|
+
"name": "stage-id",
|
|
1931
1916
|
"required": true,
|
|
1932
|
-
"summary": "ID of the
|
|
1917
|
+
"summary": "ID of the pipeline stage to associate the branch with.",
|
|
1918
|
+
"hasDynamicHelp": false,
|
|
1919
|
+
"multiple": false,
|
|
1920
|
+
"type": "option"
|
|
1921
|
+
},
|
|
1922
|
+
"branch-name": {
|
|
1923
|
+
"char": "b",
|
|
1924
|
+
"name": "branch-name",
|
|
1925
|
+
"required": true,
|
|
1926
|
+
"summary": "Name of the repository branch to assign to the stage.",
|
|
1933
1927
|
"hasDynamicHelp": false,
|
|
1934
1928
|
"multiple": false,
|
|
1935
1929
|
"type": "option"
|
|
1930
|
+
},
|
|
1931
|
+
"create-vcs-branch": {
|
|
1932
|
+
"name": "create-vcs-branch",
|
|
1933
|
+
"summary": "Create the branch in the remote repository if it doesn't already exist.",
|
|
1934
|
+
"allowNo": false,
|
|
1935
|
+
"type": "boolean"
|
|
1936
1936
|
}
|
|
1937
1937
|
},
|
|
1938
1938
|
"hasDynamicHelp": true,
|
|
1939
1939
|
"hiddenAliases": [],
|
|
1940
|
-
"id": "devops:stage:
|
|
1940
|
+
"id": "devops:stage:branch:add",
|
|
1941
1941
|
"pluginAlias": "@salesforce/plugin-devops-center",
|
|
1942
1942
|
"pluginName": "@salesforce/plugin-devops-center",
|
|
1943
1943
|
"pluginType": "core",
|
|
1944
1944
|
"strict": true,
|
|
1945
|
-
"summary": "
|
|
1945
|
+
"summary": "Add a source code repository branch to a pipeline stage.",
|
|
1946
1946
|
"enableJsonFlag": true,
|
|
1947
1947
|
"isESM": true,
|
|
1948
1948
|
"relativePath": [
|
|
@@ -1950,8 +1950,8 @@
|
|
|
1950
1950
|
"commands",
|
|
1951
1951
|
"devops",
|
|
1952
1952
|
"stage",
|
|
1953
|
-
"
|
|
1954
|
-
"
|
|
1953
|
+
"branch",
|
|
1954
|
+
"add.js"
|
|
1955
1955
|
]
|
|
1956
1956
|
},
|
|
1957
1957
|
"project:deploy:pipeline:quick": {
|
|
@@ -2531,5 +2531,5 @@
|
|
|
2531
2531
|
]
|
|
2532
2532
|
}
|
|
2533
2533
|
},
|
|
2534
|
-
"version": "
|
|
2534
|
+
"version": "2.0.0"
|
|
2535
2535
|
}
|