@salesforce/plugin-org 5.5.8 → 5.6.1

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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.
@@ -1143,6 +1143,252 @@
1143
1143
  "tracking:enable:org"
1144
1144
  ]
1145
1145
  },
1146
+ "org:open:agent": {
1147
+ "aliases": [],
1148
+ "args": {},
1149
+ "description": "Use the --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\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.",
1150
+ "examples": [
1151
+ "Open the agent with API name Coral_Cloud_Agent in your default org using your default browser:\n$ <%= config.bin %> <%= command.id %> --name Coral_Cloud_Agent",
1152
+ "Open the agent in an incognito window of your default browser:\n$ <%= config.bin %> <%= command.id %> --private --name Coral_Cloud_Agent:",
1153
+ "Open the agent in an org with alias MyTestOrg1 using the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent"
1154
+ ],
1155
+ "flags": {
1156
+ "json": {
1157
+ "description": "Format output as json.",
1158
+ "helpGroup": "GLOBAL",
1159
+ "name": "json",
1160
+ "allowNo": false,
1161
+ "type": "boolean"
1162
+ },
1163
+ "flags-dir": {
1164
+ "helpGroup": "GLOBAL",
1165
+ "name": "flags-dir",
1166
+ "summary": "Import flag values from a directory.",
1167
+ "hasDynamicHelp": false,
1168
+ "multiple": false,
1169
+ "type": "option"
1170
+ },
1171
+ "target-org": {
1172
+ "char": "o",
1173
+ "name": "target-org",
1174
+ "noCacheDefault": true,
1175
+ "required": true,
1176
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1177
+ "hasDynamicHelp": true,
1178
+ "multiple": false,
1179
+ "type": "option"
1180
+ },
1181
+ "api-version": {
1182
+ "description": "Override the api version used for api requests made by this command",
1183
+ "name": "api-version",
1184
+ "hasDynamicHelp": false,
1185
+ "multiple": false,
1186
+ "type": "option"
1187
+ },
1188
+ "name": {
1189
+ "char": "n",
1190
+ "name": "name",
1191
+ "required": true,
1192
+ "summary": "API name, also known as developer name, of the agent you want to open in the org's Agent Builder UI.",
1193
+ "hasDynamicHelp": false,
1194
+ "multiple": false,
1195
+ "type": "option"
1196
+ },
1197
+ "private": {
1198
+ "exclusive": [
1199
+ "url-only",
1200
+ "browser"
1201
+ ],
1202
+ "name": "private",
1203
+ "summary": "Open the org in the default browser using private (incognito) mode.",
1204
+ "allowNo": false,
1205
+ "type": "boolean"
1206
+ },
1207
+ "browser": {
1208
+ "char": "b",
1209
+ "exclusive": [
1210
+ "url-only",
1211
+ "private"
1212
+ ],
1213
+ "name": "browser",
1214
+ "summary": "Browser where the org opens.",
1215
+ "hasDynamicHelp": false,
1216
+ "multiple": false,
1217
+ "options": [
1218
+ "chrome",
1219
+ "edge",
1220
+ "firefox"
1221
+ ],
1222
+ "type": "option"
1223
+ },
1224
+ "url-only": {
1225
+ "aliases": [
1226
+ "urlonly"
1227
+ ],
1228
+ "char": "r",
1229
+ "deprecateAliases": true,
1230
+ "name": "url-only",
1231
+ "summary": "Display navigation URL, but don’t launch browser.",
1232
+ "allowNo": false,
1233
+ "type": "boolean"
1234
+ }
1235
+ },
1236
+ "hasDynamicHelp": true,
1237
+ "hiddenAliases": [],
1238
+ "id": "org:open:agent",
1239
+ "pluginAlias": "@salesforce/plugin-org",
1240
+ "pluginName": "@salesforce/plugin-org",
1241
+ "pluginType": "core",
1242
+ "state": "beta",
1243
+ "strict": true,
1244
+ "summary": "Open an agent in your org's Agent Builder UI in a browser.",
1245
+ "enableJsonFlag": true,
1246
+ "isESM": true,
1247
+ "relativePath": [
1248
+ "lib",
1249
+ "commands",
1250
+ "org",
1251
+ "open",
1252
+ "agent.js"
1253
+ ],
1254
+ "aliasPermutations": [],
1255
+ "permutations": [
1256
+ "org:open:agent",
1257
+ "open:org:agent",
1258
+ "open:agent:org",
1259
+ "org:agent:open",
1260
+ "agent:org:open",
1261
+ "agent:open:org"
1262
+ ]
1263
+ },
1264
+ "org:refresh:sandbox": {
1265
+ "aliases": [],
1266
+ "args": {},
1267
+ "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.",
1268
+ "examples": [
1269
+ "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",
1270
+ "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",
1271
+ "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"
1272
+ ],
1273
+ "flags": {
1274
+ "json": {
1275
+ "description": "Format output as json.",
1276
+ "helpGroup": "GLOBAL",
1277
+ "name": "json",
1278
+ "allowNo": false,
1279
+ "type": "boolean"
1280
+ },
1281
+ "flags-dir": {
1282
+ "helpGroup": "GLOBAL",
1283
+ "name": "flags-dir",
1284
+ "summary": "Import flag values from a directory.",
1285
+ "hasDynamicHelp": false,
1286
+ "multiple": false,
1287
+ "type": "option"
1288
+ },
1289
+ "no-auto-activate": {
1290
+ "description": "By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.",
1291
+ "name": "no-auto-activate",
1292
+ "summary": "Disable auto-activation of the sandbox after a successful refresh.",
1293
+ "allowNo": false,
1294
+ "type": "boolean"
1295
+ },
1296
+ "wait": {
1297
+ "char": "w",
1298
+ "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.",
1299
+ "exclusive": [
1300
+ "async"
1301
+ ],
1302
+ "name": "wait",
1303
+ "summary": "Number of minutes to poll for sandbox refresh status.",
1304
+ "hasDynamicHelp": true,
1305
+ "helpValue": "<minutes>",
1306
+ "multiple": false,
1307
+ "type": "option"
1308
+ },
1309
+ "poll-interval": {
1310
+ "char": "i",
1311
+ "exclusive": [
1312
+ "async"
1313
+ ],
1314
+ "name": "poll-interval",
1315
+ "summary": "Number of seconds to wait between status polling requests.",
1316
+ "hasDynamicHelp": true,
1317
+ "helpValue": "<seconds>",
1318
+ "multiple": false,
1319
+ "type": "option"
1320
+ },
1321
+ "async": {
1322
+ "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\".",
1323
+ "exclusive": [
1324
+ "wait",
1325
+ "poll-interval"
1326
+ ],
1327
+ "name": "async",
1328
+ "summary": "Request the sandbox refresh, but don't wait for it to complete.",
1329
+ "allowNo": false,
1330
+ "type": "boolean"
1331
+ },
1332
+ "name": {
1333
+ "char": "n",
1334
+ "name": "name",
1335
+ "summary": "Name of the existing sandbox org in your production org that you want to refresh.",
1336
+ "hasDynamicHelp": false,
1337
+ "multiple": false,
1338
+ "type": "option"
1339
+ },
1340
+ "definition-file": {
1341
+ "char": "f",
1342
+ "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.",
1343
+ "name": "definition-file",
1344
+ "summary": "Path to a sandbox definition file for overriding its configuration when you refresh it.",
1345
+ "hasDynamicHelp": false,
1346
+ "multiple": false,
1347
+ "type": "option"
1348
+ },
1349
+ "target-org": {
1350
+ "char": "o",
1351
+ "name": "target-org",
1352
+ "noCacheDefault": true,
1353
+ "required": true,
1354
+ "summary": "Username or alias of the production org that contains the sandbox license.",
1355
+ "hasDynamicHelp": true,
1356
+ "multiple": false,
1357
+ "type": "option"
1358
+ },
1359
+ "no-prompt": {
1360
+ "name": "no-prompt",
1361
+ "summary": "Don't prompt for confirmation about the sandbox refresh.",
1362
+ "allowNo": false,
1363
+ "type": "boolean"
1364
+ }
1365
+ },
1366
+ "hasDynamicHelp": true,
1367
+ "hiddenAliases": [],
1368
+ "id": "org:refresh:sandbox",
1369
+ "pluginAlias": "@salesforce/plugin-org",
1370
+ "pluginName": "@salesforce/plugin-org",
1371
+ "pluginType": "core",
1372
+ "strict": true,
1373
+ "summary": "Refresh a sandbox org using the sandbox name.",
1374
+ "isESM": true,
1375
+ "relativePath": [
1376
+ "lib",
1377
+ "commands",
1378
+ "org",
1379
+ "refresh",
1380
+ "sandbox.js"
1381
+ ],
1382
+ "aliasPermutations": [],
1383
+ "permutations": [
1384
+ "org:refresh:sandbox",
1385
+ "refresh:org:sandbox",
1386
+ "refresh:sandbox:org",
1387
+ "org:sandbox:refresh",
1388
+ "sandbox:org:refresh",
1389
+ "sandbox:refresh:org"
1390
+ ]
1391
+ },
1146
1392
  "org:list:metadata-types": {
1147
1393
  "aliases": [
1148
1394
  "force:mdapi:describemetadata"
@@ -1402,252 +1648,6 @@
1402
1648
  "metadata:list:org"
1403
1649
  ]
1404
1650
  },
1405
- "org:open:agent": {
1406
- "aliases": [],
1407
- "args": {},
1408
- "description": "Use the --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\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.",
1409
- "examples": [
1410
- "Open the agent with API name Coral_Cloud_Agent in your default org using your default browser:\n$ <%= config.bin %> <%= command.id %> --name Coral_Cloud_Agent",
1411
- "Open the agent in an incognito window of your default browser:\n$ <%= config.bin %> <%= command.id %> --private --name Coral_Cloud_Agent:",
1412
- "Open the agent in an org with alias MyTestOrg1 using the Firefox browser:\n$ <%= config.bin %> <%= command.id %> --target-org MyTestOrg1 --browser firefox --name Coral_Cloud_Agent"
1413
- ],
1414
- "flags": {
1415
- "json": {
1416
- "description": "Format output as json.",
1417
- "helpGroup": "GLOBAL",
1418
- "name": "json",
1419
- "allowNo": false,
1420
- "type": "boolean"
1421
- },
1422
- "flags-dir": {
1423
- "helpGroup": "GLOBAL",
1424
- "name": "flags-dir",
1425
- "summary": "Import flag values from a directory.",
1426
- "hasDynamicHelp": false,
1427
- "multiple": false,
1428
- "type": "option"
1429
- },
1430
- "target-org": {
1431
- "char": "o",
1432
- "name": "target-org",
1433
- "noCacheDefault": true,
1434
- "required": true,
1435
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1436
- "hasDynamicHelp": true,
1437
- "multiple": false,
1438
- "type": "option"
1439
- },
1440
- "api-version": {
1441
- "description": "Override the api version used for api requests made by this command",
1442
- "name": "api-version",
1443
- "hasDynamicHelp": false,
1444
- "multiple": false,
1445
- "type": "option"
1446
- },
1447
- "name": {
1448
- "char": "n",
1449
- "name": "name",
1450
- "required": true,
1451
- "summary": "API name, also known as developer name, of the agent you want to open in the org's Agent Builder UI.",
1452
- "hasDynamicHelp": false,
1453
- "multiple": false,
1454
- "type": "option"
1455
- },
1456
- "private": {
1457
- "exclusive": [
1458
- "url-only",
1459
- "browser"
1460
- ],
1461
- "name": "private",
1462
- "summary": "Open the org in the default browser using private (incognito) mode.",
1463
- "allowNo": false,
1464
- "type": "boolean"
1465
- },
1466
- "browser": {
1467
- "char": "b",
1468
- "exclusive": [
1469
- "url-only",
1470
- "private"
1471
- ],
1472
- "name": "browser",
1473
- "summary": "Browser where the org opens.",
1474
- "hasDynamicHelp": false,
1475
- "multiple": false,
1476
- "options": [
1477
- "chrome",
1478
- "edge",
1479
- "firefox"
1480
- ],
1481
- "type": "option"
1482
- },
1483
- "url-only": {
1484
- "aliases": [
1485
- "urlonly"
1486
- ],
1487
- "char": "r",
1488
- "deprecateAliases": true,
1489
- "name": "url-only",
1490
- "summary": "Display navigation URL, but don’t launch browser.",
1491
- "allowNo": false,
1492
- "type": "boolean"
1493
- }
1494
- },
1495
- "hasDynamicHelp": true,
1496
- "hiddenAliases": [],
1497
- "id": "org:open:agent",
1498
- "pluginAlias": "@salesforce/plugin-org",
1499
- "pluginName": "@salesforce/plugin-org",
1500
- "pluginType": "core",
1501
- "state": "beta",
1502
- "strict": true,
1503
- "summary": "Open an agent in your org's Agent Builder UI in a browser.",
1504
- "enableJsonFlag": true,
1505
- "isESM": true,
1506
- "relativePath": [
1507
- "lib",
1508
- "commands",
1509
- "org",
1510
- "open",
1511
- "agent.js"
1512
- ],
1513
- "aliasPermutations": [],
1514
- "permutations": [
1515
- "org:open:agent",
1516
- "open:org:agent",
1517
- "open:agent:org",
1518
- "org:agent:open",
1519
- "agent:org:open",
1520
- "agent:open:org"
1521
- ]
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
- },
1651
1651
  "org:resume:sandbox": {
1652
1652
  "aliases": [
1653
1653
  "env:resume:sandbox"
@@ -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.1"
1844
1855
  }
package/package.json CHANGED
@@ -1,16 +1,16 @@
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.1",
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
- "@salesforce/source-deploy-retrieve": "^12.18.2",
13
+ "@salesforce/source-deploy-retrieve": "^12.19.0",
14
14
  "@salesforce/ts-types": "^2.0.12",
15
15
  "ansis": "^3.16.0",
16
16
  "change-case": "^5.4.4",
@@ -24,9 +24,9 @@
24
24
  "@salesforce/dev-scripts": "^10.2.12",
25
25
  "@salesforce/plugin-command-reference": "^3.1.49",
26
26
  "@salesforce/ts-sinon": "^1.4.30",
27
- "eslint-plugin-sf-plugin": "^1.20.18",
27
+ "eslint-plugin-sf-plugin": "^1.20.19",
28
28
  "moment": "^2.30.1",
29
- "oclif": "^4.17.42",
29
+ "oclif": "^4.17.43",
30
30
  "ts-node": "^10.9.2",
31
31
  "typescript": "^5.8.3"
32
32
  },
@@ -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.1.crt",
231
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-org/5.6.1.sig"
232
232
  }
233
233
  }