@salesforce/cli 2.148.0 → 2.148.2

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.
@@ -2415,6 +2415,12 @@
2415
2415
  "hasDynamicHelp": false,
2416
2416
  "multiple": true,
2417
2417
  "type": "option"
2418
+ },
2419
+ "skip-validation": {
2420
+ "name": "skip-validation",
2421
+ "summary": "Skip pre-promote validation. By default, promotion is validated before proceeding to prevent promoting work items without an associated PR. Use this flag to bypass validation.",
2422
+ "allowNo": false,
2423
+ "type": "boolean"
2418
2424
  }
2419
2425
  },
2420
2426
  "hasDynamicHelp": true,
@@ -2439,10 +2445,11 @@
2439
2445
  "args": {},
2440
2446
  "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.",
2441
2447
  "examples": [
2442
- "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",
2443
- "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",
2444
- "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",
2445
- "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\""
2448
+ "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",
2449
+ "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",
2450
+ "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",
2451
+ "Create a pipeline 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",
2452
+ "Create a pipeline with custom stage names instead of the default stages:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://github.com/myorg/myrepo --stage Dev --stage QA --stage Prod"
2446
2453
  ],
2447
2454
  "flags": {
2448
2455
  "json": {
@@ -2533,12 +2540,12 @@
2533
2540
  "multiple": false,
2534
2541
  "type": "option"
2535
2542
  },
2536
- "description": {
2537
- "char": "d",
2538
- "name": "description",
2539
- "summary": "Description of the pipeline.",
2543
+ "stage": {
2544
+ "char": "s",
2545
+ "name": "stage",
2546
+ "summary": "Name of a pipeline stage, in promotion order. Repeat the flag for each stage. Defaults to Integration, UAT, Staging, and Production.",
2540
2547
  "hasDynamicHelp": false,
2541
- "multiple": false,
2548
+ "multiple": true,
2542
2549
  "type": "option"
2543
2550
  }
2544
2551
  },
@@ -2690,10 +2697,10 @@
2690
2697
  "devops:pipeline:update": {
2691
2698
  "aliases": [],
2692
2699
  "args": {},
2693
- "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.",
2700
+ "description": "Activate, deactivate, or rename a DevOps Center pipeline. Use --activate to activate, --deactivate to deactivate, and --name to rename. You can combine --deactivate 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.",
2694
2701
  "examples": [
2695
- "Activate a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --active",
2696
- "Deactivate and rename in one step.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --no-active --name \"My Pipeline\""
2702
+ "Activate a pipeline:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --activate",
2703
+ "Deactivate and rename in one step.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --deactivate --name \"My Pipeline\""
2697
2704
  ],
2698
2705
  "flags": {
2699
2706
  "json": {
@@ -2736,11 +2743,24 @@
2736
2743
  "multiple": false,
2737
2744
  "type": "option"
2738
2745
  },
2739
- "active": {
2740
- "name": "active",
2746
+ "activate": {
2747
+ "exclusive": [
2748
+ "deactivate"
2749
+ ],
2750
+ "name": "activate",
2741
2751
  "required": false,
2742
- "summary": "Activate the pipeline. Use --no-active to deactivate.",
2743
- "allowNo": true,
2752
+ "summary": "Activate the pipeline. Can't be used with --deactivate.",
2753
+ "allowNo": false,
2754
+ "type": "boolean"
2755
+ },
2756
+ "deactivate": {
2757
+ "exclusive": [
2758
+ "activate"
2759
+ ],
2760
+ "name": "deactivate",
2761
+ "required": false,
2762
+ "summary": "Deactivate the pipeline. Can't be used with --activate.",
2763
+ "allowNo": false,
2744
2764
  "type": "boolean"
2745
2765
  },
2746
2766
  "name": {
@@ -3006,9 +3026,9 @@
3006
3026
  "args": {},
3007
3027
  "description": "Deploys work items that were merged into the pipeline branch outside of DevOps Center (externally merged) into the target stage org and updates DevOps Center records. Equivalent to the \"Complete Promotion\" action in the DevOps Center UI when a stage is out of sync.\n\nIf no undeployed work items are found for the stage, the command exits successfully with no action taken.",
3008
3028
  "examples": [
3009
- "Complete a promotion for an out-of-sync pipeline stage.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001",
3010
- "Complete a promotion for a specific work item (e.g. first stage of a pipeline).\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001",
3011
- "Complete a promotion with full deploy and a specific test level.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --deploy-all --test-level RunLocalTests"
3029
+ "Complete a promotion for an out-of-sync pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001",
3030
+ "Complete a promotion for a specific work item (e.g. first stage of a pipeline):\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001",
3031
+ "Complete a promotion with full deploy and a specific test level:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --deploy-all --test-level RunLocalTests"
3012
3032
  ],
3013
3033
  "flags": {
3014
3034
  "json": {
@@ -3111,6 +3131,84 @@
3111
3131
  "complete.js"
3112
3132
  ]
3113
3133
  },
3134
+ "devops:promotion:validate": {
3135
+ "aliases": [],
3136
+ "args": {},
3137
+ "description": "Validates whether the specified work items can be promoted to the target pipeline stage. Checks for VCS and object permission errors before a promotion is attempted.",
3138
+ "examples": [
3139
+ "Validate promotion of a work item to a target stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001",
3140
+ "Validate promotion of multiple work items:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --target-stage-id 1QV000000000001 --work-item-id 1fk000000000001 --work-item-id 1fk000000000002"
3141
+ ],
3142
+ "flags": {
3143
+ "json": {
3144
+ "description": "Format output as json.",
3145
+ "helpGroup": "GLOBAL",
3146
+ "name": "json",
3147
+ "allowNo": false,
3148
+ "type": "boolean"
3149
+ },
3150
+ "flags-dir": {
3151
+ "helpGroup": "GLOBAL",
3152
+ "name": "flags-dir",
3153
+ "summary": "Import flag values from a directory.",
3154
+ "hasDynamicHelp": false,
3155
+ "multiple": false,
3156
+ "type": "option"
3157
+ },
3158
+ "target-org": {
3159
+ "char": "o",
3160
+ "name": "target-org",
3161
+ "noCacheDefault": true,
3162
+ "required": true,
3163
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
3164
+ "hasDynamicHelp": true,
3165
+ "multiple": false,
3166
+ "type": "option"
3167
+ },
3168
+ "api-version": {
3169
+ "description": "Override the api version used for api requests made by this command",
3170
+ "name": "api-version",
3171
+ "hasDynamicHelp": false,
3172
+ "multiple": false,
3173
+ "type": "option"
3174
+ },
3175
+ "target-stage-id": {
3176
+ "char": "t",
3177
+ "name": "target-stage-id",
3178
+ "required": true,
3179
+ "summary": "ID of the target pipeline stage to validate promotion to.",
3180
+ "hasDynamicHelp": false,
3181
+ "multiple": false,
3182
+ "type": "option"
3183
+ },
3184
+ "work-item-id": {
3185
+ "char": "i",
3186
+ "name": "work-item-id",
3187
+ "required": true,
3188
+ "summary": "ID of a work item to validate for promotion. Specify multiple times for multiple work items.",
3189
+ "hasDynamicHelp": false,
3190
+ "multiple": true,
3191
+ "type": "option"
3192
+ }
3193
+ },
3194
+ "hasDynamicHelp": true,
3195
+ "hiddenAliases": [],
3196
+ "id": "devops:promotion:validate",
3197
+ "pluginAlias": "@salesforce/plugin-devops-center",
3198
+ "pluginName": "@salesforce/plugin-devops-center",
3199
+ "pluginType": "jit",
3200
+ "strict": true,
3201
+ "summary": "Validate work item promotion for a pipeline stage.",
3202
+ "enableJsonFlag": true,
3203
+ "isESM": true,
3204
+ "relativePath": [
3205
+ "lib",
3206
+ "commands",
3207
+ "devops",
3208
+ "promotion",
3209
+ "validate.js"
3210
+ ]
3211
+ },
3114
3212
  "devops:request:status": {
3115
3213
  "aliases": [],
3116
3214
  "args": {},
@@ -3990,12 +4088,12 @@
3990
4088
  "delete.js"
3991
4089
  ]
3992
4090
  },
3993
- "devops:stage:environment:add": {
4091
+ "devops:pipeline:stage:update": {
3994
4092
  "aliases": [],
3995
4093
  "args": {},
3996
- "description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
4094
+ "description": "Updates the name of a pipeline stage.",
3997
4095
  "examples": [
3998
- "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"
4096
+ "Rename a pipeline stage.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --stage-id 1QV000000000001 --name \"Integration\""
3999
4097
  ],
4000
4098
  "flags": {
4001
4099
  "json": {
@@ -4030,58 +4128,125 @@
4030
4128
  "multiple": false,
4031
4129
  "type": "option"
4032
4130
  },
4033
- "pipeline-id": {
4034
- "name": "pipeline-id",
4131
+ "stage-id": {
4132
+ "char": "s",
4133
+ "name": "stage-id",
4035
4134
  "required": true,
4036
- "summary": "ID of the pipeline that contains the stage.",
4135
+ "summary": "ID of the pipeline stage to update.",
4037
4136
  "hasDynamicHelp": false,
4038
4137
  "multiple": false,
4039
4138
  "type": "option"
4040
4139
  },
4041
- "stage-id": {
4042
- "name": "stage-id",
4140
+ "name": {
4141
+ "char": "n",
4142
+ "name": "name",
4043
4143
  "required": true,
4044
- "summary": "ID of the pipeline stage.",
4144
+ "summary": "New name for the pipeline stage.",
4045
4145
  "hasDynamicHelp": false,
4046
4146
  "multiple": false,
4047
4147
  "type": "option"
4148
+ }
4149
+ },
4150
+ "hasDynamicHelp": true,
4151
+ "hiddenAliases": [],
4152
+ "id": "devops:pipeline:stage:update",
4153
+ "pluginAlias": "@salesforce/plugin-devops-center",
4154
+ "pluginName": "@salesforce/plugin-devops-center",
4155
+ "pluginType": "jit",
4156
+ "strict": true,
4157
+ "summary": "Update a DevOps Center pipeline stage.",
4158
+ "enableJsonFlag": true,
4159
+ "isESM": true,
4160
+ "relativePath": [
4161
+ "lib",
4162
+ "commands",
4163
+ "devops",
4164
+ "pipeline",
4165
+ "stage",
4166
+ "update.js"
4167
+ ]
4168
+ },
4169
+ "devops:stage:branch:add": {
4170
+ "aliases": [],
4171
+ "args": {},
4172
+ "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.",
4173
+ "examples": [
4174
+ "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",
4175
+ "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"
4176
+ ],
4177
+ "flags": {
4178
+ "json": {
4179
+ "description": "Format output as json.",
4180
+ "helpGroup": "GLOBAL",
4181
+ "name": "json",
4182
+ "allowNo": false,
4183
+ "type": "boolean"
4048
4184
  },
4049
- "environment-name": {
4050
- "char": "e",
4051
- "name": "environment-name",
4185
+ "flags-dir": {
4186
+ "helpGroup": "GLOBAL",
4187
+ "name": "flags-dir",
4188
+ "summary": "Import flag values from a directory.",
4189
+ "hasDynamicHelp": false,
4190
+ "multiple": false,
4191
+ "type": "option"
4192
+ },
4193
+ "target-org": {
4194
+ "char": "o",
4195
+ "name": "target-org",
4196
+ "noCacheDefault": true,
4052
4197
  "required": true,
4053
- "summary": "Name of the environment.",
4198
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
4199
+ "hasDynamicHelp": true,
4200
+ "multiple": false,
4201
+ "type": "option"
4202
+ },
4203
+ "api-version": {
4204
+ "description": "Override the api version used for api requests made by this command",
4205
+ "name": "api-version",
4054
4206
  "hasDynamicHelp": false,
4055
4207
  "multiple": false,
4056
4208
  "type": "option"
4057
4209
  },
4058
- "org-type": {
4059
- "name": "org-type",
4210
+ "pipeline-id": {
4211
+ "name": "pipeline-id",
4060
4212
  "required": true,
4061
- "summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
4213
+ "summary": "ID of the pipeline that contains the stage.",
4062
4214
  "hasDynamicHelp": false,
4063
4215
  "multiple": false,
4064
- "options": [
4065
- "Production",
4066
- "Sandbox"
4067
- ],
4068
4216
  "type": "option"
4069
4217
  },
4070
- "no-browser": {
4071
- "name": "no-browser",
4072
- "summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
4218
+ "stage-id": {
4219
+ "name": "stage-id",
4220
+ "required": true,
4221
+ "summary": "ID of the pipeline stage to associate the branch with.",
4222
+ "hasDynamicHelp": false,
4223
+ "multiple": false,
4224
+ "type": "option"
4225
+ },
4226
+ "branch-name": {
4227
+ "char": "b",
4228
+ "name": "branch-name",
4229
+ "required": true,
4230
+ "summary": "Name of the repository branch to assign to the stage.",
4231
+ "hasDynamicHelp": false,
4232
+ "multiple": false,
4233
+ "type": "option"
4234
+ },
4235
+ "create-vcs-branch": {
4236
+ "name": "create-vcs-branch",
4237
+ "summary": "Create the branch in the remote repository if it doesn't already exist.",
4073
4238
  "allowNo": false,
4074
4239
  "type": "boolean"
4075
4240
  }
4076
4241
  },
4077
4242
  "hasDynamicHelp": true,
4078
4243
  "hiddenAliases": [],
4079
- "id": "devops:stage:environment:add",
4244
+ "id": "devops:stage:branch:add",
4080
4245
  "pluginAlias": "@salesforce/plugin-devops-center",
4081
4246
  "pluginName": "@salesforce/plugin-devops-center",
4082
4247
  "pluginType": "jit",
4083
4248
  "strict": true,
4084
- "summary": "Add a Salesforce environment to a pipeline stage.",
4249
+ "summary": "Add a source code repository branch to a pipeline stage.",
4085
4250
  "enableJsonFlag": true,
4086
4251
  "isESM": true,
4087
4252
  "relativePath": [
@@ -4089,16 +4254,16 @@
4089
4254
  "commands",
4090
4255
  "devops",
4091
4256
  "stage",
4092
- "environment",
4257
+ "branch",
4093
4258
  "add.js"
4094
4259
  ]
4095
4260
  },
4096
- "devops:stage:environment:delete": {
4261
+ "devops:stage:branch:delete": {
4097
4262
  "aliases": [],
4098
4263
  "args": {},
4099
- "description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
4264
+ "description": "Removes the branch linked to the specified pipeline stage. Because branches are configured from right to left (a stage can have a branch only after the stage to its right does), removing a branch also removes the branches from all upstream stages (to the left) in the pipeline, keeping it in a valid state. The branch records in the repository are not deleted; only their association with the stages is removed. The stage must belong to an inactive pipeline.",
4100
4265
  "examples": [
4101
- "Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
4266
+ "Delete the branch associated with a pipeline stage:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0Xo000000000001 --stage-id 0Xp000000000001"
4102
4267
  ],
4103
4268
  "flags": {
4104
4269
  "json": {
@@ -4136,16 +4301,15 @@
4136
4301
  "pipeline-id": {
4137
4302
  "name": "pipeline-id",
4138
4303
  "required": true,
4139
- "summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
4304
+ "summary": "ID of the pipeline that contains the stage. Used to verify the pipeline is inactive before deleting.",
4140
4305
  "hasDynamicHelp": false,
4141
4306
  "multiple": false,
4142
4307
  "type": "option"
4143
4308
  },
4144
- "environment-id": {
4145
- "char": "e",
4146
- "name": "environment-id",
4309
+ "stage-id": {
4310
+ "name": "stage-id",
4147
4311
  "required": true,
4148
- "summary": "ID of the environment to delete.",
4312
+ "summary": "ID of the pipeline stage whose branch you want to delete.",
4149
4313
  "hasDynamicHelp": false,
4150
4314
  "multiple": false,
4151
4315
  "type": "option"
@@ -4153,12 +4317,12 @@
4153
4317
  },
4154
4318
  "hasDynamicHelp": true,
4155
4319
  "hiddenAliases": [],
4156
- "id": "devops:stage:environment:delete",
4320
+ "id": "devops:stage:branch:delete",
4157
4321
  "pluginAlias": "@salesforce/plugin-devops-center",
4158
4322
  "pluginName": "@salesforce/plugin-devops-center",
4159
4323
  "pluginType": "jit",
4160
4324
  "strict": true,
4161
- "summary": "Delete an environment from a DevOps Center pipeline stage.",
4325
+ "summary": "Delete the source code repository branch associated with a pipeline stage.",
4162
4326
  "enableJsonFlag": true,
4163
4327
  "isESM": true,
4164
4328
  "relativePath": [
@@ -4166,17 +4330,16 @@
4166
4330
  "commands",
4167
4331
  "devops",
4168
4332
  "stage",
4169
- "environment",
4333
+ "branch",
4170
4334
  "delete.js"
4171
4335
  ]
4172
4336
  },
4173
- "devops:stage:branch:add": {
4337
+ "devops:stage:environment:add": {
4174
4338
  "aliases": [],
4175
4339
  "args": {},
4176
- "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.",
4340
+ "description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
4177
4341
  "examples": [
4178
- "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",
4179
- "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"
4342
+ "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"
4180
4343
  ],
4181
4344
  "flags": {
4182
4345
  "json": {
@@ -4222,35 +4385,47 @@
4222
4385
  "stage-id": {
4223
4386
  "name": "stage-id",
4224
4387
  "required": true,
4225
- "summary": "ID of the pipeline stage to associate the branch with.",
4388
+ "summary": "ID of the pipeline stage.",
4226
4389
  "hasDynamicHelp": false,
4227
4390
  "multiple": false,
4228
4391
  "type": "option"
4229
4392
  },
4230
- "branch-name": {
4231
- "char": "b",
4232
- "name": "branch-name",
4393
+ "environment-name": {
4394
+ "char": "e",
4395
+ "name": "environment-name",
4233
4396
  "required": true,
4234
- "summary": "Name of the repository branch to assign to the stage.",
4397
+ "summary": "Name of the environment.",
4235
4398
  "hasDynamicHelp": false,
4236
4399
  "multiple": false,
4237
4400
  "type": "option"
4238
4401
  },
4239
- "create-vcs-branch": {
4240
- "name": "create-vcs-branch",
4241
- "summary": "Create the branch in the remote repository if it doesn't already exist.",
4402
+ "org-type": {
4403
+ "name": "org-type",
4404
+ "required": true,
4405
+ "summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
4406
+ "hasDynamicHelp": false,
4407
+ "multiple": false,
4408
+ "options": [
4409
+ "Production",
4410
+ "Sandbox"
4411
+ ],
4412
+ "type": "option"
4413
+ },
4414
+ "no-browser": {
4415
+ "name": "no-browser",
4416
+ "summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
4242
4417
  "allowNo": false,
4243
4418
  "type": "boolean"
4244
4419
  }
4245
4420
  },
4246
4421
  "hasDynamicHelp": true,
4247
4422
  "hiddenAliases": [],
4248
- "id": "devops:stage:branch:add",
4423
+ "id": "devops:stage:environment:add",
4249
4424
  "pluginAlias": "@salesforce/plugin-devops-center",
4250
4425
  "pluginName": "@salesforce/plugin-devops-center",
4251
4426
  "pluginType": "jit",
4252
4427
  "strict": true,
4253
- "summary": "Add a source code repository branch to a pipeline stage.",
4428
+ "summary": "Add a Salesforce environment to a pipeline stage.",
4254
4429
  "enableJsonFlag": true,
4255
4430
  "isESM": true,
4256
4431
  "relativePath": [
@@ -4258,10 +4433,87 @@
4258
4433
  "commands",
4259
4434
  "devops",
4260
4435
  "stage",
4261
- "branch",
4436
+ "environment",
4262
4437
  "add.js"
4263
4438
  ]
4264
4439
  },
4440
+ "devops:stage:environment:delete": {
4441
+ "aliases": [],
4442
+ "args": {},
4443
+ "description": "Removes the specified environment from the pipeline stage. The environment must belong to an inactive pipeline.",
4444
+ "examples": [
4445
+ "Delete an environment:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --environment-id 0Xe000000000001"
4446
+ ],
4447
+ "flags": {
4448
+ "json": {
4449
+ "description": "Format output as json.",
4450
+ "helpGroup": "GLOBAL",
4451
+ "name": "json",
4452
+ "allowNo": false,
4453
+ "type": "boolean"
4454
+ },
4455
+ "flags-dir": {
4456
+ "helpGroup": "GLOBAL",
4457
+ "name": "flags-dir",
4458
+ "summary": "Import flag values from a directory.",
4459
+ "hasDynamicHelp": false,
4460
+ "multiple": false,
4461
+ "type": "option"
4462
+ },
4463
+ "target-org": {
4464
+ "char": "o",
4465
+ "name": "target-org",
4466
+ "noCacheDefault": true,
4467
+ "required": true,
4468
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
4469
+ "hasDynamicHelp": true,
4470
+ "multiple": false,
4471
+ "type": "option"
4472
+ },
4473
+ "api-version": {
4474
+ "description": "Override the api version used for api requests made by this command",
4475
+ "name": "api-version",
4476
+ "hasDynamicHelp": false,
4477
+ "multiple": false,
4478
+ "type": "option"
4479
+ },
4480
+ "pipeline-id": {
4481
+ "name": "pipeline-id",
4482
+ "required": true,
4483
+ "summary": "ID of the pipeline. Used to verify the pipeline is inactive before deleting.",
4484
+ "hasDynamicHelp": false,
4485
+ "multiple": false,
4486
+ "type": "option"
4487
+ },
4488
+ "environment-id": {
4489
+ "char": "e",
4490
+ "name": "environment-id",
4491
+ "required": true,
4492
+ "summary": "ID of the environment to delete.",
4493
+ "hasDynamicHelp": false,
4494
+ "multiple": false,
4495
+ "type": "option"
4496
+ }
4497
+ },
4498
+ "hasDynamicHelp": true,
4499
+ "hiddenAliases": [],
4500
+ "id": "devops:stage:environment:delete",
4501
+ "pluginAlias": "@salesforce/plugin-devops-center",
4502
+ "pluginName": "@salesforce/plugin-devops-center",
4503
+ "pluginType": "jit",
4504
+ "strict": true,
4505
+ "summary": "Delete an environment from a DevOps Center pipeline stage.",
4506
+ "enableJsonFlag": true,
4507
+ "isESM": true,
4508
+ "relativePath": [
4509
+ "lib",
4510
+ "commands",
4511
+ "devops",
4512
+ "stage",
4513
+ "environment",
4514
+ "delete.js"
4515
+ ]
4516
+ },
4265
4517
  "project:deploy:pipeline:quick": {
4266
4518
  "aliases": [],
4267
4519
  "args": {},
@@ -6746,5 +6998,5 @@
6746
6998
  "requiresProject": true
6747
6999
  }
6748
7000
  },
6749
- "version": "2.148.0"
7001
+ "version": "2.148.2"
6750
7002
  }