@salesforce/plugin-org 4.8.1 → 5.0.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
@@ -76,7 +76,7 @@ To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
76
76
 
77
77
  ```bash
78
78
  # Run using local run file.
79
- ./bin/dev force:org:list
79
+ ./bin/dev.js org list
80
80
  ```
81
81
 
82
82
  There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be
@@ -229,7 +229,7 @@ FLAG DESCRIPTIONS
229
229
  sandbox.
230
230
  ```
231
231
 
232
- _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/create/sandbox.ts)_
232
+ _See code: [src/commands/org/create/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/create/sandbox.ts)_
233
233
 
234
234
  ## `sf org create scratch`
235
235
 
@@ -383,7 +383,7 @@ FLAG DESCRIPTIONS
383
383
  Omit this flag to have Salesforce generate a unique username for your org.
384
384
  ```
385
385
 
386
- _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/create/scratch.ts)_
386
+ _See code: [src/commands/org/create/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/create/scratch.ts)_
387
387
 
388
388
  ## `sf org delete sandbox`
389
389
 
@@ -394,8 +394,8 @@ USAGE
394
394
  $ sf org delete sandbox -o <value> [--json] [--flags-dir <value>] [-p]
395
395
 
396
396
  FLAGS
397
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
398
- configuration variable is already set.
397
+ -o, --target-org=<value> (required) Username or alias of the target org. Not
398
+ required if the `target-org` configuration variable is already set.
399
399
  -p, --no-prompt Don't prompt the user to confirm the deletion.
400
400
 
401
401
  GLOBAL FLAGS
@@ -429,7 +429,7 @@ EXAMPLES
429
429
  $ sf org delete sandbox --target-org my-sandbox --no-prompt
430
430
  ```
431
431
 
432
- _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/delete/sandbox.ts)_
432
+ _See code: [src/commands/org/delete/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/delete/sandbox.ts)_
433
433
 
434
434
  ## `sf org delete scratch`
435
435
 
@@ -440,8 +440,8 @@ USAGE
440
440
  $ sf org delete scratch -o <value> [--json] [--flags-dir <value>] [-p]
441
441
 
442
442
  FLAGS
443
- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
444
- configuration variable is already set.
443
+ -o, --target-org=<value> (required) Username or alias of the target org. Not
444
+ required if the `target-org` configuration variable is already set.
445
445
  -p, --no-prompt Don't prompt the user to confirm the deletion.
446
446
 
447
447
  GLOBAL FLAGS
@@ -473,7 +473,7 @@ EXAMPLES
473
473
  $ sf org delete scratch --target-org my-scratch-org --no-prompt
474
474
  ```
475
475
 
476
- _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/delete/scratch.ts)_
476
+ _See code: [src/commands/org/delete/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/delete/scratch.ts)_
477
477
 
478
478
  ## `sf org disable tracking`
479
479
 
@@ -512,7 +512,7 @@ EXAMPLES
512
512
  $ sf org disable tracking
513
513
  ```
514
514
 
515
- _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/disable/tracking.ts)_
515
+ _See code: [src/commands/org/disable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/disable/tracking.ts)_
516
516
 
517
517
  ## `sf org display`
518
518
 
@@ -557,7 +557,7 @@ EXAMPLES
557
557
  $ sf org display --target-org TestOrg1 --verbose
558
558
  ```
559
559
 
560
- _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/display.ts)_
560
+ _See code: [src/commands/org/display.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/display.ts)_
561
561
 
562
562
  ## `sf org enable tracking`
563
563
 
@@ -599,7 +599,7 @@ EXAMPLES
599
599
  $ sf org enable tracking
600
600
  ```
601
601
 
602
- _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/enable/tracking.ts)_
602
+ _See code: [src/commands/org/enable/tracking.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/enable/tracking.ts)_
603
603
 
604
604
  ## `sf org list`
605
605
 
@@ -638,7 +638,7 @@ EXAMPLES
638
638
  $ sf org list --clean
639
639
  ```
640
640
 
641
- _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/list.ts)_
641
+ _See code: [src/commands/org/list.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/list.ts)_
642
642
 
643
643
  ## `sf org list metadata`
644
644
 
@@ -705,7 +705,7 @@ FLAG DESCRIPTIONS
705
705
  Examples of metadata types that use folders are Dashboard, Document, EmailTemplate, and Report.
706
706
  ```
707
707
 
708
- _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/list/metadata.ts)_
708
+ _See code: [src/commands/org/list/metadata.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/list/metadata.ts)_
709
709
 
710
710
  ## `sf org list metadata-types`
711
711
 
@@ -760,7 +760,7 @@ FLAG DESCRIPTIONS
760
760
  Override the api version used for api requests made by this command
761
761
  ```
762
762
 
763
- _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/list/metadata-types.ts)_
763
+ _See code: [src/commands/org/list/metadata-types.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/list/metadata-types.ts)_
764
764
 
765
765
  ## `sf org open`
766
766
 
@@ -836,7 +836,7 @@ EXAMPLES
836
836
  $ sf org open --source-file force-app/main/default/bots/Coral_Cloud_Agent/Coral_Cloud_Agent.bot-meta.xml
837
837
  ```
838
838
 
839
- _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/open.ts)_
839
+ _See code: [src/commands/org/open.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/open.ts)_
840
840
 
841
841
  ## `sf org refresh sandbox`
842
842
 
@@ -913,7 +913,7 @@ FLAG DESCRIPTIONS
913
913
  By default, a sandbox auto-activates after a refresh. Use this flag to control sandbox activation manually.
914
914
  ```
915
915
 
916
- _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/refresh/sandbox.ts)_
916
+ _See code: [src/commands/org/refresh/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/refresh/sandbox.ts)_
917
917
 
918
918
  ## `sf org resume sandbox`
919
919
 
@@ -976,7 +976,7 @@ FLAG DESCRIPTIONS
976
976
  returns the job ID. To resume checking the sandbox creation, rerun this command.
977
977
  ```
978
978
 
979
- _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/resume/sandbox.ts)_
979
+ _See code: [src/commands/org/resume/sandbox.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/resume/sandbox.ts)_
980
980
 
981
981
  ## `sf org resume scratch`
982
982
 
@@ -1023,6 +1023,6 @@ FLAG DESCRIPTIONS
1023
1023
  The job ID is valid for 24 hours after you start the scratch org creation.
1024
1024
  ```
1025
1025
 
1026
- _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.1/src/commands/org/resume/scratch.ts)_
1026
+ _See code: [src/commands/org/resume/scratch.ts](https://github.com/salesforcecli/plugin-org/blob/4.8.2/src/commands/org/resume/scratch.ts)_
1027
1027
 
1028
1028
  <!-- commandsstop -->
@@ -7,7 +7,7 @@
7
7
  import { Flags } from '@oclif/core';
8
8
  import { ConfigAggregator, StateAggregator, Messages, SfError } from '@salesforce/core';
9
9
  Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
10
- const messages = Messages.loadMessages('@salesforce/plugin-org', 'delete');
10
+ const messages = Messages.loadMessages('@salesforce/plugin-org', 'delete_scratch');
11
11
  const resolveUsername = async (usernameOrAlias) => {
12
12
  const stateAggregator = await StateAggregator.getInstance();
13
13
  // we have a value, but don't know if it's a username or an alias
@@ -18,7 +18,7 @@ const resolveUsername = async (usernameOrAlias) => {
18
18
  const defaultUsernameOrAlias = configAggregator.getPropertyValue('target-org');
19
19
  if (defaultUsernameOrAlias)
20
20
  return stateAggregator.aliases.resolveUsername(defaultUsernameOrAlias);
21
- throw new SfError(messages.getMessage('missingUsername'), 'MissingUsernameError');
21
+ throw new SfError(messages.getMessage('error.missingUsername'), 'MissingUsernameError');
22
22
  };
23
23
  /**
24
24
  * Almost like the use case for the normal optional org flag,
@@ -1 +1 @@
1
- {"version":3,"file":"flags.js","sourceRoot":"","sources":["../../src/shared/flags.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAExF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAE3E,MAAM,eAAe,GAAG,KAAK,EAAE,eAAwB,EAAmB,EAAE;IAC1E,MAAM,eAAe,GAAG,MAAM,eAAe,CAAC,WAAW,EAAE,CAAC;IAC5D,iEAAiE;IACjE,IAAI,eAAe;QAAE,OAAO,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;IACrF,6EAA6E;IAC7E,MAAM,gBAAgB,GAAG,MAAM,gBAAgB,CAAC,MAAM,EAAE,CAAC;IACzD,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,YAAY,CAAuB,CAAC;IACrG,IAAI,sBAAsB;QAAE,OAAO,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC;IACnG,MAAM,IAAI,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,sBAAsB,CAAC,CAAC;AACpF,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,GAAG;IACT,QAAQ,EAAE,IAAI;IACd,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,CAAC,gBAAgB,EAAE,GAAG,CAAC;IAChC,KAAK,EAAE,KAAK,EAAE,KAAyB,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC;IAClE,OAAO,EAAE,KAAK,IAAI,EAAE,CAAC,eAAe,EAAE;IACtC,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,eAAe,EAAE;CAC3C,CAAC,CAAC"}
1
+ {"version":3,"file":"flags.js","sourceRoot":"","sources":["../../src/shared/flags.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAExF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,wBAAwB,EAAE,gBAAgB,CAAC,CAAC;AAEnF,MAAM,eAAe,GAAG,KAAK,EAAE,eAAwB,EAAmB,EAAE;IAC1E,MAAM,eAAe,GAAG,MAAM,eAAe,CAAC,WAAW,EAAE,CAAC;IAC5D,iEAAiE;IACjE,IAAI,eAAe;QAAE,OAAO,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;IACrF,6EAA6E;IAC7E,MAAM,gBAAgB,GAAG,MAAM,gBAAgB,CAAC,MAAM,EAAE,CAAC;IACzD,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,gBAAgB,CAAC,YAAY,CAAuB,CAAC;IACrG,IAAI,sBAAsB;QAAE,OAAO,eAAe,CAAC,OAAO,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC;IACnG,MAAM,IAAI,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC,EAAE,sBAAsB,CAAC,CAAC;AAC1F,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,KAAK,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,GAAG;IACT,QAAQ,EAAE,IAAI;IACd,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,CAAC,gBAAgB,EAAE,GAAG,CAAC;IAChC,KAAK,EAAE,KAAK,EAAE,KAAyB,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,CAAC;IAClE,OAAO,EAAE,KAAK,IAAI,EAAE,CAAC,eAAe,EAAE;IACtC,WAAW,EAAE,KAAK,IAAI,EAAE,CAAC,eAAe,EAAE;CAC3C,CAAC,CAAC"}
@@ -50,3 +50,7 @@ The org with username: %s is not known by the CLI to be a sandbox
50
50
 
51
51
  Re-authenticate the sandbox with the CLI and try again.
52
52
  Ensure the CLI has authenticated with the sandbox's production org.
53
+
54
+ # error.missingUsername
55
+
56
+ Unable to determine the username of the org to delete. Specify the username with the --target-org | -o flag.
@@ -40,3 +40,7 @@ Successfully marked scratch org %s for deletion.
40
40
  # success.Idempotent
41
41
 
42
42
  Successfully deleted scratch org %s.
43
+
44
+ # error.missingUsername
45
+
46
+ Unable to determine the username of the org to delete. Specify the username with the --target-org | -o flag.
@@ -385,315 +385,6 @@
385
385
  "open:org"
386
386
  ]
387
387
  },
388
- "force:org:create": {
389
- "aliases": [],
390
- "args": {},
391
- "deprecationOptions": {
392
- "message": "The force:org:create command is deprecated and will be removed on November 6, 2024. Use \"org create scratch\" or \"org create sandbox\" instead."
393
- },
394
- "description": "Creates a scratch org or a sandbox org using the values specified in a configuration file or key=value pairs that you specify on the command line. Values specified on the command line override values in the configuration file. Specify a configuration file or provide key=value pairs while creating a scratch org or a sandbox. When creating scratch orgs, —targetdevhubusername (-v) must be a Dev Hub org. When creating sandboxes, the --targetusername (-u) must be a production org with sandbox licenses. The —type (-t) is required if creating a sandbox.",
395
- "examples": [
396
- "$ <%= config.bin %> <%= command.id %> -f config/enterprise-scratch-def.json -a MyScratchOrg",
397
- "$ <%= config.bin %> <%= command.id %> edition=Developer -a MyScratchOrg -s -v devHub",
398
- "$ <%= config.bin %> <%= command.id %> -f config/enterprise-scratch-def.json -a ScratchOrgWithOverrides username=testuser1@mycompany.org",
399
- "$ <%= config.bin %> <%= command.id %> -t sandbox -f config/dev-sandbox-def.json -a MyDevSandbox -u prodOrg"
400
- ],
401
- "flags": {
402
- "json": {
403
- "description": "Format output as json.",
404
- "helpGroup": "GLOBAL",
405
- "name": "json",
406
- "allowNo": false,
407
- "type": "boolean"
408
- },
409
- "flags-dir": {
410
- "helpGroup": "GLOBAL",
411
- "name": "flags-dir",
412
- "summary": "Import flag values from a directory.",
413
- "hasDynamicHelp": false,
414
- "multiple": false,
415
- "type": "option"
416
- },
417
- "target-org": {
418
- "aliases": [
419
- "targetusername",
420
- "u"
421
- ],
422
- "char": "o",
423
- "deprecateAliases": true,
424
- "name": "target-org",
425
- "noCacheDefault": true,
426
- "summary": "Username or alias of the production org that contains the sandbox license.",
427
- "hasDynamicHelp": true,
428
- "multiple": false,
429
- "type": "option"
430
- },
431
- "target-dev-hub": {
432
- "aliases": [
433
- "targetdevhubusername"
434
- ],
435
- "char": "v",
436
- "deprecateAliases": true,
437
- "name": "target-dev-hub",
438
- "noCacheDefault": true,
439
- "required": false,
440
- "summary": "Username or alias of the Dev Hub org.",
441
- "hasDynamicHelp": true,
442
- "multiple": false,
443
- "type": "option"
444
- },
445
- "api-version": {
446
- "aliases": [
447
- "apiversion"
448
- ],
449
- "deprecateAliases": true,
450
- "description": "Override the api version used for api requests made by this command",
451
- "name": "api-version",
452
- "hasDynamicHelp": false,
453
- "multiple": false,
454
- "type": "option"
455
- },
456
- "loglevel": {
457
- "deprecated": {
458
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
459
- },
460
- "hidden": true,
461
- "name": "loglevel",
462
- "hasDynamicHelp": false,
463
- "multiple": false,
464
- "type": "option"
465
- },
466
- "type": {
467
- "char": "t",
468
- "name": "type",
469
- "summary": "Type of org to create.",
470
- "default": "scratch",
471
- "hasDynamicHelp": false,
472
- "multiple": false,
473
- "options": [
474
- "scratch",
475
- "sandbox"
476
- ],
477
- "type": "option"
478
- },
479
- "definitionfile": {
480
- "char": "f",
481
- "name": "definitionfile",
482
- "summary": "Path to an org definition file.",
483
- "hasDynamicHelp": false,
484
- "multiple": false,
485
- "type": "option"
486
- },
487
- "nonamespace": {
488
- "char": "n",
489
- "name": "nonamespace",
490
- "summary": "Create the scratch org with no namespace.",
491
- "allowNo": false,
492
- "type": "boolean"
493
- },
494
- "noancestors": {
495
- "char": "c",
496
- "name": "noancestors",
497
- "summary": "Do not include second-generation package ancestors in the scratch org.",
498
- "allowNo": false,
499
- "type": "boolean"
500
- },
501
- "clientid": {
502
- "char": "i",
503
- "name": "clientid",
504
- "summary": "Connected app consumer key; not supported for sandbox org creation.",
505
- "hasDynamicHelp": false,
506
- "multiple": false,
507
- "type": "option"
508
- },
509
- "setdefaultusername": {
510
- "char": "s",
511
- "name": "setdefaultusername",
512
- "summary": "Set the created org as the default username.",
513
- "allowNo": false,
514
- "type": "boolean"
515
- },
516
- "setalias": {
517
- "char": "a",
518
- "name": "setalias",
519
- "summary": "Alias for the created org.",
520
- "hasDynamicHelp": false,
521
- "multiple": false,
522
- "type": "option"
523
- },
524
- "wait": {
525
- "char": "w",
526
- "name": "wait",
527
- "summary": "Streaming client socket timeout (in minutes).",
528
- "default": "6 minutes",
529
- "hasDynamicHelp": true,
530
- "multiple": false,
531
- "type": "option"
532
- },
533
- "durationdays": {
534
- "char": "d",
535
- "name": "durationdays",
536
- "summary": "Duration of the scratch org (in days) (default:7, min:1, max:30).",
537
- "default": 7,
538
- "hasDynamicHelp": false,
539
- "multiple": false,
540
- "type": "option"
541
- },
542
- "retry": {
543
- "hidden": true,
544
- "name": "retry",
545
- "summary": "Number of scratch org auth retries after scratch org is successfully signed up.",
546
- "default": 0,
547
- "hasDynamicHelp": false,
548
- "multiple": false,
549
- "type": "option"
550
- }
551
- },
552
- "hasDynamicHelp": true,
553
- "hidden": true,
554
- "hiddenAliases": [],
555
- "id": "force:org:create",
556
- "pluginAlias": "@salesforce/plugin-org",
557
- "pluginName": "@salesforce/plugin-org",
558
- "pluginType": "core",
559
- "state": "deprecated",
560
- "strict": false,
561
- "summary": "Create a scratch org or sandbox.",
562
- "enableJsonFlag": true,
563
- "isESM": true,
564
- "relativePath": [
565
- "lib",
566
- "commands",
567
- "force",
568
- "org",
569
- "create.js"
570
- ],
571
- "aliasPermutations": [],
572
- "permutations": [
573
- "force:org:create",
574
- "org:force:create",
575
- "org:create:force",
576
- "force:create:org",
577
- "create:force:org",
578
- "create:org:force"
579
- ]
580
- },
581
- "force:org:delete": {
582
- "aliases": [],
583
- "args": {},
584
- "deprecationOptions": {
585
- "message": "The force:org:delete command is deprecated and will be removed on November 6, 2024. Use \"org delete scratch\" or \"org delete sandbox\" instead."
586
- },
587
- "description": "Salesforce CLI marks the org for deletion in either the Dev Hub org (for scratch orgs) or production org (for sandboxes) and then deletes all local references to the org from your computer.\n\nTo mark the org for deletion without being prompted to confirm, specify --noprompt.",
588
- "examples": [
589
- "$ <%= config.bin %> <%= command.id %> -u me@my.org",
590
- "$ <%= config.bin %> <%= command.id %> -u MyOrgAlias -p"
591
- ],
592
- "flags": {
593
- "json": {
594
- "description": "Format output as json.",
595
- "helpGroup": "GLOBAL",
596
- "name": "json",
597
- "allowNo": false,
598
- "type": "boolean"
599
- },
600
- "flags-dir": {
601
- "helpGroup": "GLOBAL",
602
- "name": "flags-dir",
603
- "summary": "Import flag values from a directory.",
604
- "hasDynamicHelp": false,
605
- "multiple": false,
606
- "type": "option"
607
- },
608
- "target-org": {
609
- "aliases": [
610
- "targetusername",
611
- "u"
612
- ],
613
- "char": "o",
614
- "deprecateAliases": true,
615
- "name": "target-org",
616
- "required": true,
617
- "summary": "Username or alias of the target org.",
618
- "hasDynamicHelp": true,
619
- "multiple": false,
620
- "type": "option"
621
- },
622
- "targetdevhubusername": {
623
- "char": "v",
624
- "deprecated": {
625
- "version": "58.0",
626
- "message": "The targetdevhubusername flag exists only for backwards compatibility. It is not necessary and has no effect."
627
- },
628
- "hidden": true,
629
- "name": "targetdevhubusername",
630
- "summary": "The targetdevhubusername flag exists only for backwards compatibility. It is not necessary and has no effect.",
631
- "hasDynamicHelp": false,
632
- "multiple": false,
633
- "type": "option"
634
- },
635
- "api-version": {
636
- "aliases": [
637
- "apiversion"
638
- ],
639
- "deprecateAliases": true,
640
- "description": "Override the api version used for api requests made by this command",
641
- "name": "api-version",
642
- "hasDynamicHelp": false,
643
- "multiple": false,
644
- "type": "option"
645
- },
646
- "no-prompt": {
647
- "aliases": [
648
- "noprompt"
649
- ],
650
- "char": "p",
651
- "deprecateAliases": true,
652
- "name": "no-prompt",
653
- "summary": "No prompt to confirm deletion.",
654
- "allowNo": false,
655
- "type": "boolean"
656
- },
657
- "loglevel": {
658
- "deprecated": {
659
- "message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
660
- },
661
- "hidden": true,
662
- "name": "loglevel",
663
- "hasDynamicHelp": false,
664
- "multiple": false,
665
- "type": "option"
666
- }
667
- },
668
- "hasDynamicHelp": true,
669
- "hidden": true,
670
- "hiddenAliases": [],
671
- "id": "force:org:delete",
672
- "pluginAlias": "@salesforce/plugin-org",
673
- "pluginName": "@salesforce/plugin-org",
674
- "pluginType": "core",
675
- "state": "deprecated",
676
- "strict": true,
677
- "summary": "Delete a scratch or sandbox org.",
678
- "enableJsonFlag": true,
679
- "isESM": true,
680
- "relativePath": [
681
- "lib",
682
- "commands",
683
- "force",
684
- "org",
685
- "delete.js"
686
- ],
687
- "aliasPermutations": [],
688
- "permutations": [
689
- "force:org:delete",
690
- "org:force:delete",
691
- "org:delete:force",
692
- "force:delete:org",
693
- "delete:force:org",
694
- "delete:org:force"
695
- ]
696
- },
697
388
  "org:create:sandbox": {
698
389
  "aliases": [
699
390
  "env:create:sandbox"
@@ -1117,6 +808,69 @@
1117
808
  "scratch:create:org"
1118
809
  ]
1119
810
  },
811
+ "org:disable:tracking": {
812
+ "aliases": [],
813
+ "args": {},
814
+ "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.",
815
+ "examples": [
816
+ "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
817
+ "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
818
+ "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
819
+ ],
820
+ "flags": {
821
+ "json": {
822
+ "description": "Format output as json.",
823
+ "helpGroup": "GLOBAL",
824
+ "name": "json",
825
+ "allowNo": false,
826
+ "type": "boolean"
827
+ },
828
+ "flags-dir": {
829
+ "helpGroup": "GLOBAL",
830
+ "name": "flags-dir",
831
+ "summary": "Import flag values from a directory.",
832
+ "hasDynamicHelp": false,
833
+ "multiple": false,
834
+ "type": "option"
835
+ },
836
+ "target-org": {
837
+ "char": "o",
838
+ "name": "target-org",
839
+ "noCacheDefault": true,
840
+ "required": true,
841
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
842
+ "hasDynamicHelp": true,
843
+ "multiple": false,
844
+ "type": "option"
845
+ }
846
+ },
847
+ "hasDynamicHelp": true,
848
+ "hiddenAliases": [],
849
+ "id": "org:disable:tracking",
850
+ "pluginAlias": "@salesforce/plugin-org",
851
+ "pluginName": "@salesforce/plugin-org",
852
+ "pluginType": "core",
853
+ "strict": true,
854
+ "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
855
+ "enableJsonFlag": true,
856
+ "isESM": true,
857
+ "relativePath": [
858
+ "lib",
859
+ "commands",
860
+ "org",
861
+ "disable",
862
+ "tracking.js"
863
+ ],
864
+ "aliasPermutations": [],
865
+ "permutations": [
866
+ "org:disable:tracking",
867
+ "disable:org:tracking",
868
+ "disable:tracking:org",
869
+ "org:tracking:disable",
870
+ "tracking:org:disable",
871
+ "tracking:disable:org"
872
+ ]
873
+ },
1120
874
  "org:delete:sandbox": {
1121
875
  "aliases": [
1122
876
  "env:delete:sandbox"
@@ -1285,69 +1039,6 @@
1285
1039
  "scratch:delete:org"
1286
1040
  ]
1287
1041
  },
1288
- "org:disable:tracking": {
1289
- "aliases": [],
1290
- "args": {},
1291
- "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.",
1292
- "examples": [
1293
- "Disable source tracking for an org with alias \"myscratch\":\n<%= config.bin %> <%= command.id %> --target-org myscratch",
1294
- "Disable source tracking for an org using a username:\n<%= config.bin %> <%= command.id %> --target-org you@example.com",
1295
- "Disable source tracking for your default org:\n<%= config.bin %> <%= command.id %>"
1296
- ],
1297
- "flags": {
1298
- "json": {
1299
- "description": "Format output as json.",
1300
- "helpGroup": "GLOBAL",
1301
- "name": "json",
1302
- "allowNo": false,
1303
- "type": "boolean"
1304
- },
1305
- "flags-dir": {
1306
- "helpGroup": "GLOBAL",
1307
- "name": "flags-dir",
1308
- "summary": "Import flag values from a directory.",
1309
- "hasDynamicHelp": false,
1310
- "multiple": false,
1311
- "type": "option"
1312
- },
1313
- "target-org": {
1314
- "char": "o",
1315
- "name": "target-org",
1316
- "noCacheDefault": true,
1317
- "required": true,
1318
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
1319
- "hasDynamicHelp": true,
1320
- "multiple": false,
1321
- "type": "option"
1322
- }
1323
- },
1324
- "hasDynamicHelp": true,
1325
- "hiddenAliases": [],
1326
- "id": "org:disable:tracking",
1327
- "pluginAlias": "@salesforce/plugin-org",
1328
- "pluginName": "@salesforce/plugin-org",
1329
- "pluginType": "core",
1330
- "strict": true,
1331
- "summary": "Prevent Salesforce CLI from tracking changes in your source files between your project and an org.",
1332
- "enableJsonFlag": true,
1333
- "isESM": true,
1334
- "relativePath": [
1335
- "lib",
1336
- "commands",
1337
- "org",
1338
- "disable",
1339
- "tracking.js"
1340
- ],
1341
- "aliasPermutations": [],
1342
- "permutations": [
1343
- "org:disable:tracking",
1344
- "disable:org:tracking",
1345
- "disable:tracking:org",
1346
- "org:tracking:disable",
1347
- "tracking:org:disable",
1348
- "tracking:disable:org"
1349
- ]
1350
- },
1351
1042
  "org:enable:tracking": {
1352
1043
  "aliases": [],
1353
1044
  "args": {},
@@ -1990,5 +1681,5 @@
1990
1681
  ]
1991
1682
  }
1992
1683
  },
1993
- "version": "4.8.1"
1684
+ "version": "5.0.0"
1994
1685
  }