@salesforce/cli 2.143.5 → 2.143.6

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 CHANGED
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
25
25
  $ sf COMMAND
26
26
  running command...
27
27
  $ sf (--version|-v)
28
- @salesforce/cli/2.143.5 linux-x64 node-v24.18.0
28
+ @salesforce/cli/2.143.6 linux-x64 node-v22.23.1
29
29
  $ sf --help [COMMAND]
30
30
  USAGE
31
31
  $ sf COMMAND
@@ -9398,7 +9398,7 @@ FLAG DESCRIPTIONS
9398
9398
  If you specify this flag, don’t specify --metadata or --source-dir.
9399
9399
  ```
9400
9400
 
9401
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/convert/mdapi.ts)_
9401
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/convert/mdapi.ts)_
9402
9402
 
9403
9403
  ## `sf project convert source`
9404
9404
 
@@ -9471,7 +9471,7 @@ FLAG DESCRIPTIONS
9471
9471
  Override the api version used for api requests made by this command
9472
9472
  ```
9473
9473
 
9474
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/convert/source.ts)_
9474
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/convert/source.ts)_
9475
9475
 
9476
9476
  ## `sf project convert source-behavior`
9477
9477
 
@@ -9530,7 +9530,7 @@ EXAMPLES
9530
9530
  $ sf project convert source-behavior --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir
9531
9531
  ```
9532
9532
 
9533
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/convert/source-behavior.ts)_
9533
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/convert/source-behavior.ts)_
9534
9534
 
9535
9535
  ## `sf project delete source`
9536
9536
 
@@ -9683,7 +9683,7 @@ FLAG DESCRIPTIONS
9683
9683
  - Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
9684
9684
  ```
9685
9685
 
9686
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/delete/source.ts)_
9686
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/delete/source.ts)_
9687
9687
 
9688
9688
  ## `sf project delete tracking`
9689
9689
 
@@ -9720,7 +9720,7 @@ EXAMPLES
9720
9720
  $ sf project delete tracking --target-org my-scratch
9721
9721
  ```
9722
9722
 
9723
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/delete/tracking.ts)_
9723
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/delete/tracking.ts)_
9724
9724
 
9725
9725
  ## `sf project deploy cancel`
9726
9726
 
@@ -9792,7 +9792,7 @@ FLAG DESCRIPTIONS
9792
9792
  project deploy report".
9793
9793
  ```
9794
9794
 
9795
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/cancel.ts)_
9795
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/cancel.ts)_
9796
9796
 
9797
9797
  ## `sf project deploy preview`
9798
9798
 
@@ -9875,7 +9875,7 @@ FLAG DESCRIPTIONS
9875
9875
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
9876
9876
  ```
9877
9877
 
9878
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/preview.ts)_
9878
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/preview.ts)_
9879
9879
 
9880
9880
  ## `sf project deploy quick`
9881
9881
 
@@ -9968,7 +9968,7 @@ ERROR CODES
9968
9968
  Canceling (69) The deploy is being canceled.
9969
9969
  ```
9970
9970
 
9971
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/quick.ts)_
9971
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/quick.ts)_
9972
9972
 
9973
9973
  ## `sf project deploy report`
9974
9974
 
@@ -10060,7 +10060,7 @@ FLAG DESCRIPTIONS
10060
10060
  --coverage-formatters lcov --coverage-formatters clover
10061
10061
  ```
10062
10062
 
10063
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/report.ts)_
10063
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/report.ts)_
10064
10064
 
10065
10065
  ## `sf project deploy resume`
10066
10066
 
@@ -10157,7 +10157,7 @@ ERROR CODES
10157
10157
  Canceling (69) The deploy is being canceled.
10158
10158
  ```
10159
10159
 
10160
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/resume.ts)_
10160
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/resume.ts)_
10161
10161
 
10162
10162
  ## `sf project deploy start`
10163
10163
 
@@ -10423,7 +10423,7 @@ ERROR CODES
10423
10423
  Canceling (69) The deploy is being canceled.
10424
10424
  ```
10425
10425
 
10426
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/start.ts)_
10426
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/start.ts)_
10427
10427
 
10428
10428
  ## `sf project deploy validate`
10429
10429
 
@@ -10627,7 +10627,7 @@ ERROR CODES
10627
10627
  Canceling (69) The deploy is being canceled.
10628
10628
  ```
10629
10629
 
10630
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/deploy/validate.ts)_
10630
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/deploy/validate.ts)_
10631
10631
 
10632
10632
  ## `sf project generate manifest`
10633
10633
 
@@ -10723,7 +10723,7 @@ EXAMPLES
10723
10723
  $ sf project generate manifest --from-org test@myorg.com --excluded-metadata StandardValueSet
10724
10724
  ```
10725
10725
 
10726
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/generate/manifest.ts)_
10726
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/generate/manifest.ts)_
10727
10727
 
10728
10728
  ## `sf project list ignored`
10729
10729
 
@@ -10765,7 +10765,7 @@ EXAMPLES
10765
10765
  $ sf project list ignored --source-dir package.xml
10766
10766
  ```
10767
10767
 
10768
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/list/ignored.ts)_
10768
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/list/ignored.ts)_
10769
10769
 
10770
10770
  ## `sf project reset tracking`
10771
10771
 
@@ -10814,7 +10814,7 @@ EXAMPLES
10814
10814
  $ sf project reset tracking --revision 30
10815
10815
  ```
10816
10816
 
10817
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/reset/tracking.ts)_
10817
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/reset/tracking.ts)_
10818
10818
 
10819
10819
  ## `sf project retrieve preview`
10820
10820
 
@@ -10868,7 +10868,7 @@ FLAG DESCRIPTIONS
10868
10868
  production orgs.
10869
10869
  ```
10870
10870
 
10871
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/retrieve/preview.ts)_
10871
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/retrieve/preview.ts)_
10872
10872
 
10873
10873
  ## `sf project retrieve start`
10874
10874
 
@@ -11049,7 +11049,7 @@ ENVIRONMENT VARIABLES
11049
11049
  SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
11050
11050
  ```
11051
11051
 
11052
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.56/src/commands/project/retrieve/start.ts)_
11052
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.24.58/src/commands/project/retrieve/start.ts)_
11053
11053
 
11054
11054
  ## `sf schema generate field`
11055
11055
 
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
- "version": "2.143.5",
3
+ "version": "2.143.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/cli",
9
- "version": "2.143.5",
9
+ "version": "2.143.6",
10
10
  "hasInstallScript": true,
11
11
  "license": "Apache-2.0",
12
12
  "dependencies": {
@@ -29,7 +29,7 @@
29
29
  "@salesforce/plugin-api": "1.3.46",
30
30
  "@salesforce/plugin-auth": "4.4.5",
31
31
  "@salesforce/plugin-data": "4.0.110",
32
- "@salesforce/plugin-deploy-retrieve": "3.24.56",
32
+ "@salesforce/plugin-deploy-retrieve": "3.24.58",
33
33
  "@salesforce/plugin-info": "3.4.147",
34
34
  "@salesforce/plugin-limits": "3.3.98",
35
35
  "@salesforce/plugin-marketplace": "1.3.38",
@@ -4704,9 +4704,9 @@
4704
4704
  }
4705
4705
  },
4706
4706
  "node_modules/@salesforce/plugin-deploy-retrieve": {
4707
- "version": "3.24.56",
4708
- "resolved": "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.24.56.tgz",
4709
- "integrity": "sha512-HNcmcWhZ6lqZZdH8WAJgtz6RznEHzWsm1z9sb7p6/W47fTtdtnr6YhQGkrPgap9idc58ug6897am/+B7ZdrTaQ==",
4707
+ "version": "3.24.58",
4708
+ "resolved": "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.24.58.tgz",
4709
+ "integrity": "sha512-4/r4b7+MOwLWAr5jNq3Dni+kgXs9tddQWkxr1c7xYSvQVzX5I72PuQ0y13SagykzbAvUiDvMifsgjEVQKcrz4Q==",
4710
4710
  "license": "Apache-2.0",
4711
4711
  "dependencies": {
4712
4712
  "@inquirer/prompts": "^7.8.3",
@@ -4716,9 +4716,9 @@
4716
4716
  "@salesforce/core": "^8.31.4",
4717
4717
  "@salesforce/kit": "^3.2.4",
4718
4718
  "@salesforce/plugin-info": "^3.4.136",
4719
- "@salesforce/sf-plugins-core": "^12.2.24",
4719
+ "@salesforce/sf-plugins-core": "^12.2.25",
4720
4720
  "@salesforce/source-deploy-retrieve": "^12.36.7",
4721
- "@salesforce/source-tracking": "^7.8.17",
4721
+ "@salesforce/source-tracking": "^7.8.19",
4722
4722
  "@salesforce/ts-types": "^2.0.12",
4723
4723
  "ansis": "^3.17.0",
4724
4724
  "terminal-link": "^3.0.0"
package/oclif.lock CHANGED
@@ -1991,10 +1991,10 @@
1991
1991
  undici "^7.28.0"
1992
1992
  zod "^4.4.3"
1993
1993
 
1994
- "@salesforce/plugin-deploy-retrieve@3.24.56":
1995
- version "3.24.56"
1996
- resolved "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.24.56.tgz"
1997
- integrity sha512-HNcmcWhZ6lqZZdH8WAJgtz6RznEHzWsm1z9sb7p6/W47fTtdtnr6YhQGkrPgap9idc58ug6897am/+B7ZdrTaQ==
1994
+ "@salesforce/plugin-deploy-retrieve@3.24.58":
1995
+ version "3.24.58"
1996
+ resolved "https://registry.npmjs.org/@salesforce/plugin-deploy-retrieve/-/plugin-deploy-retrieve-3.24.58.tgz"
1997
+ integrity sha512-4/r4b7+MOwLWAr5jNq3Dni+kgXs9tddQWkxr1c7xYSvQVzX5I72PuQ0y13SagykzbAvUiDvMifsgjEVQKcrz4Q==
1998
1998
  dependencies:
1999
1999
  "@inquirer/prompts" "^7.8.3"
2000
2000
  "@oclif/core" "^4.11.3"
@@ -2003,9 +2003,9 @@
2003
2003
  "@salesforce/core" "^8.31.4"
2004
2004
  "@salesforce/kit" "^3.2.4"
2005
2005
  "@salesforce/plugin-info" "^3.4.136"
2006
- "@salesforce/sf-plugins-core" "^12.2.24"
2006
+ "@salesforce/sf-plugins-core" "^12.2.25"
2007
2007
  "@salesforce/source-deploy-retrieve" "^12.36.7"
2008
- "@salesforce/source-tracking" "^7.8.17"
2008
+ "@salesforce/source-tracking" "^7.8.19"
2009
2009
  "@salesforce/ts-types" "^2.0.12"
2010
2010
  ansis "^3.17.0"
2011
2011
  terminal-link "^3.0.0"
@@ -2238,7 +2238,7 @@
2238
2238
  proxy-agent "^6.5.0"
2239
2239
  yaml "^2.9.0"
2240
2240
 
2241
- "@salesforce/source-tracking@^7.8.17":
2241
+ "@salesforce/source-tracking@^7.8.19":
2242
2242
  version "7.8.19"
2243
2243
  resolved "https://registry.npmjs.org/@salesforce/source-tracking/-/source-tracking-7.8.19.tgz"
2244
2244
  integrity sha512-Bn+gg1FQ0btg2EJ6yTg0iLw1Z7GLFPifRLm2IzjWqPWbGAJWhflqrWJ7JrYSW8ckTQ4YW1RczkuiJ8yhwVmjkQ==
@@ -2299,12 +2299,13 @@
2299
2299
  "plugin:generate:dev"
2300
2300
  ]
2301
2301
  },
2302
- "devops:pipeline:activate": {
2302
+ "devops:project:create": {
2303
2303
  "aliases": [],
2304
2304
  "args": {},
2305
- "description": "A pipeline must have at least one stage before you activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
2305
+ "description": "Creates a new DevOps Center project with the specified name and optional description.",
2306
2306
  "examples": [
2307
- "Activate a pipeline using the pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001"
2307
+ "Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
2308
+ "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\""
2308
2309
  ],
2309
2310
  "flags": {
2310
2311
  "json": {
@@ -2339,10 +2340,19 @@
2339
2340
  "multiple": false,
2340
2341
  "type": "option"
2341
2342
  },
2342
- "pipeline-id": {
2343
- "name": "pipeline-id",
2343
+ "name": {
2344
+ "char": "n",
2345
+ "name": "name",
2344
2346
  "required": true,
2345
- "summary": "ID of the pipeline.",
2347
+ "summary": "Name of the new DevOps Center project.",
2348
+ "hasDynamicHelp": false,
2349
+ "multiple": false,
2350
+ "type": "option"
2351
+ },
2352
+ "description": {
2353
+ "char": "d",
2354
+ "name": "description",
2355
+ "summary": "Description of the new project; if not specified, the description is blank.",
2346
2356
  "hasDynamicHelp": false,
2347
2357
  "multiple": false,
2348
2358
  "type": "option"
@@ -2350,28 +2360,29 @@
2350
2360
  },
2351
2361
  "hasDynamicHelp": true,
2352
2362
  "hiddenAliases": [],
2353
- "id": "devops:pipeline:activate",
2363
+ "id": "devops:project:create",
2354
2364
  "pluginAlias": "@salesforce/plugin-devops-center",
2355
2365
  "pluginName": "@salesforce/plugin-devops-center",
2356
2366
  "pluginType": "jit",
2357
2367
  "strict": true,
2358
- "summary": "Activate a DevOps Center pipeline for deployments.",
2368
+ "summary": "Create a DevOps Center project in a DevOps Center org.",
2359
2369
  "enableJsonFlag": true,
2360
2370
  "isESM": true,
2361
2371
  "relativePath": [
2362
2372
  "lib",
2363
2373
  "commands",
2364
2374
  "devops",
2365
- "pipeline",
2366
- "activate.js"
2375
+ "project",
2376
+ "create.js"
2367
2377
  ]
2368
2378
  },
2369
- "devops:pipeline:attach-project": {
2379
+ "devops:project:list": {
2370
2380
  "aliases": [],
2371
2381
  "args": {},
2372
- "description": "You can attach a project to only one pipeline.",
2382
+ "description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
2373
2383
  "examples": [
2374
- "Attach a project to a pipeline using the project ID and pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --project-id 0Hn000000000001"
2384
+ "List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
2385
+ "List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
2375
2386
  ],
2376
2387
  "flags": {
2377
2388
  "json": {
@@ -2405,19 +2416,70 @@
2405
2416
  "hasDynamicHelp": false,
2406
2417
  "multiple": false,
2407
2418
  "type": "option"
2419
+ }
2420
+ },
2421
+ "hasDynamicHelp": true,
2422
+ "hiddenAliases": [],
2423
+ "id": "devops:project:list",
2424
+ "pluginAlias": "@salesforce/plugin-devops-center",
2425
+ "pluginName": "@salesforce/plugin-devops-center",
2426
+ "pluginType": "jit",
2427
+ "strict": true,
2428
+ "summary": "List all DevOps Center projects in a Salesforce org.",
2429
+ "enableJsonFlag": true,
2430
+ "isESM": true,
2431
+ "relativePath": [
2432
+ "lib",
2433
+ "commands",
2434
+ "devops",
2435
+ "project",
2436
+ "list.js"
2437
+ ]
2438
+ },
2439
+ "devops:pipeline:activate": {
2440
+ "aliases": [],
2441
+ "args": {},
2442
+ "description": "A pipeline must have at least one stage before you activate it. You can't modify the pipeline stages after you activate and promote changes through it.",
2443
+ "examples": [
2444
+ "Activate a pipeline using the pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001"
2445
+ ],
2446
+ "flags": {
2447
+ "json": {
2448
+ "description": "Format output as json.",
2449
+ "helpGroup": "GLOBAL",
2450
+ "name": "json",
2451
+ "allowNo": false,
2452
+ "type": "boolean"
2453
+ },
2454
+ "flags-dir": {
2455
+ "helpGroup": "GLOBAL",
2456
+ "name": "flags-dir",
2457
+ "summary": "Import flag values from a directory.",
2458
+ "hasDynamicHelp": false,
2459
+ "multiple": false,
2460
+ "type": "option"
2408
2461
  },
2409
- "pipeline-id": {
2410
- "name": "pipeline-id",
2462
+ "target-org": {
2463
+ "char": "o",
2464
+ "name": "target-org",
2465
+ "noCacheDefault": true,
2411
2466
  "required": true,
2412
- "summary": "ID of the pipeline.",
2467
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2468
+ "hasDynamicHelp": true,
2469
+ "multiple": false,
2470
+ "type": "option"
2471
+ },
2472
+ "api-version": {
2473
+ "description": "Override the api version used for api requests made by this command",
2474
+ "name": "api-version",
2413
2475
  "hasDynamicHelp": false,
2414
2476
  "multiple": false,
2415
2477
  "type": "option"
2416
2478
  },
2417
- "project-id": {
2418
- "name": "project-id",
2479
+ "pipeline-id": {
2480
+ "name": "pipeline-id",
2419
2481
  "required": true,
2420
- "summary": "ID of the DevOps Center project.",
2482
+ "summary": "ID of the pipeline.",
2421
2483
  "hasDynamicHelp": false,
2422
2484
  "multiple": false,
2423
2485
  "type": "option"
@@ -2425,12 +2487,12 @@
2425
2487
  },
2426
2488
  "hasDynamicHelp": true,
2427
2489
  "hiddenAliases": [],
2428
- "id": "devops:pipeline:attach-project",
2490
+ "id": "devops:pipeline:activate",
2429
2491
  "pluginAlias": "@salesforce/plugin-devops-center",
2430
2492
  "pluginName": "@salesforce/plugin-devops-center",
2431
2493
  "pluginType": "jit",
2432
2494
  "strict": true,
2433
- "summary": "Attach a DevOps Center project to a pipeline.",
2495
+ "summary": "Activate a DevOps Center pipeline for deployments.",
2434
2496
  "enableJsonFlag": true,
2435
2497
  "isESM": true,
2436
2498
  "relativePath": [
@@ -2438,7 +2500,7 @@
2438
2500
  "commands",
2439
2501
  "devops",
2440
2502
  "pipeline",
2441
- "attach-project.js"
2503
+ "activate.js"
2442
2504
  ]
2443
2505
  },
2444
2506
  "devops:pipeline:create": {
@@ -2448,7 +2510,8 @@
2448
2510
  "examples": [
2449
2511
  "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",
2450
2512
  "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",
2451
- "Create a pipeline with a description and associate it with a Bitbucket repository.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"Release Pipeline\" --repo https://bitbucket.org/myorg/myrepo --description \"Main CI/CD pipeline for production releases\""
2513
+ "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",
2514
+ "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\""
2452
2515
  ],
2453
2516
  "flags": {
2454
2517
  "json": {
@@ -2520,14 +2583,21 @@
2520
2583
  },
2521
2584
  "repo-owner": {
2522
2585
  "name": "repo-owner",
2523
- "summary": "Owner (organization or user) of the repository. Required when creating a repository using '--create-repo'.",
2586
+ "summary": "Owner (organization or user) of the GitHub repository. Required when creating a GitHub repository using '--create-repo'.",
2587
+ "hasDynamicHelp": false,
2588
+ "multiple": false,
2589
+ "type": "option"
2590
+ },
2591
+ "bitbucket-workspace": {
2592
+ "name": "bitbucket-workspace",
2593
+ "summary": "Bitbucket workspace that will own the repository. Required when creating a Bitbucket repository using '--create-repo'.",
2524
2594
  "hasDynamicHelp": false,
2525
2595
  "multiple": false,
2526
2596
  "type": "option"
2527
2597
  },
2528
- "bitbucket-project": {
2529
- "name": "bitbucket-project",
2530
- "summary": "Bitbucket project key for the repository. Used when creating a Bitbucket repository with '--create-repo'.",
2598
+ "bitbucket-project-key": {
2599
+ "name": "bitbucket-project-key",
2600
+ "summary": "Bitbucket project key to associate with the repository. Optional when creating a Bitbucket repository using '--create-repo'.",
2531
2601
  "hasDynamicHelp": false,
2532
2602
  "multiple": false,
2533
2603
  "type": "option"
@@ -2559,13 +2629,13 @@
2559
2629
  "create.js"
2560
2630
  ]
2561
2631
  },
2562
- "devops:project:create": {
2632
+ "devops:pull-request:create": {
2563
2633
  "aliases": [],
2564
2634
  "args": {},
2565
- "description": "Creates a new DevOps Center project with the specified name and optional description.",
2635
+ "description": "Creates a pull request via the Salesforce DevOps Center API, using the VCS credentials stored in the org. Works with GitHub and Bitbucket without requiring local VCS authentication.",
2566
2636
  "examples": [
2567
- "Create a new DevOps Center project in the specified org.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --name \"MyApp Release\"",
2568
- "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\""
2637
+ "Create a pull request for a work item.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001",
2638
+ "Create a pull request using the work item ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001"
2569
2639
  ],
2570
2640
  "flags": {
2571
2641
  "json": {
@@ -2600,19 +2670,18 @@
2600
2670
  "multiple": false,
2601
2671
  "type": "option"
2602
2672
  },
2603
- "name": {
2673
+ "work-item-name": {
2604
2674
  "char": "n",
2605
- "name": "name",
2606
- "required": true,
2607
- "summary": "Name of the new DevOps Center project.",
2675
+ "name": "work-item-name",
2676
+ "summary": "Name of the work item, such as WI-000001.",
2608
2677
  "hasDynamicHelp": false,
2609
2678
  "multiple": false,
2610
2679
  "type": "option"
2611
2680
  },
2612
- "description": {
2613
- "char": "d",
2614
- "name": "description",
2615
- "summary": "Description of the new project; if not specified, the description is blank.",
2681
+ "work-item-id": {
2682
+ "char": "w",
2683
+ "name": "work-item-id",
2684
+ "summary": "ID of the work item.",
2616
2685
  "hasDynamicHelp": false,
2617
2686
  "multiple": false,
2618
2687
  "type": "option"
@@ -2620,29 +2689,29 @@
2620
2689
  },
2621
2690
  "hasDynamicHelp": true,
2622
2691
  "hiddenAliases": [],
2623
- "id": "devops:project:create",
2692
+ "id": "devops:pull-request:create",
2624
2693
  "pluginAlias": "@salesforce/plugin-devops-center",
2625
2694
  "pluginName": "@salesforce/plugin-devops-center",
2626
2695
  "pluginType": "jit",
2627
2696
  "strict": true,
2628
- "summary": "Create a DevOps Center project in a DevOps Center org.",
2697
+ "summary": "Create a pull request for a work item branch.",
2629
2698
  "enableJsonFlag": true,
2630
2699
  "isESM": true,
2631
2700
  "relativePath": [
2632
2701
  "lib",
2633
2702
  "commands",
2634
2703
  "devops",
2635
- "project",
2704
+ "pull-request",
2636
2705
  "create.js"
2637
2706
  ]
2638
2707
  },
2639
- "devops:project:list": {
2708
+ "devops:work-item:create": {
2640
2709
  "aliases": [],
2641
2710
  "args": {},
2642
- "description": "This command queries the DevopsProject standard object and returns the project Id, Name, and Description for each project found.",
2711
+ "description": "The command creates the work item using the Connect API. Requires a project ID and a subject for the new work item; run the `devops project list` command to get the IDs for all existing projects.",
2643
2712
  "examples": [
2644
- "List all DevOps Center projects in an org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org",
2645
- "List projects using an org's username:\n<%= config.bin %> <%= command.id %> --target-org devops-center@example.com"
2713
+ "Create a work item for the project with the specified ID and give the work item the specified subject (title); use the DevOps Center org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Fix login bug\"",
2714
+ "Create a work item with a subject and description:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Add dark mode\" --description \"Implement dark mode toggle in settings page\""
2646
2715
  ],
2647
2716
  "flags": {
2648
2717
  "json": {
@@ -2676,93 +2745,29 @@
2676
2745
  "hasDynamicHelp": false,
2677
2746
  "multiple": false,
2678
2747
  "type": "option"
2679
- }
2680
- },
2681
- "hasDynamicHelp": true,
2682
- "hiddenAliases": [],
2683
- "id": "devops:project:list",
2684
- "pluginAlias": "@salesforce/plugin-devops-center",
2685
- "pluginName": "@salesforce/plugin-devops-center",
2686
- "pluginType": "jit",
2687
- "strict": true,
2688
- "summary": "List all DevOps Center projects in a Salesforce org.",
2689
- "enableJsonFlag": true,
2690
- "isESM": true,
2691
- "relativePath": [
2692
- "lib",
2693
- "commands",
2694
- "devops",
2695
- "project",
2696
- "list.js"
2697
- ]
2698
- },
2699
- "devops:pull-request:create": {
2700
- "aliases": [],
2701
- "args": {},
2702
- "description": "The pull request title defaults to the work item subject. The work item must have an associated branch and repository. Requires VCS authentication: set GITHUB_TOKEN (or use `gh auth login`) for GitHub, or set BITBUCKET_TOKEN for Bitbucket.",
2703
- "examples": [
2704
- "Create a pull request for a work item using the default title.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001",
2705
- "Create a pull request with a custom title and description.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --title \"Fix: Login timeout\" --body \"Resolves the 30s timeout on the login page\""
2706
- ],
2707
- "flags": {
2708
- "json": {
2709
- "description": "Format output as json.",
2710
- "helpGroup": "GLOBAL",
2711
- "name": "json",
2712
- "allowNo": false,
2713
- "type": "boolean"
2714
- },
2715
- "flags-dir": {
2716
- "helpGroup": "GLOBAL",
2717
- "name": "flags-dir",
2718
- "summary": "Import flag values from a directory.",
2719
- "hasDynamicHelp": false,
2720
- "multiple": false,
2721
- "type": "option"
2722
2748
  },
2723
- "target-org": {
2724
- "char": "o",
2725
- "name": "target-org",
2726
- "noCacheDefault": true,
2749
+ "project-id": {
2750
+ "char": "p",
2751
+ "name": "project-id",
2727
2752
  "required": true,
2728
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
2729
- "hasDynamicHelp": true,
2730
- "multiple": false,
2731
- "type": "option"
2732
- },
2733
- "api-version": {
2734
- "description": "Override the api version used for api requests made by this command",
2735
- "name": "api-version",
2736
- "hasDynamicHelp": false,
2737
- "multiple": false,
2738
- "type": "option"
2739
- },
2740
- "work-item-name": {
2741
- "char": "n",
2742
- "name": "work-item-name",
2743
- "summary": "Name of the work item, such as WI-000001.",
2744
- "hasDynamicHelp": false,
2745
- "multiple": false,
2746
- "type": "option"
2747
- },
2748
- "work-item-id": {
2749
- "char": "w",
2750
- "name": "work-item-id",
2751
- "summary": "ID of the work item.",
2753
+ "summary": "ID of the DevOps Center project to create the work item in.",
2752
2754
  "hasDynamicHelp": false,
2753
2755
  "multiple": false,
2754
2756
  "type": "option"
2755
2757
  },
2756
- "title": {
2757
- "name": "title",
2758
- "summary": "Title of the pull request.",
2758
+ "subject": {
2759
+ "char": "s",
2760
+ "name": "subject",
2761
+ "required": true,
2762
+ "summary": "Subject (title) of the new work item.",
2759
2763
  "hasDynamicHelp": false,
2760
2764
  "multiple": false,
2761
2765
  "type": "option"
2762
2766
  },
2763
- "body": {
2764
- "name": "body",
2765
- "summary": "Description of the pull request.",
2767
+ "description": {
2768
+ "char": "d",
2769
+ "name": "description",
2770
+ "summary": "Description of the new work item; if not specified, the description is blank.",
2766
2771
  "hasDynamicHelp": false,
2767
2772
  "multiple": false,
2768
2773
  "type": "option"
@@ -2770,29 +2775,29 @@
2770
2775
  },
2771
2776
  "hasDynamicHelp": true,
2772
2777
  "hiddenAliases": [],
2773
- "id": "devops:pull-request:create",
2778
+ "id": "devops:work-item:create",
2774
2779
  "pluginAlias": "@salesforce/plugin-devops-center",
2775
2780
  "pluginName": "@salesforce/plugin-devops-center",
2776
2781
  "pluginType": "jit",
2777
2782
  "strict": true,
2778
- "summary": "Create a pull request for a work item branch.",
2783
+ "summary": "Create a new work item in a DevOps Center project.",
2779
2784
  "enableJsonFlag": true,
2780
2785
  "isESM": true,
2781
2786
  "relativePath": [
2782
2787
  "lib",
2783
2788
  "commands",
2784
2789
  "devops",
2785
- "pull-request",
2790
+ "work-item",
2786
2791
  "create.js"
2787
2792
  ]
2788
2793
  },
2789
- "devops:stage:add-branch": {
2794
+ "devops:work-item:list": {
2790
2795
  "aliases": [],
2791
2796
  "args": {},
2792
- "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.",
2797
+ "description": "Each work item displays the branch, environment, and repository details needed for checkout and promotion. Requires a project ID; run the `devops project list` command to get the IDs for all existing projects.",
2793
2798
  "examples": [
2794
- "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",
2795
- "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"
2799
+ "List work items for a specific project in the DevOps org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001",
2800
+ "List work items using JSON output:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --json"
2796
2801
  ],
2797
2802
  "flags": {
2798
2803
  "json": {
@@ -2827,62 +2832,42 @@
2827
2832
  "multiple": false,
2828
2833
  "type": "option"
2829
2834
  },
2830
- "pipeline-id": {
2831
- "name": "pipeline-id",
2832
- "required": true,
2833
- "summary": "ID of the pipeline that contains the stage.",
2834
- "hasDynamicHelp": false,
2835
- "multiple": false,
2836
- "type": "option"
2837
- },
2838
- "stage-id": {
2839
- "name": "stage-id",
2840
- "required": true,
2841
- "summary": "ID of the pipeline stage to associate the branch with.",
2842
- "hasDynamicHelp": false,
2843
- "multiple": false,
2844
- "type": "option"
2845
- },
2846
- "branch-name": {
2847
- "char": "b",
2848
- "name": "branch-name",
2835
+ "project-id": {
2836
+ "char": "p",
2837
+ "name": "project-id",
2849
2838
  "required": true,
2850
- "summary": "Name of the repository branch to assign to the stage.",
2839
+ "summary": "ID of the DevOps Center project to list work items for.",
2851
2840
  "hasDynamicHelp": false,
2852
2841
  "multiple": false,
2853
2842
  "type": "option"
2854
- },
2855
- "create-vcs-branch": {
2856
- "name": "create-vcs-branch",
2857
- "summary": "Create the branch in the remote repository if it doesn't already exist.",
2858
- "allowNo": false,
2859
- "type": "boolean"
2860
2843
  }
2861
2844
  },
2862
2845
  "hasDynamicHelp": true,
2863
2846
  "hiddenAliases": [],
2864
- "id": "devops:stage:add-branch",
2847
+ "id": "devops:work-item:list",
2865
2848
  "pluginAlias": "@salesforce/plugin-devops-center",
2866
2849
  "pluginName": "@salesforce/plugin-devops-center",
2867
2850
  "pluginType": "jit",
2868
2851
  "strict": true,
2869
- "summary": "Add a source code repository branch to a pipeline stage.",
2852
+ "summary": "List all work items for a DevOps Center project.",
2870
2853
  "enableJsonFlag": true,
2871
2854
  "isESM": true,
2872
2855
  "relativePath": [
2873
2856
  "lib",
2874
2857
  "commands",
2875
2858
  "devops",
2876
- "stage",
2877
- "add-branch.js"
2859
+ "work-item",
2860
+ "list.js"
2878
2861
  ]
2879
2862
  },
2880
- "devops:stage:add-environment": {
2863
+ "devops:work-item:update": {
2881
2864
  "aliases": [],
2882
2865
  "args": {},
2883
- "description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
2866
+ "description": "Update the subject, description, or status of a work item. At least one of --subject, --description, or --status must be provided.",
2884
2867
  "examples": [
2885
- "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"
2868
+ "Update the subject of a work item by name:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --subject \"Fix login bug\"",
2869
+ "Update the status of a work item by ID:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --status \"In Progress\"",
2870
+ "Update multiple fields at once:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --subject \"Fix login bug\" --description \"Users can't log in on mobile\" --status \"In Progress\""
2886
2871
  ],
2887
2872
  "flags": {
2888
2873
  "json": {
@@ -2917,75 +2902,72 @@
2917
2902
  "multiple": false,
2918
2903
  "type": "option"
2919
2904
  },
2920
- "pipeline-id": {
2921
- "name": "pipeline-id",
2922
- "required": true,
2923
- "summary": "ID of the pipeline that contains the stage.",
2905
+ "work-item-name": {
2906
+ "char": "n",
2907
+ "name": "work-item-name",
2908
+ "summary": "Name of the work item, such as WI-000001.",
2924
2909
  "hasDynamicHelp": false,
2925
2910
  "multiple": false,
2926
2911
  "type": "option"
2927
2912
  },
2928
- "stage-id": {
2929
- "name": "stage-id",
2930
- "required": true,
2931
- "summary": "ID of the pipeline stage.",
2913
+ "work-item-id": {
2914
+ "char": "w",
2915
+ "name": "work-item-id",
2916
+ "summary": "ID of the work item.",
2932
2917
  "hasDynamicHelp": false,
2933
2918
  "multiple": false,
2934
2919
  "type": "option"
2935
2920
  },
2936
- "environment-name": {
2937
- "char": "e",
2938
- "name": "environment-name",
2939
- "required": true,
2940
- "summary": "Name of the environment.",
2921
+ "subject": {
2922
+ "name": "subject",
2923
+ "summary": "New subject for the work item.",
2941
2924
  "hasDynamicHelp": false,
2942
2925
  "multiple": false,
2943
2926
  "type": "option"
2944
2927
  },
2945
- "org-type": {
2946
- "name": "org-type",
2947
- "required": true,
2948
- "summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
2928
+ "description": {
2929
+ "name": "description",
2930
+ "summary": "New description for the work item.",
2931
+ "hasDynamicHelp": false,
2932
+ "multiple": false,
2933
+ "type": "option"
2934
+ },
2935
+ "status": {
2936
+ "name": "status",
2937
+ "summary": "New status for the work item. Allowed values: \"In Progress\", \"Ready to Promote\".",
2949
2938
  "hasDynamicHelp": false,
2950
2939
  "multiple": false,
2951
2940
  "options": [
2952
- "Production",
2953
- "Sandbox"
2941
+ "In Progress",
2942
+ "Ready to Promote"
2954
2943
  ],
2955
2944
  "type": "option"
2956
- },
2957
- "no-browser": {
2958
- "name": "no-browser",
2959
- "summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
2960
- "allowNo": false,
2961
- "type": "boolean"
2962
2945
  }
2963
2946
  },
2964
2947
  "hasDynamicHelp": true,
2965
2948
  "hiddenAliases": [],
2966
- "id": "devops:stage:add-environment",
2949
+ "id": "devops:work-item:update",
2967
2950
  "pluginAlias": "@salesforce/plugin-devops-center",
2968
2951
  "pluginName": "@salesforce/plugin-devops-center",
2969
2952
  "pluginType": "jit",
2970
2953
  "strict": true,
2971
- "summary": "Add a Salesforce environment to a pipeline stage.",
2954
+ "summary": "Update a work item in DevOps Center.",
2972
2955
  "enableJsonFlag": true,
2973
2956
  "isESM": true,
2974
2957
  "relativePath": [
2975
2958
  "lib",
2976
2959
  "commands",
2977
2960
  "devops",
2978
- "stage",
2979
- "add-environment.js"
2961
+ "work-item",
2962
+ "update.js"
2980
2963
  ]
2981
2964
  },
2982
- "devops:work-item:create": {
2965
+ "devops:pipeline:project:add": {
2983
2966
  "aliases": [],
2984
2967
  "args": {},
2985
- "description": "The command creates the work item using the Connect API. Requires a project ID and a subject for the new work item; run the `devops project list` command to get the IDs for all existing projects.",
2968
+ "description": "You can attach a project to only one pipeline.",
2986
2969
  "examples": [
2987
- "Create a work item for the project with the specified ID and give the work item the specified subject (title); use the DevOps Center org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Fix login bug\"",
2988
- "Create a work item with a subject and description:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --subject \"Add dark mode\" --description \"Implement dark mode toggle in settings page\""
2970
+ "Attach a project to a pipeline using the project ID and pipeline ID.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --project-id 0Hn000000000001"
2989
2971
  ],
2990
2972
  "flags": {
2991
2973
  "json": {
@@ -3020,28 +3002,18 @@
3020
3002
  "multiple": false,
3021
3003
  "type": "option"
3022
3004
  },
3023
- "project-id": {
3024
- "char": "p",
3025
- "name": "project-id",
3005
+ "pipeline-id": {
3006
+ "name": "pipeline-id",
3026
3007
  "required": true,
3027
- "summary": "ID of the DevOps Center project to create the work item in.",
3008
+ "summary": "ID of the pipeline.",
3028
3009
  "hasDynamicHelp": false,
3029
3010
  "multiple": false,
3030
3011
  "type": "option"
3031
3012
  },
3032
- "subject": {
3033
- "char": "s",
3034
- "name": "subject",
3013
+ "project-id": {
3014
+ "name": "project-id",
3035
3015
  "required": true,
3036
- "summary": "Subject (title) of the new work item.",
3037
- "hasDynamicHelp": false,
3038
- "multiple": false,
3039
- "type": "option"
3040
- },
3041
- "description": {
3042
- "char": "d",
3043
- "name": "description",
3044
- "summary": "Description of the new work item; if not specified, the description is blank.",
3016
+ "summary": "ID of the DevOps Center project.",
3045
3017
  "hasDynamicHelp": false,
3046
3018
  "multiple": false,
3047
3019
  "type": "option"
@@ -3049,29 +3021,30 @@
3049
3021
  },
3050
3022
  "hasDynamicHelp": true,
3051
3023
  "hiddenAliases": [],
3052
- "id": "devops:work-item:create",
3024
+ "id": "devops:pipeline:project:add",
3053
3025
  "pluginAlias": "@salesforce/plugin-devops-center",
3054
3026
  "pluginName": "@salesforce/plugin-devops-center",
3055
3027
  "pluginType": "jit",
3056
3028
  "strict": true,
3057
- "summary": "Create a new work item in a DevOps Center project.",
3029
+ "summary": "Attach a DevOps Center project to a pipeline.",
3058
3030
  "enableJsonFlag": true,
3059
3031
  "isESM": true,
3060
3032
  "relativePath": [
3061
3033
  "lib",
3062
3034
  "commands",
3063
3035
  "devops",
3064
- "work-item",
3065
- "create.js"
3036
+ "pipeline",
3037
+ "project",
3038
+ "add.js"
3066
3039
  ]
3067
3040
  },
3068
- "devops:work-item:list": {
3041
+ "devops:pipeline:stage:add": {
3069
3042
  "aliases": [],
3070
3043
  "args": {},
3071
- "description": "Each work item displays the branch, environment, and repository details needed for checkout and promotion. Requires a project ID; run the `devops project list` command to get the IDs for all existing projects.",
3044
+ "description": "Inserts an empty stage before the stage specified by `--next-stage-id`. The new stage doesn't include a branch or environment. Configure them separately after you create the stage.",
3072
3045
  "examples": [
3073
- "List work items for a specific project in the DevOps org with alias \"my-devops-org\":\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001",
3074
- "List work items using JSON output:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --project-id 1Qg000000000001 --json"
3046
+ "Add a Development stage before Integration in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"Development\" --next-stage-id 0Xc000000000002",
3047
+ "Add a QA stage before UAT in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"QA\" --next-stage-id 0Xc000000000003"
3075
3048
  ],
3076
3049
  "flags": {
3077
3050
  "json": {
@@ -3106,11 +3079,27 @@
3106
3079
  "multiple": false,
3107
3080
  "type": "option"
3108
3081
  },
3109
- "project-id": {
3110
- "char": "p",
3111
- "name": "project-id",
3082
+ "pipeline-id": {
3083
+ "name": "pipeline-id",
3112
3084
  "required": true,
3113
- "summary": "ID of the DevOps Center project to list work items for.",
3085
+ "summary": "ID of the pipeline where the stage is added.",
3086
+ "hasDynamicHelp": false,
3087
+ "multiple": false,
3088
+ "type": "option"
3089
+ },
3090
+ "name": {
3091
+ "char": "n",
3092
+ "name": "name",
3093
+ "required": true,
3094
+ "summary": "Name of the pipeline stage, such as Integration, UAT, or Staging.",
3095
+ "hasDynamicHelp": false,
3096
+ "multiple": false,
3097
+ "type": "option"
3098
+ },
3099
+ "next-stage-id": {
3100
+ "name": "next-stage-id",
3101
+ "required": true,
3102
+ "summary": "ID of the stage that follows the new stage in the pipeline.",
3114
3103
  "hasDynamicHelp": false,
3115
3104
  "multiple": false,
3116
3105
  "type": "option"
@@ -3118,29 +3107,30 @@
3118
3107
  },
3119
3108
  "hasDynamicHelp": true,
3120
3109
  "hiddenAliases": [],
3121
- "id": "devops:work-item:list",
3110
+ "id": "devops:pipeline:stage:add",
3122
3111
  "pluginAlias": "@salesforce/plugin-devops-center",
3123
3112
  "pluginName": "@salesforce/plugin-devops-center",
3124
3113
  "pluginType": "jit",
3125
3114
  "strict": true,
3126
- "summary": "List all work items for a DevOps Center project.",
3115
+ "summary": "Add a stage to a DevOps Center pipeline.",
3127
3116
  "enableJsonFlag": true,
3128
3117
  "isESM": true,
3129
3118
  "relativePath": [
3130
3119
  "lib",
3131
3120
  "commands",
3132
3121
  "devops",
3133
- "work-item",
3134
- "list.js"
3122
+ "pipeline",
3123
+ "stage",
3124
+ "add.js"
3135
3125
  ]
3136
3126
  },
3137
- "devops:pipeline:stage:add": {
3127
+ "devops:stage:branch:add": {
3138
3128
  "aliases": [],
3139
3129
  "args": {},
3140
- "description": "Inserts an empty stage before the stage specified by `--next-stage-id`. The new stage doesn't include a branch or environment. Configure them separately after you create the stage.",
3130
+ "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.",
3141
3131
  "examples": [
3142
- "Add a Development stage before Integration in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"Development\" --next-stage-id 0Xc000000000002",
3143
- "Add a QA stage before UAT in a specific pipeline.\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --pipeline-id 0XB000000000001 --name \"QA\" --next-stage-id 0Xc000000000003"
3132
+ "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",
3133
+ "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"
3144
3134
  ],
3145
3135
  "flags": {
3146
3136
  "json": {
@@ -3178,55 +3168,60 @@
3178
3168
  "pipeline-id": {
3179
3169
  "name": "pipeline-id",
3180
3170
  "required": true,
3181
- "summary": "ID of the pipeline where the stage is added.",
3171
+ "summary": "ID of the pipeline that contains the stage.",
3182
3172
  "hasDynamicHelp": false,
3183
3173
  "multiple": false,
3184
3174
  "type": "option"
3185
3175
  },
3186
- "name": {
3187
- "char": "n",
3188
- "name": "name",
3176
+ "stage-id": {
3177
+ "name": "stage-id",
3189
3178
  "required": true,
3190
- "summary": "Name of the pipeline stage, such as Integration, UAT, or Staging.",
3179
+ "summary": "ID of the pipeline stage to associate the branch with.",
3191
3180
  "hasDynamicHelp": false,
3192
3181
  "multiple": false,
3193
3182
  "type": "option"
3194
3183
  },
3195
- "next-stage-id": {
3196
- "name": "next-stage-id",
3184
+ "branch-name": {
3185
+ "char": "b",
3186
+ "name": "branch-name",
3197
3187
  "required": true,
3198
- "summary": "ID of the stage that follows the new stage in the pipeline.",
3188
+ "summary": "Name of the repository branch to assign to the stage.",
3199
3189
  "hasDynamicHelp": false,
3200
3190
  "multiple": false,
3201
3191
  "type": "option"
3192
+ },
3193
+ "create-vcs-branch": {
3194
+ "name": "create-vcs-branch",
3195
+ "summary": "Create the branch in the remote repository if it doesn't already exist.",
3196
+ "allowNo": false,
3197
+ "type": "boolean"
3202
3198
  }
3203
3199
  },
3204
3200
  "hasDynamicHelp": true,
3205
3201
  "hiddenAliases": [],
3206
- "id": "devops:pipeline:stage:add",
3202
+ "id": "devops:stage:branch:add",
3207
3203
  "pluginAlias": "@salesforce/plugin-devops-center",
3208
3204
  "pluginName": "@salesforce/plugin-devops-center",
3209
3205
  "pluginType": "jit",
3210
3206
  "strict": true,
3211
- "summary": "Add a stage to a DevOps Center pipeline.",
3207
+ "summary": "Add a source code repository branch to a pipeline stage.",
3212
3208
  "enableJsonFlag": true,
3213
3209
  "isESM": true,
3214
3210
  "relativePath": [
3215
3211
  "lib",
3216
3212
  "commands",
3217
3213
  "devops",
3218
- "pipeline",
3219
3214
  "stage",
3215
+ "branch",
3220
3216
  "add.js"
3221
3217
  ]
3222
3218
  },
3223
- "devops:work-item:status:update": {
3219
+ "devops:stage:environment:add": {
3224
3220
  "aliases": [],
3225
3221
  "args": {},
3226
- "description": "Allowed statuses are \"In Progress\" and \"Ready to Promote\".",
3222
+ "description": "This command triggers an OAuth flow to authenticate the environment. A browser window opens automatically for you to log in.",
3227
3223
  "examples": [
3228
- "Update a work item status by its name to indicate the work is underway:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-name WI-000001 --status \"In Progress\"",
3229
- "Update a work item status by its ID to indicate the changes are ready for promotion:\n<%= config.bin %> <%= command.id %> --target-org my-devops-org --work-item-id 0Wx000000000001 --status \"Ready to Promote\""
3224
+ "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"
3230
3225
  ],
3231
3226
  "flags": {
3232
3227
  "json": {
@@ -3261,52 +3256,67 @@
3261
3256
  "multiple": false,
3262
3257
  "type": "option"
3263
3258
  },
3264
- "work-item-name": {
3265
- "char": "n",
3266
- "name": "work-item-name",
3267
- "summary": "Name of the work item, such as WI-000001.",
3259
+ "pipeline-id": {
3260
+ "name": "pipeline-id",
3261
+ "required": true,
3262
+ "summary": "ID of the pipeline that contains the stage.",
3268
3263
  "hasDynamicHelp": false,
3269
3264
  "multiple": false,
3270
3265
  "type": "option"
3271
3266
  },
3272
- "work-item-id": {
3273
- "char": "w",
3274
- "name": "work-item-id",
3275
- "summary": "ID of the work item.",
3267
+ "stage-id": {
3268
+ "name": "stage-id",
3269
+ "required": true,
3270
+ "summary": "ID of the pipeline stage.",
3276
3271
  "hasDynamicHelp": false,
3277
3272
  "multiple": false,
3278
3273
  "type": "option"
3279
3274
  },
3280
- "status": {
3281
- "name": "status",
3275
+ "environment-name": {
3276
+ "char": "e",
3277
+ "name": "environment-name",
3282
3278
  "required": true,
3283
- "summary": "Status to set for the work item. Allowed values: \"In Progress\", \"Ready to Promote\".",
3279
+ "summary": "Name of the environment.",
3280
+ "hasDynamicHelp": false,
3281
+ "multiple": false,
3282
+ "type": "option"
3283
+ },
3284
+ "org-type": {
3285
+ "name": "org-type",
3286
+ "required": true,
3287
+ "summary": "Type of the Salesforce org. Valid values: Production, Sandbox.",
3284
3288
  "hasDynamicHelp": false,
3285
3289
  "multiple": false,
3286
3290
  "options": [
3287
- "In Progress",
3288
- "Ready to Promote"
3291
+ "Production",
3292
+ "Sandbox"
3289
3293
  ],
3290
3294
  "type": "option"
3295
+ },
3296
+ "no-browser": {
3297
+ "name": "no-browser",
3298
+ "summary": "Don't auto-open the browser for OAuth authentication. The redirect URL is printed for manual use.",
3299
+ "allowNo": false,
3300
+ "type": "boolean"
3291
3301
  }
3292
3302
  },
3293
3303
  "hasDynamicHelp": true,
3294
3304
  "hiddenAliases": [],
3295
- "id": "devops:work-item:status:update",
3305
+ "id": "devops:stage:environment:add",
3296
3306
  "pluginAlias": "@salesforce/plugin-devops-center",
3297
3307
  "pluginName": "@salesforce/plugin-devops-center",
3298
3308
  "pluginType": "jit",
3299
3309
  "strict": true,
3300
- "summary": "Update the status of a work item in DevOps Center.",
3310
+ "summary": "Add a Salesforce environment to a pipeline stage.",
3301
3311
  "enableJsonFlag": true,
3302
3312
  "isESM": true,
3303
3313
  "relativePath": [
3304
3314
  "lib",
3305
3315
  "commands",
3306
3316
  "devops",
3307
- "work-item",
3308
- "status",
3309
- "update.js"
3317
+ "stage",
3318
+ "environment",
3319
+ "add.js"
3310
3320
  ]
3311
3321
  },
3312
3322
  "project:deploy:pipeline:quick": {
@@ -5695,5 +5705,5 @@
5695
5705
  "requiresProject": true
5696
5706
  }
5697
5707
  },
5698
- "version": "2.143.5"
5708
+ "version": "2.143.6"
5699
5709
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/cli",
3
3
  "description": "The Salesforce CLI",
4
- "version": "2.143.5",
4
+ "version": "2.143.6",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "sf": "./bin/run.js",
@@ -80,7 +80,7 @@
80
80
  "@salesforce/plugin-community": "3.3.71",
81
81
  "@salesforce/plugin-custom-metadata": "3.3.111",
82
82
  "@salesforce/plugin-dev": "2.5.2",
83
- "@salesforce/plugin-devops-center": "1.3.0",
83
+ "@salesforce/plugin-devops-center": "1.4.0",
84
84
  "@salesforce/plugin-flow": "1.0.5",
85
85
  "@salesforce/plugin-lightning-dev": "6.2.17",
86
86
  "@salesforce/plugin-signups": "2.6.76",
@@ -164,7 +164,7 @@
164
164
  "@salesforce/plugin-api": "1.3.46",
165
165
  "@salesforce/plugin-auth": "4.4.5",
166
166
  "@salesforce/plugin-data": "4.0.110",
167
- "@salesforce/plugin-deploy-retrieve": "3.24.56",
167
+ "@salesforce/plugin-deploy-retrieve": "3.24.58",
168
168
  "@salesforce/plugin-info": "3.4.147",
169
169
  "@salesforce/plugin-limits": "3.3.98",
170
170
  "@salesforce/plugin-marketplace": "1.3.38",