@salesforce/plugin-org 5.5.8 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md 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.8/src/commands/org/create/sandbox.ts)_
245
+ _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/create/scratch.ts)_
427
+ _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/delete/sandbox.ts)_
473
+ _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/delete/scratch.ts)_
517
+ _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/disable/tracking.ts)_
556
+ _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/display.ts)_
601
+ _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/enable/tracking.ts)_
643
+ _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/list.ts)_
682
+ _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/list/metadata.ts)_
749
+ _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/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.6.0/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.8/src/commands/org/open.ts)_
880
+ _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/open/agent.ts)_
931
+ _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/refresh/sandbox.ts)_
1008
+ _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/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.8/src/commands/org/resume/sandbox.ts)_
1071
+ _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/src/commands/org/resume/sandbox.ts)_
1072
1072
 
1073
1073
  ## `sf org resume scratch`
1074
1074
 
@@ -1076,11 +1076,12 @@ Resume the creation of an incomplete scratch org.
1076
1076
 
1077
1077
  ```
1078
1078
  USAGE
1079
- $ sf org resume scratch [--json] [--flags-dir <value>] [-i <value>] [-r]
1079
+ $ sf org resume scratch [--json] [--flags-dir <value>] [-i <value>] [-r] [-w <minutes>]
1080
1080
 
1081
1081
  FLAGS
1082
1082
  -i, --job-id=<value> Job ID of the incomplete scratch org create that you want to resume.
1083
1083
  -r, --use-most-recent Use the job ID of the most recent incomplete scratch org.
1084
+ -w, --wait=<minutes> [default: 0 minutes] Number of minutes to wait for the scratch org to be ready.
1084
1085
 
1085
1086
  GLOBAL FLAGS
1086
1087
  --flags-dir=<value> Import flag values from a directory.
@@ -1113,8 +1114,13 @@ FLAG DESCRIPTIONS
1113
1114
  The job ID is the same as the record ID of the incomplete scratch org in the ScratchOrgInfo object of the Dev Hub.
1114
1115
 
1115
1116
  The job ID is valid for 24 hours after you start the scratch org creation.
1117
+
1118
+ -w, --wait=<minutes> Number of minutes to wait for the scratch org to be ready.
1119
+
1120
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you and
1121
+ returns the job ID. To resume checking the scratch creation, rerun this command.
1116
1122
  ```
1117
1123
 
1118
- _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.5.8/src/commands/org/resume/scratch.ts)_
1124
+ _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.6.0/src/commands/org/resume/scratch.ts)_
1119
1125
 
1120
1126
  <!-- commandsstop -->
@@ -9,6 +9,7 @@ export default class OrgResumeScratch extends SfCommand<ScratchCreateResponse> {
9
9
  static readonly flags: {
10
10
  'job-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
11
  'use-most-recent': import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ wait: import("@oclif/core/interfaces").OptionFlag<import("@salesforce/kit").Duration, import("@oclif/core/interfaces").CustomOptions>;
12
13
  };
13
14
  run(): Promise<ScratchCreateResponse>;
14
15
  }
@@ -32,6 +32,15 @@ export default class OrgResumeScratch extends SfCommand {
32
32
  summary: messages.getMessage('flags.use-most-recent.summary'),
33
33
  exactlyOne: ['use-most-recent', 'job-id'],
34
34
  }),
35
+ wait: Flags.duration({
36
+ char: 'w',
37
+ summary: messages.getMessage('flags.wait.summary'),
38
+ description: messages.getMessage('flags.wait.description'),
39
+ min: 0,
40
+ unit: 'minutes',
41
+ helpValue: '<minutes>',
42
+ defaultValue: 0,
43
+ }),
35
44
  };
36
45
  async run() {
37
46
  const { flags } = await this.parse(OrgResumeScratch);
@@ -85,7 +94,7 @@ export default class OrgResumeScratch extends SfCommand {
85
94
  return Promise.resolve();
86
95
  });
87
96
  try {
88
- const { username, scratchOrgInfo, authFields, warnings } = await scratchOrgResume(jobId);
97
+ const { username, scratchOrgInfo, authFields, warnings } = await scratchOrgResume(jobId, flags.wait);
89
98
  this.log();
90
99
  this.logSuccess(messages.getMessage('success'));
91
100
  return { username, scratchOrgInfo, authFields, warnings, orgId: authFields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AC,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;YAChD,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC;QACtF,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,GAAG,CAAC,KAAK,EAAE,CAAC;YAEZ,IAAI,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,CAAC,IAAI,KAAK,gBAAgB,EAAE,CAAC;gBACtE,8EAA8E;gBAC9E,MAAM,QAAQ,CAAC,WAAW,CAAC,qBAAqB,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;YAC7D,CAAC;iBAAM,CAAC;gBACN,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACxB,CAAC;QACH,CAAC;IACH,CAAC"}
@@ -28,6 +28,14 @@ The job ID is the same as the record ID of the incomplete scratch org in the Scr
28
28
 
29
29
  The job ID is valid for 24 hours after you start the scratch org creation.
30
30
 
31
+ # flags.wait.summary
32
+
33
+ Number of minutes to wait for the scratch org to be ready.
34
+
35
+ # flags.wait.description
36
+
37
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume checking the scratch creation, rerun this command.
38
+
31
39
  # flags.use-most-recent.summary
32
40
 
33
41
  Use the job ID of the most recent incomplete scratch org.
@@ -849,69 +849,6 @@
849
849
  "scratch:create:org"
850
850
  ]
851
851
  },
852
- "org:disable:tracking": {
853
- "aliases": [],
854
- "args": {},
855
- "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.",
856
- "examples": [
857
- "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
858
- "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
859
- "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
860
- ],
861
- "flags": {
862
- "json": {
863
- "description": "Format output as json.",
864
- "helpGroup": "GLOBAL",
865
- "name": "json",
866
- "allowNo": false,
867
- "type": "boolean"
868
- },
869
- "flags-dir": {
870
- "helpGroup": "GLOBAL",
871
- "name": "flags-dir",
872
- "summary": "Import flag values from a directory.",
873
- "hasDynamicHelp": false,
874
- "multiple": false,
875
- "type": "option"
876
- },
877
- "target-org": {
878
- "char": "o",
879
- "name": "target-org",
880
- "noCacheDefault": true,
881
- "required": true,
882
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
883
- "hasDynamicHelp": true,
884
- "multiple": false,
885
- "type": "option"
886
- }
887
- },
888
- "hasDynamicHelp": true,
889
- "hiddenAliases": [],
890
- "id": "org:disable:tracking",
891
- "pluginAlias": "@salesforce/plugin-org",
892
- "pluginName": "@salesforce/plugin-org",
893
- "pluginType": "core",
894
- "strict": true,
895
- "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
896
- "enableJsonFlag": true,
897
- "isESM": true,
898
- "relativePath": [
899
- "lib",
900
- "commands",
901
- "org",
902
- "disable",
903
- "tracking.js"
904
- ],
905
- "aliasPermutations": [],
906
- "permutations": [
907
- "org:disable:tracking",
908
- "disable:org:tracking",
909
- "disable:tracking:org",
910
- "org:tracking:disable",
911
- "tracking:org:disable",
912
- "tracking:disable:org"
913
- ]
914
- },
915
852
  "org:delete:sandbox": {
916
853
  "aliases": [
917
854
  "env:delete:sandbox"
@@ -1080,6 +1017,69 @@
1080
1017
  "scratch:delete:org"
1081
1018
  ]
1082
1019
  },
1020
+ "org:disable:tracking": {
1021
+ "aliases": [],
1022
+ "args": {},
1023
+ "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.",
1024
+ "examples": [
1025
+ "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1026
+ "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1027
+ "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1028
+ ],
1029
+ "flags": {
1030
+ "json": {
1031
+ "description": "Format output as json.",
1032
+ "helpGroup": "GLOBAL",
1033
+ "name": "json",
1034
+ "allowNo": false,
1035
+ "type": "boolean"
1036
+ },
1037
+ "flags-dir": {
1038
+ "helpGroup": "GLOBAL",
1039
+ "name": "flags-dir",
1040
+ "summary": "Import flag values from a directory.",
1041
+ "hasDynamicHelp": false,
1042
+ "multiple": false,
1043
+ "type": "option"
1044
+ },
1045
+ "target-org": {
1046
+ "char": "o",
1047
+ "name": "target-org",
1048
+ "noCacheDefault": true,
1049
+ "required": true,
1050
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1051
+ "hasDynamicHelp": true,
1052
+ "multiple": false,
1053
+ "type": "option"
1054
+ }
1055
+ },
1056
+ "hasDynamicHelp": true,
1057
+ "hiddenAliases": [],
1058
+ "id": "org:disable:tracking",
1059
+ "pluginAlias": "@salesforce/plugin-org",
1060
+ "pluginName": "@salesforce/plugin-org",
1061
+ "pluginType": "core",
1062
+ "strict": true,
1063
+ "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
1064
+ "enableJsonFlag": true,
1065
+ "isESM": true,
1066
+ "relativePath": [
1067
+ "lib",
1068
+ "commands",
1069
+ "org",
1070
+ "disable",
1071
+ "tracking.js"
1072
+ ],
1073
+ "aliasPermutations": [],
1074
+ "permutations": [
1075
+ "org:disable:tracking",
1076
+ "disable:org:tracking",
1077
+ "disable:tracking:org",
1078
+ "org:tracking:disable",
1079
+ "tracking:org:disable",
1080
+ "tracking:disable:org"
1081
+ ]
1082
+ },
1083
1083
  "org:enable:tracking": {
1084
1084
  "aliases": [],
1085
1085
  "args": {},
@@ -1803,9 +1803,20 @@
1803
1803
  "summary": "Use the job ID of the most recent incomplete scratch org.",
1804
1804
  "allowNo": false,
1805
1805
  "type": "boolean"
1806
+ },
1807
+ "wait": {
1808
+ "char": "w",
1809
+ "description": "If the command continues to run after the wait period, the CLI returns control of the terminal window to you and returns the job ID. To resume checking the scratch creation, rerun this command.",
1810
+ "name": "wait",
1811
+ "summary": "Number of minutes to wait for the scratch org to be ready.",
1812
+ "default": "0 minutes",
1813
+ "hasDynamicHelp": true,
1814
+ "helpValue": "<minutes>",
1815
+ "multiple": false,
1816
+ "type": "option"
1806
1817
  }
1807
1818
  },
1808
- "hasDynamicHelp": false,
1819
+ "hasDynamicHelp": true,
1809
1820
  "hiddenAliases": [],
1810
1821
  "id": "org:resume:scratch",
1811
1822
  "pluginAlias": "@salesforce/plugin-org",
@@ -1840,5 +1851,5 @@
1840
1851
  ]
1841
1852
  }
1842
1853
  },
1843
- "version": "5.5.8"
1854
+ "version": "5.6.0"
1844
1855
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "Commands to interact with Salesforce orgs",
4
- "version": "5.5.8",
4
+ "version": "5.6.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "dependencies": {
8
8
  "@oclif/core": "^4.2.10",
9
9
  "@oclif/multi-stage-output": "^0.8.12",
10
- "@salesforce/core": "^8.8.7",
10
+ "@salesforce/core": "^8.9.0",
11
11
  "@salesforce/kit": "^3.2.3",
12
12
  "@salesforce/sf-plugins-core": "^12.2.1",
13
13
  "@salesforce/source-deploy-retrieve": "^12.18.2",
@@ -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.8.crt",
231
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.5.8.sig"
230
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.6.0.crt",
231
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.6.0.sig"
232
232
  }
233
233
  }