@salesforce/plugin-org 5.5.5 → 5.5.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
@@ -242,7 +242,7 @@ FLAG DESCRIPTIONS
242
242
  You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
243
243
  ```
244
244
 
245
- _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/create/sandbox.ts)_
245
+ _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/create/sandbox.ts)_
246
246
 
247
247
  ## `sf org create scratch`
248
248
 
@@ -424,7 +424,7 @@ FLAG DESCRIPTIONS
424
424
  Omit this flag to have Salesforce generate a unique username for your org.
425
425
  ```
426
426
 
427
- _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/create/scratch.ts)_
427
+ _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/create/scratch.ts)_
428
428
 
429
429
  ## `sf org delete sandbox`
430
430
 
@@ -470,7 +470,7 @@ EXAMPLES
470
470
  $ sf org delete sandbox --target-org my-sandbox --no-prompt
471
471
  ```
472
472
 
473
- _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/delete/sandbox.ts)_
473
+ _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/delete/sandbox.ts)_
474
474
 
475
475
  ## `sf org delete scratch`
476
476
 
@@ -514,7 +514,7 @@ EXAMPLES
514
514
  $ sf org delete scratch --target-org my-scratch-org --no-prompt
515
515
  ```
516
516
 
517
- _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/delete/scratch.ts)_
517
+ _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/delete/scratch.ts)_
518
518
 
519
519
  ## `sf org disable tracking`
520
520
 
@@ -553,7 +553,7 @@ EXAMPLES
553
553
  $ sf org disable tracking
554
554
  ```
555
555
 
556
- _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/disable/tracking.ts)_
556
+ _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/disable/tracking.ts)_
557
557
 
558
558
  ## `sf org display`
559
559
 
@@ -598,7 +598,7 @@ EXAMPLES
598
598
  $ sf org display --target-org TestOrg1 --verbose
599
599
  ```
600
600
 
601
- _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/display.ts)_
601
+ _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/display.ts)_
602
602
 
603
603
  ## `sf org enable tracking`
604
604
 
@@ -640,7 +640,7 @@ EXAMPLES
640
640
  $ sf org enable tracking
641
641
  ```
642
642
 
643
- _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/enable/tracking.ts)_
643
+ _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/enable/tracking.ts)_
644
644
 
645
645
  ## `sf org list`
646
646
 
@@ -679,7 +679,7 @@ EXAMPLES
679
679
  $ sf org list --clean
680
680
  ```
681
681
 
682
- _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/list.ts)_
682
+ _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/list.ts)_
683
683
 
684
684
  ## `sf org list metadata`
685
685
 
@@ -746,7 +746,7 @@ FLAG DESCRIPTIONS
746
746
  Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
747
747
  ```
748
748
 
749
- _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/list/metadata.ts)_
749
+ _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/list/metadata.ts)_
750
750
 
751
751
  ## `sf org list metadata-types`
752
752
 
@@ -801,7 +801,7 @@ FLAG DESCRIPTIONS
801
801
  Override the api version used for api requests made by this command
802
802
  ```
803
803
 
804
- _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/list/metadata-types.ts)_
804
+ _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/list/metadata-types.ts)_
805
805
 
806
806
  ## `sf org open`
807
807
 
@@ -877,7 +877,7 @@ EXAMPLES
877
877
  $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
878
878
  ```
879
879
 
880
- _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/open.ts)_
880
+ _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/open.ts)_
881
881
 
882
882
  ## `sf org open agent`
883
883
 
@@ -928,7 +928,7 @@ EXAMPLES
928
928
  $ sf org open agent --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent
929
929
  ```
930
930
 
931
- _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/open/agent.ts)_
931
+ _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/open/agent.ts)_
932
932
 
933
933
  ## `sf org refresh sandbox`
934
934
 
@@ -1005,7 +1005,7 @@ FLAG DESCRIPTIONS
1005
1005
  By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.
1006
1006
  ```
1007
1007
 
1008
- _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/refresh/sandbox.ts)_
1008
+ _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/refresh/sandbox.ts)_
1009
1009
 
1010
1010
  ## `sf org resume sandbox`
1011
1011
 
@@ -1068,7 +1068,7 @@ FLAG DESCRIPTIONS
1068
1068
  returns the job ID. To resume checking the sandbox creation, rerun this command.
1069
1069
  ```
1070
1070
 
1071
- _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/resume/sandbox.ts)_
1071
+ _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/resume/sandbox.ts)_
1072
1072
 
1073
1073
  ## `sf org resume scratch`
1074
1074
 
@@ -1115,6 +1115,6 @@ FLAG DESCRIPTIONS
1115
1115
  The job ID is valid for 24 hours after you start the scratch org creation.
1116
1116
  ```
1117
1117
 
1118
- _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.5/src/commands/org/resume/scratch.ts)_
1118
+ _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.6/src/commands/org/resume/scratch.ts)_
1119
1119
 
1120
1120
  <!-- commandsstop -->
@@ -49,7 +49,7 @@ export class OrgOpenAgent extends OrgOpenCommandBase {
49
49
  buildFrontdoorUrl(this.org, this.connection, true),
50
50
  buildRetUrl(this.connection, flags.name),
51
51
  ]);
52
- return this.openOrgUI(flags, frontDoorUrl, retUrl);
52
+ return this.openOrgUI(flags, frontDoorUrl, encodeURIComponent(retUrl));
53
53
  }
54
54
  }
55
55
  // Build the URL part to the Agent Builder given a Bot API name.
@@ -1 +1 @@
1
- {"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../../src/commands/org/open/agent.ts"],"names":[],"mappings":"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AgB,EAAE,OAAe,EAAmB,EAAE;IAC/E,MAAM,KAAK,GAAG,qDAAqD,OAAO,GAAG,CAAC;IAC9E,MAAM,KAAK,GAAG,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAiB,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;IACvE,OAAO,0DAA0D,KAAK,EAAE,CAAC;AAC3E,CAAC,CAAC"}
@@ -23,7 +23,7 @@ export class OrgOpenCommandBase extends SfCommand {
23
23
  connection;
24
24
  async openOrgUI(flags, frontDoorUrl, retUrl) {
25
25
  const orgId = this.org.getOrgId();
26
- const url = `${frontDoorUrl}${retUrl ? `&retURL=${retUrl}` : ''}`;
26
+ const url = `${frontDoorUrl}${retUrl ? `&${frontDoorUrl.includes('.jsp?otp=') ? `startURL=${retUrl}` : `retURL=${retUrl}`}` : ''}`;
27
27
  // TODO: better typings in sfdx-core for orgs read from auth files
28
28
  const username = this.org.getUsername();
29
29
  const output = { orgId, url, username };
@@ -1 +1 @@
1
- {"version":3,"file":"orgOpenCommandBase.js","sourceRoot":"","sources":["../../src/shared/orgOpenCommandBase.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAc,QAAQ,EAAO,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,eAAe,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AC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;YAC3D,WAAW,CAAC,YAAY,CAAC,CAAC;QAC5B,CAAC;aAAM,CAAC;YACN,qDAAqD;YACrD,8DAA8D;YAC9D,MAAM,EAAE,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;gBAClC,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBAChE,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;aACvG,CAAC,CAAC;YACH,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;gBACrB,MAAM,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC1B,CAAC,CAAC,CAAC;QACL,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC"}
@@ -385,69 +385,6 @@
385
385
  "open:org"
386
386
  ]
387
387
  },
388
- "org:disable:tracking": {
389
- "aliases": [],
390
- "args": {},
391
- "description": "Disabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that no source tracking operations are executed when working with the org.",
392
- "examples": [
393
- "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
394
- "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
395
- "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
396
- ],
397
- "flags": {
398
- "json": {
399
- "description": "Format output as json.",
400
- "helpGroup": "GLOBAL",
401
- "name": "json",
402
- "allowNo": false,
403
- "type": "boolean"
404
- },
405
- "flags-dir": {
406
- "helpGroup": "GLOBAL",
407
- "name": "flags-dir",
408
- "summary": "Import flag values from a directory.",
409
- "hasDynamicHelp": false,
410
- "multiple": false,
411
- "type": "option"
412
- },
413
- "target-org": {
414
- "char": "o",
415
- "name": "target-org",
416
- "noCacheDefault": true,
417
- "required": true,
418
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
419
- "hasDynamicHelp": true,
420
- "multiple": false,
421
- "type": "option"
422
- }
423
- },
424
- "hasDynamicHelp": true,
425
- "hiddenAliases": [],
426
- "id": "org:disable:tracking",
427
- "pluginAlias": "@salesforce/plugin-org",
428
- "pluginName": "@salesforce/plugin-org",
429
- "pluginType": "core",
430
- "strict": true,
431
- "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
432
- "enableJsonFlag": true,
433
- "isESM": true,
434
- "relativePath": [
435
- "lib",
436
- "commands",
437
- "org",
438
- "disable",
439
- "tracking.js"
440
- ],
441
- "aliasPermutations": [],
442
- "permutations": [
443
- "org:disable:tracking",
444
- "disable:org:tracking",
445
- "disable:tracking:org",
446
- "org:tracking:disable",
447
- "tracking:org:disable",
448
- "tracking:disable:org"
449
- ]
450
- },
451
388
  "org:delete:sandbox": {
452
389
  "aliases": [
453
390
  "env:delete:sandbox"
@@ -616,6 +553,69 @@
616
553
  "scratch:delete:org"
617
554
  ]
618
555
  },
556
+ "org:disable:tracking": {
557
+ "aliases": [],
558
+ "args": {},
559
+ "description": "Disabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that no source tracking operations are executed when working with the org.",
560
+ "examples": [
561
+ "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
562
+ "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
563
+ "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
564
+ ],
565
+ "flags": {
566
+ "json": {
567
+ "description": "Format output as json.",
568
+ "helpGroup": "GLOBAL",
569
+ "name": "json",
570
+ "allowNo": false,
571
+ "type": "boolean"
572
+ },
573
+ "flags-dir": {
574
+ "helpGroup": "GLOBAL",
575
+ "name": "flags-dir",
576
+ "summary": "Import flag values from a directory.",
577
+ "hasDynamicHelp": false,
578
+ "multiple": false,
579
+ "type": "option"
580
+ },
581
+ "target-org": {
582
+ "char": "o",
583
+ "name": "target-org",
584
+ "noCacheDefault": true,
585
+ "required": true,
586
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
587
+ "hasDynamicHelp": true,
588
+ "multiple": false,
589
+ "type": "option"
590
+ }
591
+ },
592
+ "hasDynamicHelp": true,
593
+ "hiddenAliases": [],
594
+ "id": "org:disable:tracking",
595
+ "pluginAlias": "@salesforce/plugin-org",
596
+ "pluginName": "@salesforce/plugin-org",
597
+ "pluginType": "core",
598
+ "strict": true,
599
+ "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
600
+ "enableJsonFlag": true,
601
+ "isESM": true,
602
+ "relativePath": [
603
+ "lib",
604
+ "commands",
605
+ "org",
606
+ "disable",
607
+ "tracking.js"
608
+ ],
609
+ "aliasPermutations": [],
610
+ "permutations": [
611
+ "org:disable:tracking",
612
+ "disable:org:tracking",
613
+ "disable:tracking:org",
614
+ "org:tracking:disable",
615
+ "tracking:org:disable",
616
+ "tracking:disable:org"
617
+ ]
618
+ },
619
619
  "org:create:sandbox": {
620
620
  "aliases": [
621
621
  "env:create:sandbox"
@@ -1520,6 +1520,134 @@
1520
1520
  "agent:open:org"
1521
1521
  ]
1522
1522
  },
1523
+ "org:refresh:sandbox": {
1524
+ "aliases": [],
1525
+ "args": {},
1526
+ "description": "Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its license type or template ID.\n\nYou're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox name, first delete it with the \"org delete sandbox\" command. And then recreate it with the \"org create sandbox\" command and give it a new name.",
1527
+ "examples": [
1528
+ "Refresh the sandbox named \"devSbx1\". The production org that contains the sandbox license has the alias \"prodOrg\".\n<%= config.bin %> <%= command.id %> --name devSbx1 --target-org prodOrg",
1529
+ "Refresh the sandbox named \"devSbx2\", and override the configuration of the refreshed sandbox with the properties in the specified defintion file. The default target org is the production org, so you don't need to specify the `--target-org` flag in this case.\n<%= config.bin %> <%= command.id %> --name devSbx2 --definition-file devSbx2-config.json",
1530
+ "Refresh the sandbox using the name defined in the definition file. The production org that contains the sandbox license has the alias \"prodOrg\".\n<%= config.bin %> <%= command.id %> --definition-file devSbx3-config.json --target-org prodOrg"
1531
+ ],
1532
+ "flags": {
1533
+ "json": {
1534
+ "description": "Format output as json.",
1535
+ "helpGroup": "GLOBAL",
1536
+ "name": "json",
1537
+ "allowNo": false,
1538
+ "type": "boolean"
1539
+ },
1540
+ "flags-dir": {
1541
+ "helpGroup": "GLOBAL",
1542
+ "name": "flags-dir",
1543
+ "summary": "Import flag values from a directory.",
1544
+ "hasDynamicHelp": false,
1545
+ "multiple": false,
1546
+ "type": "option"
1547
+ },
1548
+ "no-auto-activate": {
1549
+ "description": "By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.",
1550
+ "name": "no-auto-activate",
1551
+ "summary": "Disable auto-activation of the sandbox after a successful refresh.",
1552
+ "allowNo": false,
1553
+ "type": "boolean"
1554
+ },
1555
+ "wait": {
1556
+ "char": "w",
1557
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays the \"<%= config.bin %> org resume sandbox\" command for you run to check the status of the refresh. The displayed command includes the job ID for the running sandbox refresh.",
1558
+ "exclusive": [
1559
+ "async"
1560
+ ],
1561
+ "name": "wait",
1562
+ "summary": "Number of minutes to poll for sandbox refresh status.",
1563
+ "hasDynamicHelp": true,
1564
+ "helpValue": "<minutes>",
1565
+ "multiple": false,
1566
+ "type": "option"
1567
+ },
1568
+ "poll-interval": {
1569
+ "char": "i",
1570
+ "exclusive": [
1571
+ "async"
1572
+ ],
1573
+ "name": "poll-interval",
1574
+ "summary": "Number of seconds to wait between status polling requests.",
1575
+ "hasDynamicHelp": true,
1576
+ "helpValue": "<seconds>",
1577
+ "multiple": false,
1578
+ "type": "option"
1579
+ },
1580
+ "async": {
1581
+ "description": "The command immediately displays the job ID and returns control of the terminal to you. This way, you can continue to use the CLI. To check the status of the sandbox refresh, run \"<%= config.bin %> org resume sandbox\".",
1582
+ "exclusive": [
1583
+ "wait",
1584
+ "poll-interval"
1585
+ ],
1586
+ "name": "async",
1587
+ "summary": "Request the sandbox refresh, but don't wait for it to complete.",
1588
+ "allowNo": false,
1589
+ "type": "boolean"
1590
+ },
1591
+ "name": {
1592
+ "char": "n",
1593
+ "name": "name",
1594
+ "summary": "Name of the existing sandbox org in your production org that you want to refresh.",
1595
+ "hasDynamicHelp": false,
1596
+ "multiple": false,
1597
+ "type": "option"
1598
+ },
1599
+ "definition-file": {
1600
+ "char": "f",
1601
+ "description": "The sandbox definition file is a blueprint for the sandbox; use the file to change the sandbox configuration during a refresh. If you don't want to change the sandbox configuration when you refresh it, then simply use the --name flag to specify the sandbox and don't use this flag. See <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all the options you can specify in the definition file.",
1602
+ "name": "definition-file",
1603
+ "summary": "Path to a sandbox definition file for overriding its configuration when you refresh it.",
1604
+ "hasDynamicHelp": false,
1605
+ "multiple": false,
1606
+ "type": "option"
1607
+ },
1608
+ "target-org": {
1609
+ "char": "o",
1610
+ "name": "target-org",
1611
+ "noCacheDefault": true,
1612
+ "required": true,
1613
+ "summary": "Username or alias of the production org that contains the sandbox license.",
1614
+ "hasDynamicHelp": true,
1615
+ "multiple": false,
1616
+ "type": "option"
1617
+ },
1618
+ "no-prompt": {
1619
+ "name": "no-prompt",
1620
+ "summary": "Don't prompt for confirmation about the sandbox refresh.",
1621
+ "allowNo": false,
1622
+ "type": "boolean"
1623
+ }
1624
+ },
1625
+ "hasDynamicHelp": true,
1626
+ "hiddenAliases": [],
1627
+ "id": "org:refresh:sandbox",
1628
+ "pluginAlias": "@salesforce/plugin-org",
1629
+ "pluginName": "@salesforce/plugin-org",
1630
+ "pluginType": "core",
1631
+ "strict": true,
1632
+ "summary": "Refresh a sandbox org using the sandbox name.",
1633
+ "isESM": true,
1634
+ "relativePath": [
1635
+ "lib",
1636
+ "commands",
1637
+ "org",
1638
+ "refresh",
1639
+ "sandbox.js"
1640
+ ],
1641
+ "aliasPermutations": [],
1642
+ "permutations": [
1643
+ "org:refresh:sandbox",
1644
+ "refresh:org:sandbox",
1645
+ "refresh:sandbox:org",
1646
+ "org:sandbox:refresh",
1647
+ "sandbox:org:refresh",
1648
+ "sandbox:refresh:org"
1649
+ ]
1650
+ },
1523
1651
  "org:resume:sandbox": {
1524
1652
  "aliases": [
1525
1653
  "env:resume:sandbox"
@@ -1710,135 +1838,7 @@
1710
1838
  "scratch:org:resume",
1711
1839
  "scratch:resume:org"
1712
1840
  ]
1713
- },
1714
- "org:refresh:sandbox": {
1715
- "aliases": [],
1716
- "args": {},
1717
- "description": "Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its license type or template ID.\n\nYou're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox name, first delete it with the \"org delete sandbox\" command. And then recreate it with the \"org create sandbox\" command and give it a new name.",
1718
- "examples": [
1719
- "Refresh the sandbox named \"devSbx1\". The production org that contains the sandbox license has the alias \"prodOrg\".\n<%= config.bin %> <%= command.id %> --name devSbx1 --target-org prodOrg",
1720
- "Refresh the sandbox named \"devSbx2\", and override the configuration of the refreshed sandbox with the properties in the specified defintion file. The default target org is the production org, so you don't need to specify the `--target-org` flag in this case.\n<%= config.bin %> <%= command.id %> --name devSbx2 --definition-file devSbx2-config.json",
1721
- "Refresh the sandbox using the name defined in the definition file. The production org that contains the sandbox license has the alias \"prodOrg\".\n<%= config.bin %> <%= command.id %> --definition-file devSbx3-config.json --target-org prodOrg"
1722
- ],
1723
- "flags": {
1724
- "json": {
1725
- "description": "Format output as json.",
1726
- "helpGroup": "GLOBAL",
1727
- "name": "json",
1728
- "allowNo": false,
1729
- "type": "boolean"
1730
- },
1731
- "flags-dir": {
1732
- "helpGroup": "GLOBAL",
1733
- "name": "flags-dir",
1734
- "summary": "Import flag values from a directory.",
1735
- "hasDynamicHelp": false,
1736
- "multiple": false,
1737
- "type": "option"
1738
- },
1739
- "no-auto-activate": {
1740
- "description": "By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.",
1741
- "name": "no-auto-activate",
1742
- "summary": "Disable auto-activation of the sandbox after a successful refresh.",
1743
- "allowNo": false,
1744
- "type": "boolean"
1745
- },
1746
- "wait": {
1747
- "char": "w",
1748
- "description": "If the command continues to run after the wait period, the CLI returns control of the terminal to you and displays the \"<%= config.bin %> org resume sandbox\" command for you run to check the status of the refresh. The displayed command includes the job ID for the running sandbox refresh.",
1749
- "exclusive": [
1750
- "async"
1751
- ],
1752
- "name": "wait",
1753
- "summary": "Number of minutes to poll for sandbox refresh status.",
1754
- "hasDynamicHelp": true,
1755
- "helpValue": "<minutes>",
1756
- "multiple": false,
1757
- "type": "option"
1758
- },
1759
- "poll-interval": {
1760
- "char": "i",
1761
- "exclusive": [
1762
- "async"
1763
- ],
1764
- "name": "poll-interval",
1765
- "summary": "Number of seconds to wait between status polling requests.",
1766
- "hasDynamicHelp": true,
1767
- "helpValue": "<seconds>",
1768
- "multiple": false,
1769
- "type": "option"
1770
- },
1771
- "async": {
1772
- "description": "The command immediately displays the job ID and returns control of the terminal to you. This way, you can continue to use the CLI. To check the status of the sandbox refresh, run \"<%= config.bin %> org resume sandbox\".",
1773
- "exclusive": [
1774
- "wait",
1775
- "poll-interval"
1776
- ],
1777
- "name": "async",
1778
- "summary": "Request the sandbox refresh, but don't wait for it to complete.",
1779
- "allowNo": false,
1780
- "type": "boolean"
1781
- },
1782
- "name": {
1783
- "char": "n",
1784
- "name": "name",
1785
- "summary": "Name of the existing sandbox org in your production org that you want to refresh.",
1786
- "hasDynamicHelp": false,
1787
- "multiple": false,
1788
- "type": "option"
1789
- },
1790
- "definition-file": {
1791
- "char": "f",
1792
- "description": "The sandbox definition file is a blueprint for the sandbox; use the file to change the sandbox configuration during a refresh. If you don't want to change the sandbox configuration when you refresh it, then simply use the --name flag to specify the sandbox and don't use this flag. See <https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm> for all the options you can specify in the definition file.",
1793
- "name": "definition-file",
1794
- "summary": "Path to a sandbox definition file for overriding its configuration when you refresh it.",
1795
- "hasDynamicHelp": false,
1796
- "multiple": false,
1797
- "type": "option"
1798
- },
1799
- "target-org": {
1800
- "char": "o",
1801
- "name": "target-org",
1802
- "noCacheDefault": true,
1803
- "required": true,
1804
- "summary": "Username or alias of the production org that contains the sandbox license.",
1805
- "hasDynamicHelp": true,
1806
- "multiple": false,
1807
- "type": "option"
1808
- },
1809
- "no-prompt": {
1810
- "name": "no-prompt",
1811
- "summary": "Don't prompt for confirmation about the sandbox refresh.",
1812
- "allowNo": false,
1813
- "type": "boolean"
1814
- }
1815
- },
1816
- "hasDynamicHelp": true,
1817
- "hiddenAliases": [],
1818
- "id": "org:refresh:sandbox",
1819
- "pluginAlias": "@salesforce/plugin-org",
1820
- "pluginName": "@salesforce/plugin-org",
1821
- "pluginType": "core",
1822
- "strict": true,
1823
- "summary": "Refresh a sandbox org using the sandbox name.",
1824
- "isESM": true,
1825
- "relativePath": [
1826
- "lib",
1827
- "commands",
1828
- "org",
1829
- "refresh",
1830
- "sandbox.js"
1831
- ],
1832
- "aliasPermutations": [],
1833
- "permutations": [
1834
- "org:refresh:sandbox",
1835
- "refresh:org:sandbox",
1836
- "refresh:sandbox:org",
1837
- "org:sandbox:refresh",
1838
- "sandbox:org:refresh",
1839
- "sandbox:refresh:org"
1840
- ]
1841
1841
  }
1842
1842
  },
1843
- "version": "5.5.5"
1843
+ "version": "5.5.6"
1844
1844
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "Commands to interact with Salesforce orgs",
4
- "version": "5.5.5",
4
+ "version": "5.5.6",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
@@ -227,7 +227,7 @@
227
227
  "exports": "./lib/index.js",
228
228
  "type": "module",
229
229
  "sfdx": {
230
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.5.5.crt",
231
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.5.5.sig"
230
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.5.6.crt",
231
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.5.6.sig"
232
232
  }
233
233
  }