@salesforce/plugin-org 5.11.3 → 5.11.5

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
@@ -161,7 +161,7 @@ EXAMPLES
161
161
  $ sf org auth show-access-token --target-org my-org --json
162
162
  ```
163
163
 
164
- _See code: [src/commands/org/auth/show-access-token.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/auth/show-access-token.ts)_
164
+ _See code: [src/commands/org/auth/show-access-token.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/auth/show-access-token.ts)_
165
165
 
166
166
  ## `sf org auth show-sfdx-auth-url`
167
167
 
@@ -205,7 +205,7 @@ EXAMPLES
205
205
  $ sf org auth show-sfdx-auth-url --target-org my-org --json
206
206
  ```
207
207
 
208
- _See code: [src/commands/org/auth/show-sfdx-auth-url.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/auth/show-sfdx-auth-url.ts)_
208
+ _See code: [src/commands/org/auth/show-sfdx-auth-url.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/auth/show-sfdx-auth-url.ts)_
209
209
 
210
210
  ## `sf org auth show-user-password`
211
211
 
@@ -252,7 +252,7 @@ EXAMPLES
252
252
  $ sf org auth show-user-password --target-org my-org --json
253
253
  ```
254
254
 
255
- _See code: [src/commands/org/auth/show-user-password.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/auth/show-user-password.ts)_
255
+ _See code: [src/commands/org/auth/show-user-password.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/auth/show-user-password.ts)_
256
256
 
257
257
  ## `sf org create agent-user`
258
258
 
@@ -330,7 +330,7 @@ FLAG DESCRIPTIONS
330
330
  "agent.user.<GUID>@your-org-domain.com".
331
331
  ```
332
332
 
333
- _See code: [src/commands/org/create/agent-user.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/create/agent-user.ts)_
333
+ _See code: [src/commands/org/create/agent-user.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/create/agent-user.ts)_
334
334
 
335
335
  ## `sf org create sandbox`
336
336
 
@@ -464,7 +464,7 @@ FLAG DESCRIPTIONS
464
464
  You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
465
465
  ```
466
466
 
467
- _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/create/sandbox.ts)_
467
+ _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/create/sandbox.ts)_
468
468
 
469
469
  ## `sf org create scratch`
470
470
 
@@ -646,7 +646,7 @@ FLAG DESCRIPTIONS
646
646
  Omit this flag to have Salesforce generate a unique username for your org.
647
647
  ```
648
648
 
649
- _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/create/scratch.ts)_
649
+ _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/create/scratch.ts)_
650
650
 
651
651
  ## `sf org delete sandbox`
652
652
 
@@ -692,7 +692,7 @@ EXAMPLES
692
692
  $ sf org delete sandbox --target-org my-sandbox --no-prompt
693
693
  ```
694
694
 
695
- _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/delete/sandbox.ts)_
695
+ _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/delete/sandbox.ts)_
696
696
 
697
697
  ## `sf org delete scratch`
698
698
 
@@ -736,7 +736,7 @@ EXAMPLES
736
736
  $ sf org delete scratch --target-org my-scratch-org --no-prompt
737
737
  ```
738
738
 
739
- _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/delete/scratch.ts)_
739
+ _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/delete/scratch.ts)_
740
740
 
741
741
  ## `sf org disable tracking`
742
742
 
@@ -775,7 +775,7 @@ EXAMPLES
775
775
  $ sf org disable tracking
776
776
  ```
777
777
 
778
- _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/disable/tracking.ts)_
778
+ _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/disable/tracking.ts)_
779
779
 
780
780
  ## `sf org display`
781
781
 
@@ -820,7 +820,7 @@ EXAMPLES
820
820
  $ sf org display --target-org TestOrg1 --verbose
821
821
  ```
822
822
 
823
- _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/display.ts)_
823
+ _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/display.ts)_
824
824
 
825
825
  ## `sf org enable tracking`
826
826
 
@@ -862,7 +862,7 @@ EXAMPLES
862
862
  $ sf org enable tracking
863
863
  ```
864
864
 
865
- _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/enable/tracking.ts)_
865
+ _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/enable/tracking.ts)_
866
866
 
867
867
  ## `sf org list`
868
868
 
@@ -901,7 +901,7 @@ EXAMPLES
901
901
  $ sf org list --clean
902
902
  ```
903
903
 
904
- _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/list.ts)_
904
+ _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/list.ts)_
905
905
 
906
906
  ## `sf org list metadata`
907
907
 
@@ -968,7 +968,7 @@ FLAG DESCRIPTIONS
968
968
  Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
969
969
  ```
970
970
 
971
- _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/list/metadata.ts)_
971
+ _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/list/metadata.ts)_
972
972
 
973
973
  ## `sf org list metadata-types`
974
974
 
@@ -1023,7 +1023,7 @@ FLAG DESCRIPTIONS
1023
1023
  Override the api version used for api requests made by this command
1024
1024
  ```
1025
1025
 
1026
- _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/list/metadata-types.ts)_
1026
+ _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/list/metadata-types.ts)_
1027
1027
 
1028
1028
  ## `sf org open`
1029
1029
 
@@ -1099,11 +1099,11 @@ EXAMPLES
1099
1099
  $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
1100
1100
  ```
1101
1101
 
1102
- _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/open.ts)_
1102
+ _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/open.ts)_
1103
1103
 
1104
1104
  ## `sf org open agent`
1105
1105
 
1106
- Open an agent in your org's Agent Builder UI in a browser.
1106
+ Open an agent in your org's Agentforce Builder UI in a browser.
1107
1107
 
1108
1108
  ```
1109
1109
  USAGE
@@ -1114,35 +1114,35 @@ FLAGS
1114
1114
  -b, --browser=<option> Browser where the org opens.
1115
1115
  <options: chrome|edge|firefox>
1116
1116
  -n, --api-name=<value> API name, also known as developer name, of the agent you want to open in the org's
1117
- Agent Builder UI.
1117
+ Agentforce Builder UI.
1118
1118
  -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1119
1119
  configuration variable is already set.
1120
1120
  -r, --url-only Display navigation URL, but don’t launch browser.
1121
1121
  --api-version=<value> Override the api version used for api requests made by this command
1122
- --authoring-bundle=<value> API name of the agent to open in Agentforce Builder.
1123
- --private Open the org in the default browser using private (incognito) mode.
1124
- --version=<value> Version number of the agent to open in Agentforce Builder.
1122
+ --authoring-bundle=<value> API name of the agent's authoring bundle to open in Agentforce Builder.
1123
+ --private Open the agent in the default browser using private (incognito) mode.
1124
+ --version=<value> Version number of the agent to open in Agentforce Builder. If not specified, the
1125
+ highest version is opened by default.
1125
1126
 
1126
1127
  GLOBAL FLAGS
1127
1128
  --flags-dir=<value> Import flag values from a directory.
1128
1129
  --json Format output as json.
1129
1130
 
1130
1131
  DESCRIPTION
1131
- Open an agent in your org's Agent Builder UI in a browser.
1132
+ Open an agent in your org's Agentforce Builder UI in a browser.
1132
1133
 
1133
- Use the --api-name flag to open an agent using its API name in the Agent Builder UI of your org. To find the agent's
1134
- API name, go to Setup in your org and navigate to the agent's details page.
1135
-
1136
- Alternatively, use the --authoring-bundle flag to open an agent in Agentforce Builder. Optionally include --version to
1137
- open a specific version of the agent. You'll specify the api name of the authoring bundle.
1134
+ Use the --api-name flag to open an agent using its API name in the Agentforce Builder UI of your org. Alternatively,
1135
+ use the --authoring-bundle flag to open an agent using the API name of its authoring bundle. The two API names are
1136
+ typically the same for the same agent. Optionally specify the --version flag to open a specific version of the agent.
1138
1137
 
1139
1138
  To generate the URL but not launch it in your browser, specify --url-only.
1140
1139
 
1141
- To open Agent Builder in a specific browser, use the --browser flag. Supported browsers are "chrome", "edge", and
1140
+ To open Agentforce Builder in a specific browser, use the --browser flag. Supported browsers are "chrome", "edge", and
1142
1141
  "firefox". If you don't specify --browser, the org opens in your default browser.
1143
1142
 
1144
1143
  EXAMPLES
1145
- Open the agent with API name Coral_Cloud_Agent in your default org using your default browser:
1144
+ Open the agent with API name Coral_Cloud_Agent in your default org using your default browser; opens the highest
1145
+ version:
1146
1146
 
1147
1147
  $ sf org open agent --api-name Coral_Cloud_Agent
1148
1148
 
@@ -1154,27 +1154,16 @@ EXAMPLES
1154
1154
 
1155
1155
  $ sf org open agent --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent
1156
1156
 
1157
- Open an agent in Agentforce Builder using its authoring bundle name:
1158
-
1159
- $ sf org open agent --authoring-bundle MyAgent
1160
-
1161
- Open a specific version of an agent in Agentforce Builder:
1162
-
1163
- $ sf org open agent --authoring-bundle MyAgent --version 1
1164
-
1165
- FLAG DESCRIPTIONS
1166
- --authoring-bundle=<value> API name of the agent to open in Agentforce Builder.
1157
+ Open an agent in Agentforce Builder using its authoring bundle API name:
1167
1158
 
1168
- The API name of the agent to open directly in Agentforce Builder. Optionally specify --version to open a specific
1169
- version.
1159
+ $ sf org open agent --authoring-bundle Coral_Cloud_Agent
1170
1160
 
1171
- --version=<value> Version number of the agent to open in Agentforce Builder.
1161
+ Open a version 1 of an agent in Agentforce Builder:
1172
1162
 
1173
- The version number of the agent to open directly in Agentforce Builder. Can only be used with the --authoring-bundle
1174
- flag.
1163
+ $ sf org open agent --authoring-bundle Coral_Cloud_Agent --version 1
1175
1164
  ```
1176
1165
 
1177
- _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/open/agent.ts)_
1166
+ _See code: [src/commands/org/open/agent.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/open/agent.ts)_
1178
1167
 
1179
1168
  ## `sf org open authoring-bundle`
1180
1169
 
@@ -1220,7 +1209,7 @@ EXAMPLES
1220
1209
  $ sf org open authoring-bundle --target-org MyTestOrg1 --browser firefox
1221
1210
  ```
1222
1211
 
1223
- _See code: [src/commands/org/open/authoring-bundle.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/open/authoring-bundle.ts)_
1212
+ _See code: [src/commands/org/open/authoring-bundle.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/open/authoring-bundle.ts)_
1224
1213
 
1225
1214
  ## `sf org refresh sandbox`
1226
1215
 
@@ -1323,7 +1312,7 @@ FLAG DESCRIPTIONS
1323
1312
  You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
1324
1313
  ```
1325
1314
 
1326
- _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/refresh/sandbox.ts)_
1315
+ _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/refresh/sandbox.ts)_
1327
1316
 
1328
1317
  ## `sf org resume sandbox`
1329
1318
 
@@ -1386,7 +1375,7 @@ FLAG DESCRIPTIONS
1386
1375
  returns the job ID. To resume checking the sandbox creation, rerun this command.
1387
1376
  ```
1388
1377
 
1389
- _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/resume/sandbox.ts)_
1378
+ _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/resume/sandbox.ts)_
1390
1379
 
1391
1380
  ## `sf org resume scratch`
1392
1381
 
@@ -1439,6 +1428,6 @@ FLAG DESCRIPTIONS
1439
1428
  returns the job ID. To resume checking the scratch creation, rerun this command.
1440
1429
  ```
1441
1430
 
1442
- _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.3/src/commands/org/resume/scratch.ts)_
1431
+ _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/5.11.5/src/commands/org/resume/scratch.ts)_
1443
1432
 
1444
1433
  <!-- commandsstop -->
@@ -49,12 +49,10 @@ export class OrgOpenAgent extends OrgOpenCommandBase {
49
49
  }),
50
50
  'authoring-bundle': Flags.string({
51
51
  summary: messages.getMessage('flags.authoring-bundle.summary'),
52
- description: messages.getMessage('flags.authoring-bundle.description'),
53
52
  exactlyOne: ['api-name', 'authoring-bundle'],
54
53
  }),
55
54
  version: Flags.string({
56
55
  summary: messages.getMessage('flags.version.summary'),
57
- description: messages.getMessage('flags.version.description'),
58
56
  }),
59
57
  };
60
58
  async run() {
@@ -1 +1 @@
1
- {"version":3,"file":"agent.js","sourceRoot":"","sources":["../../../../src/commands/org/open/agent.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAc,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAG3E,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;AAE/E,MAAM,OAAO,YAAa,SAAQ,kBAAiC;IAC1D,MAAM,CAAU,OAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,CAAU,WAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjE,MAAM,CAAU,QAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IAE5D,MAAM,CAAU,KAAK,GAAG;QAC7B,GAAG,kBAAkB,CAAC,KAAK;QAC3B,YAAY,EAAE,KAAK,CAAC,WAAW,EAAE;QACjC,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE;QACpC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC;YACvB,IAAI,EAAE,GAAG;YACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,wBAAwB,CAAC;YACtD,UAAU,EAAE,CAAC,UAAU,EAAE,kBAAkB,CAAC;SAC7C,CAAC;QACF,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;YACrB,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;YACrD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eAAe,CAAC,CAAC;IACrG,CAAC;IAED,MAAM,WAAW,GAAG,IAAI,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC;IAC9D,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,YAAY,GAAG,oDAAoD,KAAK,uBAAuB,OAAO,EAAE,CAAC;QAC/G,IAAI,CAAC;YACH,MAAM,SAAS,GAAG,CAAC,MAAM,IAAI,CAAC,iBAAiB,CAAiB,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;YAClF,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;QAC1C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,OAAO,CACf,eAAe,OAAO,sBAAsB,OAAO,sBAAsB,EACzE,sBAAsB,CACvB,CAAC;QACJ,CAAC;IACH,CAAC;IACD,OAAO,gDAAgD,WAAW,CAAC,QAAQ,EAAE,EAAE,CAAC;AAClF,CAAC,CAAC"}
@@ -1,20 +1,18 @@
1
1
  # summary
2
2
 
3
- Open an agent in your org's Agent Builder UI in a browser.
3
+ Open an agent in your org's Agentforce Builder UI in a browser.
4
4
 
5
5
  # description
6
6
 
7
- Use the --api-name flag to open an agent using its API name in the Agent Builder UI of your org. To find the agent's API name, go to Setup in your org and navigate to the agent's details page.
8
-
9
- Alternatively, use the --authoring-bundle flag to open an agent in Agentforce Builder. Optionally include --version to open a specific version of the agent. You'll specify the api name of the authoring bundle.
7
+ Use the --api-name flag to open an agent using its API name in the Agentforce Builder UI of your org. Alternatively, use the --authoring-bundle flag to open an agent using the API name of its authoring bundle. The two API names are typically the same for the same agent. Optionally specify the --version flag to open a specific version of the agent.
10
8
 
11
9
  To generate the URL but not launch it in your browser, specify --url-only.
12
10
 
13
- To open Agent Builder in a specific browser, use the --browser flag. Supported browsers are "chrome", "edge", and "firefox". If you don't specify --browser, the org opens in your default browser.
11
+ To open Agentforce Builder in a specific browser, use the --browser flag. Supported browsers are "chrome", "edge", and "firefox". If you don't specify --browser, the org opens in your default browser.
14
12
 
15
13
  # examples
16
14
 
17
- - Open the agent with API name Coral_Cloud_Agent in your default org using your default browser:
15
+ - Open the agent with API name Coral_Cloud_Agent in your default org using your default browser; opens the highest version:
18
16
 
19
17
  $ <%= config.bin %> <%= command.id %> --api-name Coral_Cloud_Agent
20
18
 
@@ -26,21 +24,21 @@ To open Agent Builder in a specific browser, use the --browser flag. Supported b
26
24
 
27
25
  $ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent
28
26
 
29
- - Open an agent in Agentforce Builder using its authoring bundle name:
27
+ - Open an agent in Agentforce Builder using its authoring bundle API name:
30
28
 
31
- $ <%= config.bin %> <%= command.id %> --authoring-bundle MyAgent
29
+ $ <%= config.bin %> <%= command.id %> --authoring-bundle Coral_Cloud_Agent
32
30
 
33
- - Open a specific version of an agent in Agentforce Builder:
31
+ - Open a version 1 of an agent in Agentforce Builder:
34
32
 
35
- $ <%= config.bin %> <%= command.id %> --authoring-bundle MyAgent --version 1
33
+ $ <%= config.bin %> <%= command.id %> --authoring-bundle Coral_Cloud_Agent --version 1
36
34
 
37
35
  # flags.api-name.summary
38
36
 
39
- API name, also known as developer name, of the agent you want to open in the org's Agent Builder UI.
37
+ API name, also known as developer name, of the agent you want to open in the org's Agentforce Builder UI.
40
38
 
41
39
  # flags.private.summary
42
40
 
43
- Open the org in the default browser using private (incognito) mode.
41
+ Open the agent in the default browser using private (incognito) mode.
44
42
 
45
43
  # flags.browser.summary
46
44
 
@@ -52,18 +50,8 @@ Display navigation URL, but don’t launch browser.
52
50
 
53
51
  # flags.authoring-bundle.summary
54
52
 
55
- API name of the agent to open in Agentforce Builder.
56
-
57
- # flags.authoring-bundle.description
58
-
59
- The API name of the agent to open directly in Agentforce Builder. Optionally specify --version to open a specific
60
- version.
53
+ API name of the agent's authoring bundle to open in Agentforce Builder.
61
54
 
62
55
  # flags.version.summary
63
56
 
64
- Version number of the agent to open in Agentforce Builder.
65
-
66
- # flags.version.description
67
-
68
- The version number of the agent to open directly in Agentforce Builder. Can only be used with the --authoring-bundle
69
- flag.
57
+ Version number of the agent to open in Agentforce Builder. If not specified, the highest version is opened by default.
@@ -1389,6 +1389,69 @@
1389
1389
  "tracking:disable:org"
1390
1390
  ]
1391
1391
  },
1392
+ "org:enable:tracking": {
1393
+ "aliases": [],
1394
+ "args": {},
1395
+ "description": "Enabling 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 source tracking operations are executed when working with the org.\n\nThis command throws an error if the org doesn't support tracking. Examples of orgs that don't support source tracking include Developer Edition orgs, production orgs, Partial Copy sandboxes, and Full sandboxes.",
1396
+ "examples": [
1397
+ "Enable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1398
+ "Enable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1399
+ "Enable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1400
+ ],
1401
+ "flags": {
1402
+ "json": {
1403
+ "description": "Format output as json.",
1404
+ "helpGroup": "GLOBAL",
1405
+ "name": "json",
1406
+ "allowNo": false,
1407
+ "type": "boolean"
1408
+ },
1409
+ "flags-dir": {
1410
+ "helpGroup": "GLOBAL",
1411
+ "name": "flags-dir",
1412
+ "summary": "Import flag values from a directory.",
1413
+ "hasDynamicHelp": false,
1414
+ "multiple": false,
1415
+ "type": "option"
1416
+ },
1417
+ "target-org": {
1418
+ "char": "o",
1419
+ "name": "target-org",
1420
+ "noCacheDefault": true,
1421
+ "required": true,
1422
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1423
+ "hasDynamicHelp": true,
1424
+ "multiple": false,
1425
+ "type": "option"
1426
+ }
1427
+ },
1428
+ "hasDynamicHelp": true,
1429
+ "hiddenAliases": [],
1430
+ "id": "org:enable:tracking",
1431
+ "pluginAlias": "@salesforce/plugin-org",
1432
+ "pluginName": "@salesforce/plugin-org",
1433
+ "pluginType": "core",
1434
+ "strict": true,
1435
+ "summary": "Allow Salesforce CLI to track changes in your source files between your project and an org.",
1436
+ "enableJsonFlag": true,
1437
+ "isESM": true,
1438
+ "relativePath": [
1439
+ "lib",
1440
+ "commands",
1441
+ "org",
1442
+ "enable",
1443
+ "tracking.js"
1444
+ ],
1445
+ "aliasPermutations": [],
1446
+ "permutations": [
1447
+ "org:enable:tracking",
1448
+ "enable:org:tracking",
1449
+ "enable:tracking:org",
1450
+ "org:tracking:enable",
1451
+ "tracking:org:enable",
1452
+ "tracking:enable:org"
1453
+ ]
1454
+ },
1392
1455
  "org:list:metadata-types": {
1393
1456
  "aliases": [
1394
1457
  "force:mdapi:describemetadata"
@@ -1648,79 +1711,16 @@
1648
1711
  "metadata:list:org"
1649
1712
  ]
1650
1713
  },
1651
- "org:enable:tracking": {
1652
- "aliases": [],
1653
- "args": {},
1654
- "description": "Enabling 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 source tracking operations are executed when working with the org.\n\nThis command throws an error if the org doesn't support tracking. Examples of orgs that don't support source tracking include Developer Edition orgs, production orgs, Partial Copy sandboxes, and Full sandboxes.",
1655
- "examples": [
1656
- "Enable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1657
- "Enable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1658
- "Enable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1659
- ],
1660
- "flags": {
1661
- "json": {
1662
- "description": "Format output as json.",
1663
- "helpGroup": "GLOBAL",
1664
- "name": "json",
1665
- "allowNo": false,
1666
- "type": "boolean"
1667
- },
1668
- "flags-dir": {
1669
- "helpGroup": "GLOBAL",
1670
- "name": "flags-dir",
1671
- "summary": "Import flag values from a directory.",
1672
- "hasDynamicHelp": false,
1673
- "multiple": false,
1674
- "type": "option"
1675
- },
1676
- "target-org": {
1677
- "char": "o",
1678
- "name": "target-org",
1679
- "noCacheDefault": true,
1680
- "required": true,
1681
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1682
- "hasDynamicHelp": true,
1683
- "multiple": false,
1684
- "type": "option"
1685
- }
1686
- },
1687
- "hasDynamicHelp": true,
1688
- "hiddenAliases": [],
1689
- "id": "org:enable:tracking",
1690
- "pluginAlias": "@salesforce/plugin-org",
1691
- "pluginName": "@salesforce/plugin-org",
1692
- "pluginType": "core",
1693
- "strict": true,
1694
- "summary": "Allow Salesforce CLI to track changes in your source files between your project and an org.",
1695
- "enableJsonFlag": true,
1696
- "isESM": true,
1697
- "relativePath": [
1698
- "lib",
1699
- "commands",
1700
- "org",
1701
- "enable",
1702
- "tracking.js"
1703
- ],
1704
- "aliasPermutations": [],
1705
- "permutations": [
1706
- "org:enable:tracking",
1707
- "enable:org:tracking",
1708
- "enable:tracking:org",
1709
- "org:tracking:enable",
1710
- "tracking:org:enable",
1711
- "tracking:enable:org"
1712
- ]
1713
- },
1714
1714
  "org:open:agent": {
1715
1715
  "aliases": [],
1716
1716
  "args": {},
1717
- "description": "Use the --api-name flag to open an agent using its API name in the Agent Builder UI of your org. To find the agent's API name, go to Setup in your org and navigate to the agent's details page.\n\nAlternatively, use the --authoring-bundle flag to open an agent in Agentforce Builder. Optionally include --version to open a specific version of the agent. You'll specify the api name of the authoring bundle.\n\nTo generate the URL but not launch it in your browser, specify --url-only.\n\nTo open Agent Builder in a specific browser, use the --browser flag. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
1717
+ "description": "Use the --api-name flag to open an agent using its API name in the Agentforce Builder UI of your org. Alternatively, use the --authoring-bundle flag to open an agent using the API name of its authoring bundle. The two API names are typically the same for the same agent. Optionally specify the --version flag to open a specific version of the agent.\n\nTo generate the URL but not launch it in your browser, specify --url-only.\n\nTo open Agentforce Builder in a specific browser, use the --browser flag. Supported browsers are \"chrome\", \"edge\", and \"firefox\". If you don't specify --browser, the org opens in your default browser.",
1718
1718
  "examples": [
1719
- "Open the agent with API name Coral_Cloud_Agent in your default org using your default browser:\n$ <%= config.bin %> <%= command.id %> --api-name Coral_Cloud_Agent",
1719
+ "Open the agent with API name Coral_Cloud_Agent in your default org using your default browser; opens the highest version:\n$ <%= config.bin %> <%= command.id %> --api-name Coral_Cloud_Agent",
1720
1720
  "Open the agent in an incognito window of your default browser:\n$ <%= config.bin %> <%= command.id %> --private --api-name Coral_Cloud_Agent:",
1721
1721
  "Open the agent in an org with alias MyTestOrg1 using the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox --api-name Coral_Cloud_Agent",
1722
- "Open an agent in Agentforce Builder using its authoring bundle name:\n$ <%= config.bin %> <%= command.id %> --authoring-bundle MyAgent",
1723
- "Open a specific version of an agent in Agentforce Builder:\n$ <%= config.bin %> <%= command.id %> --authoring-bundle MyAgent --version 1"
1722
+ "Open an agent in Agentforce Builder using its authoring bundle API name:\n$ <%= config.bin %> <%= command.id %> --authoring-bundle Coral_Cloud_Agent",
1723
+ "Open a version 1 of an agent in Agentforce Builder:\n$ <%= config.bin %> <%= command.id %> --authoring-bundle Coral_Cloud_Agent --version 1"
1724
1724
  ],
1725
1725
  "flags": {
1726
1726
  "json": {
@@ -1758,7 +1758,7 @@
1758
1758
  "api-name": {
1759
1759
  "char": "n",
1760
1760
  "name": "api-name",
1761
- "summary": "API name, also known as developer name, of the agent you want to open in the org's Agent Builder UI.",
1761
+ "summary": "API name, also known as developer name, of the agent you want to open in the org's Agentforce Builder UI.",
1762
1762
  "hasDynamicHelp": false,
1763
1763
  "multiple": false,
1764
1764
  "type": "option"
@@ -1769,7 +1769,7 @@
1769
1769
  "browser"
1770
1770
  ],
1771
1771
  "name": "private",
1772
- "summary": "Open the org in the default browser using private (incognito) mode.",
1772
+ "summary": "Open the agent in the default browser using private (incognito) mode.",
1773
1773
  "allowNo": false,
1774
1774
  "type": "boolean"
1775
1775
  },
@@ -1802,17 +1802,15 @@
1802
1802
  "type": "boolean"
1803
1803
  },
1804
1804
  "authoring-bundle": {
1805
- "description": "The API name of the agent to open directly in Agentforce Builder. Optionally specify --version to open a specific\nversion.",
1806
1805
  "name": "authoring-bundle",
1807
- "summary": "API name of the agent to open in Agentforce Builder.",
1806
+ "summary": "API name of the agent's authoring bundle to open in Agentforce Builder.",
1808
1807
  "hasDynamicHelp": false,
1809
1808
  "multiple": false,
1810
1809
  "type": "option"
1811
1810
  },
1812
1811
  "version": {
1813
- "description": "The version number of the agent to open directly in Agentforce Builder. Can only be used with the --authoring-bundle\nflag.",
1814
1812
  "name": "version",
1815
- "summary": "Version number of the agent to open in Agentforce Builder.",
1813
+ "summary": "Version number of the agent to open in Agentforce Builder. If not specified, the highest version is opened by default.",
1816
1814
  "hasDynamicHelp": false,
1817
1815
  "multiple": false,
1818
1816
  "type": "option"
@@ -1825,7 +1823,7 @@
1825
1823
  "pluginName": "@salesforce/plugin-org",
1826
1824
  "pluginType": "core",
1827
1825
  "strict": true,
1828
- "summary": "Open an agent in your org's Agent Builder UI in a browser.",
1826
+ "summary": "Open an agent in your org's Agentforce Builder UI in a browser.",
1829
1827
  "enableJsonFlag": true,
1830
1828
  "isESM": true,
1831
1829
  "relativePath": [
@@ -1957,6 +1955,157 @@
1957
1955
  "authoring-bundle:open:org"
1958
1956
  ]
1959
1957
  },
1958
+ "org:refresh:sandbox": {
1959
+ "aliases": [],
1960
+ "args": {},
1961
+ "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. You can also use the --source-id or --source-sandbox-name flags to change the refreshed sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the new source org's metadata.\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.",
1962
+ "examples": [
1963
+ "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",
1964
+ "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",
1965
+ "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",
1966
+ "Refresh the sandbox named \"devSbx2\" by changing its original source org to be a sandbox called \"devSbx3\":\n<%= config.bin %> <%= command.id %> --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg"
1967
+ ],
1968
+ "flags": {
1969
+ "json": {
1970
+ "description": "Format output as json.",
1971
+ "helpGroup": "GLOBAL",
1972
+ "name": "json",
1973
+ "allowNo": false,
1974
+ "type": "boolean"
1975
+ },
1976
+ "flags-dir": {
1977
+ "helpGroup": "GLOBAL",
1978
+ "name": "flags-dir",
1979
+ "summary": "Import flag values from a directory.",
1980
+ "hasDynamicHelp": false,
1981
+ "multiple": false,
1982
+ "type": "option"
1983
+ },
1984
+ "no-auto-activate": {
1985
+ "description": "By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.",
1986
+ "name": "no-auto-activate",
1987
+ "summary": "Disable auto-activation of the sandbox after a successful refresh.",
1988
+ "allowNo": false,
1989
+ "type": "boolean"
1990
+ },
1991
+ "wait": {
1992
+ "char": "w",
1993
+ "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.",
1994
+ "exclusive": [
1995
+ "async"
1996
+ ],
1997
+ "name": "wait",
1998
+ "summary": "Number of minutes to poll for sandbox refresh status.",
1999
+ "hasDynamicHelp": true,
2000
+ "helpValue": "<minutes>",
2001
+ "multiple": false,
2002
+ "type": "option"
2003
+ },
2004
+ "poll-interval": {
2005
+ "char": "i",
2006
+ "exclusive": [
2007
+ "async"
2008
+ ],
2009
+ "name": "poll-interval",
2010
+ "summary": "Number of seconds to wait between status polling requests.",
2011
+ "hasDynamicHelp": true,
2012
+ "helpValue": "<seconds>",
2013
+ "multiple": false,
2014
+ "type": "option"
2015
+ },
2016
+ "source-sandbox-name": {
2017
+ "description": "The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.\n\nYou can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.",
2018
+ "exclusive": [
2019
+ "source-id"
2020
+ ],
2021
+ "name": "source-sandbox-name",
2022
+ "summary": "Name of the sandbox org that becomes the new source org for the refreshed sandbox.",
2023
+ "hasDynamicHelp": false,
2024
+ "multiple": false,
2025
+ "type": "option"
2026
+ },
2027
+ "source-id": {
2028
+ "description": "The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.\n\nYou can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.",
2029
+ "exclusive": [
2030
+ "source-sandbox-name"
2031
+ ],
2032
+ "name": "source-id",
2033
+ "summary": "ID of the sandbox org that becomes the new source org for the refreshed sandbox.",
2034
+ "hasDynamicHelp": false,
2035
+ "multiple": false,
2036
+ "type": "option"
2037
+ },
2038
+ "async": {
2039
+ "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\".",
2040
+ "exclusive": [
2041
+ "wait",
2042
+ "poll-interval"
2043
+ ],
2044
+ "name": "async",
2045
+ "summary": "Request the sandbox refresh, but don't wait for it to complete.",
2046
+ "allowNo": false,
2047
+ "type": "boolean"
2048
+ },
2049
+ "name": {
2050
+ "char": "n",
2051
+ "name": "name",
2052
+ "summary": "Name of the existing sandbox org in your production org that you want to refresh.",
2053
+ "hasDynamicHelp": false,
2054
+ "multiple": false,
2055
+ "type": "option"
2056
+ },
2057
+ "definition-file": {
2058
+ "char": "f",
2059
+ "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.",
2060
+ "name": "definition-file",
2061
+ "summary": "Path to a sandbox definition file for overriding its configuration when you refresh it.",
2062
+ "hasDynamicHelp": false,
2063
+ "multiple": false,
2064
+ "type": "option"
2065
+ },
2066
+ "target-org": {
2067
+ "char": "o",
2068
+ "name": "target-org",
2069
+ "noCacheDefault": true,
2070
+ "required": true,
2071
+ "summary": "Username or alias of the production org that contains the sandbox license.",
2072
+ "hasDynamicHelp": true,
2073
+ "multiple": false,
2074
+ "type": "option"
2075
+ },
2076
+ "no-prompt": {
2077
+ "name": "no-prompt",
2078
+ "summary": "Don't prompt for confirmation about the sandbox refresh.",
2079
+ "allowNo": false,
2080
+ "type": "boolean"
2081
+ }
2082
+ },
2083
+ "hasDynamicHelp": true,
2084
+ "hiddenAliases": [],
2085
+ "id": "org:refresh:sandbox",
2086
+ "pluginAlias": "@salesforce/plugin-org",
2087
+ "pluginName": "@salesforce/plugin-org",
2088
+ "pluginType": "core",
2089
+ "strict": true,
2090
+ "summary": "Refresh a sandbox org using the sandbox name.",
2091
+ "isESM": true,
2092
+ "relativePath": [
2093
+ "lib",
2094
+ "commands",
2095
+ "org",
2096
+ "refresh",
2097
+ "sandbox.js"
2098
+ ],
2099
+ "aliasPermutations": [],
2100
+ "permutations": [
2101
+ "org:refresh:sandbox",
2102
+ "refresh:org:sandbox",
2103
+ "refresh:sandbox:org",
2104
+ "org:sandbox:refresh",
2105
+ "sandbox:org:refresh",
2106
+ "sandbox:refresh:org"
2107
+ ]
2108
+ },
1960
2109
  "org:resume:sandbox": {
1961
2110
  "aliases": [
1962
2111
  "env:resume:sandbox"
@@ -2158,158 +2307,7 @@
2158
2307
  "scratch:org:resume",
2159
2308
  "scratch:resume:org"
2160
2309
  ]
2161
- },
2162
- "org:refresh:sandbox": {
2163
- "aliases": [],
2164
- "args": {},
2165
- "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. You can also use the --source-id or --source-sandbox-name flags to change the refreshed sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the new source org's metadata.\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.",
2166
- "examples": [
2167
- "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",
2168
- "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",
2169
- "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",
2170
- "Refresh the sandbox named \"devSbx2\" by changing its original source org to be a sandbox called \"devSbx3\":\n<%= config.bin %> <%= command.id %> --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg"
2171
- ],
2172
- "flags": {
2173
- "json": {
2174
- "description": "Format output as json.",
2175
- "helpGroup": "GLOBAL",
2176
- "name": "json",
2177
- "allowNo": false,
2178
- "type": "boolean"
2179
- },
2180
- "flags-dir": {
2181
- "helpGroup": "GLOBAL",
2182
- "name": "flags-dir",
2183
- "summary": "Import flag values from a directory.",
2184
- "hasDynamicHelp": false,
2185
- "multiple": false,
2186
- "type": "option"
2187
- },
2188
- "no-auto-activate": {
2189
- "description": "By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.",
2190
- "name": "no-auto-activate",
2191
- "summary": "Disable auto-activation of the sandbox after a successful refresh.",
2192
- "allowNo": false,
2193
- "type": "boolean"
2194
- },
2195
- "wait": {
2196
- "char": "w",
2197
- "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.",
2198
- "exclusive": [
2199
- "async"
2200
- ],
2201
- "name": "wait",
2202
- "summary": "Number of minutes to poll for sandbox refresh status.",
2203
- "hasDynamicHelp": true,
2204
- "helpValue": "<minutes>",
2205
- "multiple": false,
2206
- "type": "option"
2207
- },
2208
- "poll-interval": {
2209
- "char": "i",
2210
- "exclusive": [
2211
- "async"
2212
- ],
2213
- "name": "poll-interval",
2214
- "summary": "Number of seconds to wait between status polling requests.",
2215
- "hasDynamicHelp": true,
2216
- "helpValue": "<seconds>",
2217
- "multiple": false,
2218
- "type": "option"
2219
- },
2220
- "source-sandbox-name": {
2221
- "description": "The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.\n\nYou can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.",
2222
- "exclusive": [
2223
- "source-id"
2224
- ],
2225
- "name": "source-sandbox-name",
2226
- "summary": "Name of the sandbox org that becomes the new source org for the refreshed sandbox.",
2227
- "hasDynamicHelp": false,
2228
- "multiple": false,
2229
- "type": "option"
2230
- },
2231
- "source-id": {
2232
- "description": "The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.\n\nYou can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.",
2233
- "exclusive": [
2234
- "source-sandbox-name"
2235
- ],
2236
- "name": "source-id",
2237
- "summary": "ID of the sandbox org that becomes the new source org for the refreshed sandbox.",
2238
- "hasDynamicHelp": false,
2239
- "multiple": false,
2240
- "type": "option"
2241
- },
2242
- "async": {
2243
- "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\".",
2244
- "exclusive": [
2245
- "wait",
2246
- "poll-interval"
2247
- ],
2248
- "name": "async",
2249
- "summary": "Request the sandbox refresh, but don't wait for it to complete.",
2250
- "allowNo": false,
2251
- "type": "boolean"
2252
- },
2253
- "name": {
2254
- "char": "n",
2255
- "name": "name",
2256
- "summary": "Name of the existing sandbox org in your production org that you want to refresh.",
2257
- "hasDynamicHelp": false,
2258
- "multiple": false,
2259
- "type": "option"
2260
- },
2261
- "definition-file": {
2262
- "char": "f",
2263
- "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.",
2264
- "name": "definition-file",
2265
- "summary": "Path to a sandbox definition file for overriding its configuration when you refresh it.",
2266
- "hasDynamicHelp": false,
2267
- "multiple": false,
2268
- "type": "option"
2269
- },
2270
- "target-org": {
2271
- "char": "o",
2272
- "name": "target-org",
2273
- "noCacheDefault": true,
2274
- "required": true,
2275
- "summary": "Username or alias of the production org that contains the sandbox license.",
2276
- "hasDynamicHelp": true,
2277
- "multiple": false,
2278
- "type": "option"
2279
- },
2280
- "no-prompt": {
2281
- "name": "no-prompt",
2282
- "summary": "Don't prompt for confirmation about the sandbox refresh.",
2283
- "allowNo": false,
2284
- "type": "boolean"
2285
- }
2286
- },
2287
- "hasDynamicHelp": true,
2288
- "hiddenAliases": [],
2289
- "id": "org:refresh:sandbox",
2290
- "pluginAlias": "@salesforce/plugin-org",
2291
- "pluginName": "@salesforce/plugin-org",
2292
- "pluginType": "core",
2293
- "strict": true,
2294
- "summary": "Refresh a sandbox org using the sandbox name.",
2295
- "isESM": true,
2296
- "relativePath": [
2297
- "lib",
2298
- "commands",
2299
- "org",
2300
- "refresh",
2301
- "sandbox.js"
2302
- ],
2303
- "aliasPermutations": [],
2304
- "permutations": [
2305
- "org:refresh:sandbox",
2306
- "refresh:org:sandbox",
2307
- "refresh:sandbox:org",
2308
- "org:sandbox:refresh",
2309
- "sandbox:org:refresh",
2310
- "sandbox:refresh:org"
2311
- ]
2312
2310
  }
2313
2311
  },
2314
- "version": "5.11.3"
2312
+ "version": "5.11.5"
2315
2313
  }
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-org",
3
3
  "description": "Commands to interact with Salesforce orgs",
4
- "version": "5.11.3",
4
+ "version": "5.11.5",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/cli/issues",
7
7
  "enableO11y": true,
8
8
  "o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
9
9
  "dependencies": {
10
10
  "@oclif/core": "^4.11.3",
11
- "@oclif/multi-stage-output": "^0.8.40",
11
+ "@oclif/multi-stage-output": "^0.8.44",
12
12
  "@salesforce/core": "^8.31.0",
13
13
  "@salesforce/kit": "^3.2.4",
14
14
  "@salesforce/sf-plugins-core": "^12.2.16",
@@ -21,14 +21,14 @@
21
21
  "terminal-link": "^3.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@oclif/plugin-command-snapshot": "^5.3.21",
25
- "@salesforce/cli-plugins-testkit": "^5.3.57",
24
+ "@oclif/plugin-command-snapshot": "^5.3.22",
25
+ "@salesforce/cli-plugins-testkit": "^5.3.58",
26
26
  "@salesforce/dev-scripts": "^11.0.4",
27
- "@salesforce/plugin-command-reference": "^3.1.98",
27
+ "@salesforce/plugin-command-reference": "^3.1.103",
28
28
  "@salesforce/ts-sinon": "^1.4.34",
29
29
  "eslint-plugin-sf-plugin": "^1.20.33",
30
30
  "moment": "^2.30.1",
31
- "oclif": "^4.23.5",
31
+ "oclif": "^4.23.8",
32
32
  "ts-node": "^10.9.2",
33
33
  "typescript": "^5.9.3"
34
34
  },
@@ -233,7 +233,7 @@
233
233
  "exports": "./lib/index.js",
234
234
  "type": "module",
235
235
  "sfdx": {
236
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.3.crt",
237
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.3.sig"
236
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.5.crt",
237
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.11.5.sig"
238
238
  }
239
239
  }