@salesforce/cli 1.26.0 → 1.27.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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.27.0](https://github.com/salesforcecli/cli/compare/v1.26.0...v1.27.0) (2022-05-04)
6
+
5
7
  ## [1.26.0](https://github.com/salesforcecli/cli/compare/v1.25.2...v1.26.0) (2022-04-28)
6
8
 
7
9
  ### Bug Fixes
package/README.md CHANGED
@@ -31,7 +31,7 @@ $ npm install -g @salesforce/cli
31
31
  $ sf COMMAND
32
32
  running command...
33
33
  $ sf (--version|-v)
34
- @salesforce/cli/1.26.0 linux-x64 node-v14.19.1
34
+ @salesforce/cli/1.27.0 linux-x64 node-v14.19.2
35
35
  $ sf --help [COMMAND]
36
36
  USAGE
37
37
  $ sf COMMAND
@@ -52,6 +52,11 @@ USAGE
52
52
  - [`sf deploy`](#sf-deploy)
53
53
  - [`sf deploy functions`](#sf-deploy-functions)
54
54
  - [`sf deploy metadata`](#sf-deploy-metadata)
55
+ - [`sf deploy metadata cancel`](#sf-deploy-metadata-cancel)
56
+ - [`sf deploy metadata quick`](#sf-deploy-metadata-quick)
57
+ - [`sf deploy metadata report`](#sf-deploy-metadata-report)
58
+ - [`sf deploy metadata resume`](#sf-deploy-metadata-resume)
59
+ - [`sf deploy metadata validate`](#sf-deploy-metadata-validate)
55
60
  - [`sf env compute collaborator add`](#sf-env-compute-collaborator-add)
56
61
  - [`sf env create compute`](#sf-env-create-compute)
57
62
  - [`sf env create sandbox`](#sf-env-create-sandbox)
@@ -130,7 +135,7 @@ EXAMPLES
130
135
  $ sf autocomplete --refresh-cache
131
136
  ```
132
137
 
133
- _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.2.0/src/commands/autocomplete/index.ts)_
138
+ _See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.0/src/commands/autocomplete/index.ts)_
134
139
 
135
140
  ## `sf config get`
136
141
 
@@ -333,7 +338,7 @@ EXAMPLES
333
338
  $ sf deploy --interactive
334
339
  ```
335
340
 
336
- _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.3.0/src/commands/deploy.ts)_
341
+ _See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.4.2/src/commands/deploy.ts)_
337
342
 
338
343
  ## `sf deploy functions`
339
344
 
@@ -355,8 +360,9 @@ Deploy metadata in source format to an org from your local project.
355
360
 
356
361
  ```
357
362
  USAGE
358
- $ sf deploy metadata [--json] [-a <value>] [--dry-run] [-r] [-g] [-x <value>] [-m <value>] [-d <value>] [-o
359
- <value>] [-t <value>] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [--verbose] [-w <value>]
363
+ $ sf deploy metadata [--json] [-a <value>] [--async | -w <value>] [--concise | --verbose] [--dry-run] [-r] [-g] [-x
364
+ <value>] [-m <value>] [-d <value>] [-o <value>] [-t <value>] [-l
365
+ NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
360
366
 
361
367
  FLAGS
362
368
  -a, --api-version=<value> Target API version for the deploy.
@@ -371,6 +377,8 @@ FLAGS
371
377
  -w, --wait=<minutes> [default: [object Object]] Number of minutes to wait for command to complete and display
372
378
  results.
373
379
  -x, --manifest=<value> Full file path for manifest (package.xml) of components to deploy.
380
+ --async Run the command asynchronously.
381
+ --concise Show concise output of the deploy result.
374
382
  --dry-run Validate deploy and run Apex tests but don’t save to the org.
375
383
  --verbose Show verbose output of the deploy result.
376
384
 
@@ -385,9 +393,6 @@ DESCRIPTION
385
393
  This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org.
386
394
  This command doesn’t attempt to merge your source with the versions in your org.
387
395
 
388
- To run the command asynchronously, set --wait to 0, which immediately returns the job ID. This way, you can continue
389
- to use the CLI.
390
-
391
396
  To deploy multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with
392
397
  multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax
393
398
  applies to --manifest and --source-dir.
@@ -484,19 +489,439 @@ FLAG DESCRIPTIONS
484
489
 
485
490
  -w, --wait=<minutes> Number of minutes to wait for command to complete and display results.
486
491
 
487
- If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
492
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you and
493
+ returns the job ID. To resume the deployment, run "sf deploy metadata resume". To check the status of the
494
+ deployment, run "sf deploy metadata report".
488
495
 
489
496
  -x, --manifest=<value> Full file path for manifest (package.xml) of components to deploy.
490
497
 
491
498
  All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
492
499
 
500
+ --async Run the command asynchronously.
501
+
502
+ The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the
503
+ CLI. To resume the deployment, run "sf deploy metadata resume". To check the status of the deployment, run "sf
504
+ deploy metadata report".
505
+
493
506
  CONFIGURATION VARIABLES
494
- target-org Username or alias of the org that all commands run against by default. (sf only)
495
- apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
507
+ target-org Username or alias of the org that all commands run against by default. (sf only)
508
+ org-api-version API version of your project. Default: API version of your Dev Hub org.
496
509
 
497
510
  ENVIRONMENT VARIABLES
498
511
  SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
499
512
  SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
513
+
514
+ ERROR CODES
515
+ Succeeded (0) The deploy succeeded.
516
+ Canceled (1) The deploy was canceled.
517
+ Failed (1) The deploy failed.
518
+ SucceededPartial (68) The deploy partially succeeded.
519
+ InProgress (69) The deploy is in progress.
520
+ Pending (69) The deploy is pending.
521
+ Canceling (69) The deploy is being canceled.
522
+ ```
523
+
524
+ ## `sf deploy metadata cancel`
525
+
526
+ Cancel a deploy operation.
527
+
528
+ ```
529
+ USAGE
530
+ $ sf deploy metadata cancel [--json] [--async | -w <value>] [-i <value>] [-r]
531
+
532
+ FLAGS
533
+ -i, --job-id=<value> Job ID of the deploy operation you want to cancel.
534
+ -r, --use-most-recent Use the job ID of the most recent deploy operation.
535
+ -w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
536
+ --async Run the command asynchronously.
537
+
538
+ GLOBAL FLAGS
539
+ --json Format output as json.
540
+
541
+ DESCRIPTION
542
+ Cancel a deploy operation.
543
+
544
+ Use this command to cancel a deploy operation that hasn't yet completed in the org. Deploy operations include standard
545
+ deploys, quick deploys, deploy validations, and deploy cancellations.
546
+
547
+ Run this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most
548
+ recent deploy operation.
549
+
550
+ EXAMPLES
551
+ Cancel a deploy operation using a job ID:
552
+
553
+ $ sf deploy metadata cancel --job-id 0Af0x000017yLUFCA2
554
+
555
+ Cancel the most recent deploy operation:
556
+
557
+ $ sf deploy metadata cancel --use-most-recent
558
+
559
+ FLAG DESCRIPTIONS
560
+ -i, --job-id=<value> Job ID of the deploy operation you want to cancel.
561
+
562
+ These commands return a job ID if they time out or you specified the --async flag:
563
+
564
+ - sf deploy metadata
565
+ - sf deploy metadata validate
566
+ - sf deploy metadata quick
567
+ - sf deploy metadata cancel
568
+
569
+ The job ID is valid for 10 days from when you started the deploy operation.
570
+
571
+ -r, --use-most-recent Use the job ID of the most recent deploy operation.
572
+
573
+ For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less.
574
+ If your most recent deploy operations was more than 3 days ago, this flag won't find a job ID.
575
+
576
+ -w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
577
+
578
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To
579
+ resume watching the cancellation, run "sf deploy metadata resume". To check the status of the cancellation, run "sf
580
+ deploy metadata report".
581
+
582
+ --async Run the command asynchronously.
583
+
584
+ The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To
585
+ resume watching the cancellation, run "sf deploy metadata resume". To check the status of the cancellation, run "sf
586
+ deploy metadata report".
587
+ ```
588
+
589
+ ## `sf deploy metadata quick`
590
+
591
+ Quickly deploy a validated deployment to an org.
592
+
593
+ ```
594
+ USAGE
595
+ $ sf deploy metadata quick [--json] [--async | -w <value>] [--concise | --verbose] [-i <value>] [-o <value>] [-r]
596
+
597
+ FLAGS
598
+ -i, --job-id=<value> Job ID of the deployment you want to quick deploy.
599
+ -o, --target-org=<value> Login username or alias for the target org.
600
+ -r, --use-most-recent Use the job ID of the most recently validated deployment.
601
+ -w, --wait=<minutes> [default: [object Object]] Number of minutes to wait for the command to complete and display
602
+ results.
603
+ --async Run the command asynchronously.
604
+ --concise Show concise output of the deploy result.
605
+ --verbose Show verbose output of the deploy result.
606
+
607
+ GLOBAL FLAGS
608
+ --json Format output as json.
609
+
610
+ DESCRIPTION
611
+ Quickly deploy a validated deployment to an org.
612
+
613
+ Before you run this command, first create a validated deployment with the "sf deploy metadata validate" command, which
614
+ returns a job ID. Validated deployments haven't been deployed to the org yet; you deploy them with this command.
615
+ Either pass the job ID to this command or use the --use-most-recent flag to use the job ID of the most recently
616
+ validated deployment. For the quick deploy to succeed, the associated validated deployment must also have succeeded.
617
+
618
+ Executing this quick deploy command takes less time than a standard deploy because it skips running Apex tests. These
619
+ tests were previously run as part of the validation. Validating first and then running a quick deploy is useful if the
620
+ deployment to your production org take several hours and you don’t want to risk a failed deploy.
621
+
622
+ This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org.
623
+ This command doesn’t attempt to merge your source with the versions in your org.
624
+
625
+ EXAMPLES
626
+ Run a quick deploy to your default org using a job ID:
627
+
628
+ $ sf deploy metadata quick --job-id 0Af0x000017yLUFCA2
629
+
630
+ Asynchronously run a quick deploy of the most recently validated deployment to an org with alias "my-prod-org":
631
+
632
+ $ sf deploy metadata quick --async --use-most-recent --target-org my-prod-org
633
+
634
+ FLAG DESCRIPTIONS
635
+ -i, --job-id=<value> Job ID of the deployment you want to quick deploy.
636
+
637
+ The job ID is valid for 10 days from when you started the validation.
638
+
639
+ -o, --target-org=<value> Login username or alias for the target org.
640
+
641
+ Overrides your default org.
642
+
643
+ -r, --use-most-recent Use the job ID of the most recently validated deployment.
644
+
645
+ For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most
646
+ recent deployment validation was more than 3 days ago, this flag won't find a job ID.
647
+
648
+ -w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
649
+
650
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To
651
+ resume watching the deploy, run "sf deploy metadata resume". To check the status of the deploy, run "sf deploy
652
+ metadata report".
653
+
654
+ --async Run the command asynchronously.
655
+
656
+ The command immediately returns the control of the terminal to you. This way, you can continue to use the CLI. To
657
+ resume watching the deploy, run "sf deploy metadata resume". To check the status of the deploy, run "sf deploy
658
+ metadata report".
659
+
660
+ ERROR CODES
661
+ Succeeded (0) The deploy succeeded.
662
+ Canceled (1) The deploy was canceled.
663
+ Failed (1) The deploy failed.
664
+ SucceededPartial (68) The deploy partially succeeded.
665
+ InProgress (69) The deploy is in progress.
666
+ Pending (69) The deploy is pending.
667
+ Canceling (69) The deploy is being canceled.
668
+ ```
669
+
670
+ ## `sf deploy metadata report`
671
+
672
+ Check the status of a deploy operation.
673
+
674
+ ```
675
+ USAGE
676
+ $ sf deploy metadata report [--json] [-i <value>] [-r]
677
+
678
+ FLAGS
679
+ -i, --job-id=<value> Job ID of the deploy operation you want to check the status of.
680
+ -r, --use-most-recent Use the job ID of the most recent deploy operation.
681
+
682
+ GLOBAL FLAGS
683
+ --json Format output as json.
684
+
685
+ DESCRIPTION
686
+ Check the status of a deploy operation.
687
+
688
+ Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations.
689
+
690
+ Run this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most
691
+ recent deploy operation.
692
+
693
+ EXAMPLES
694
+ Check the status using a job ID:
695
+
696
+ $ sf deploy metadata report --job-id 0Af0x000017yLUFCA2
697
+
698
+ Check the status of the most recent deploy operation:
699
+
700
+ $ sf deploy metadata report --use-most-recent
701
+
702
+ FLAG DESCRIPTIONS
703
+ -i, --job-id=<value> Job ID of the deploy operation you want to check the status of.
704
+
705
+ These commands return a job ID if they time out or you specified the --async flag:
706
+
707
+ - sf deploy metadata
708
+ - sf deploy metadata validate
709
+ - sf deploy metadata quick
710
+ - sf deploy metadata cancel
711
+
712
+ The job ID is valid for 10 days from when you started the deploy operation.
713
+
714
+ -r, --use-most-recent Use the job ID of the most recent deploy operation.
715
+
716
+ For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less.
717
+ If your most recent operation was more than 3 days ago, this flag won't find a job ID.
718
+ ```
719
+
720
+ ## `sf deploy metadata resume`
721
+
722
+ Resume watching a deploy operation.
723
+
724
+ ```
725
+ USAGE
726
+ $ sf deploy metadata resume [--json] [--concise | --verbose] [-i <value>] [-r] [-w <value>]
727
+
728
+ FLAGS
729
+ -i, --job-id=<value> Job ID of the deploy operation you want to resume.
730
+ -r, --use-most-recent Use the job ID of the most recent deploy operation.
731
+ -w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
732
+ --concise Show concise output of the deploy operation result.
733
+ --verbose Show verbose output of the deploy operation result.
734
+
735
+ GLOBAL FLAGS
736
+ --json Format output as json.
737
+
738
+ DESCRIPTION
739
+ Resume watching a deploy operation.
740
+
741
+ Use this command to resume watching a deploy operation if the original command times out or you specified the --async
742
+ flag. Deploy operations include standard deploys, quick deploys, deploy validations, and deploy cancellations. This
743
+ command doesn't resume the original operation itself, because the operation always continues after you've started it,
744
+ regardless of whether you're watching it or not.
745
+
746
+ Run this command by either passing it a job ID or specifying the --use-most-recent flag to use the job ID of the most
747
+ recent deploy operation.
748
+
749
+ EXAMPLES
750
+ Resume watching a deploy operation using a job ID:
751
+
752
+ $ sf deploy metadata resume --job-id 0Af0x000017yLUFCA2
753
+
754
+ Resume watching the most recent deploy operation:
755
+
756
+ $ sf deploy metadata resume --use-most-recent
757
+
758
+ FLAG DESCRIPTIONS
759
+ -i, --job-id=<value> Job ID of the deploy operation you want to resume.
760
+
761
+ These commands return a job ID if they time out or you specified the --async flag:
762
+
763
+ - sf deploy metadata
764
+ - sf deploy metadata validate
765
+ - sf deploy metadata quick
766
+ - sf deploy metadata cancel
767
+
768
+ The job ID is valid for 10 days from when you started the deploy operation.
769
+
770
+ -r, --use-most-recent Use the job ID of the most recent deploy operation.
771
+
772
+ For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less.
773
+ If your most recent operation was more than 3 days ago, this flag won't find a job ID.
774
+
775
+ -w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
776
+
777
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you. To
778
+ resume watching the deploy operation, run this command again. To check the status of the deploy operation, run "sf
779
+ deploy metadata report".
780
+
781
+ ENVIRONMENT VARIABLES
782
+ SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
783
+
784
+ ERROR CODES
785
+ Succeeded (0) The deploy succeeded.
786
+ Canceled (1) The deploy was canceled.
787
+ Failed (1) The deploy failed.
788
+ SucceededPartial (68) The deploy partially succeeded.
789
+ InProgress (69) The deploy is in progress.
790
+ Pending (69) The deploy is pending.
791
+ Canceling (69) The deploy is being canceled.
792
+ ```
793
+
794
+ ## `sf deploy metadata validate`
795
+
796
+ Validate a metadata deployment without actually executing it.
797
+
798
+ ```
799
+ USAGE
800
+ $ sf deploy metadata validate [--json] [-a <value>] [--async] [--concise | --verbose] [-x <value> | -m <value> | -d <value>]
801
+ [-o <value>] [-t <value>] [-l RunAllTestsInOrg|RunLocalTests|RunSpecifiedTests] [-w <value>]
802
+
803
+ FLAGS
804
+ -a, --api-version=<value> Target API version for the validation.
805
+ -d, --source-dir=<value>... Path to the local source files to validate for deployment.
806
+ -l, --test-level=<option> [default: RunLocalTests] Deployment Apex testing level.
807
+ <options: RunAllTestsInOrg|RunLocalTests|RunSpecifiedTests>
808
+ -m, --metadata=<value>... Metadata component names to validate for deployment.
809
+ -o, --target-org=<value> Login username or alias for the target org.
810
+ -t, --tests=<value>... Apex tests to run when --test-level is RunSpecifiedTests.
811
+ -w, --wait=<minutes> [default: [object Object]] Number of minutes to wait for the command to complete and
812
+ display results.
813
+ -x, --manifest=<value> Full file path for manifest (package.xml) of components to validate for deployment.
814
+ --async Run the command asynchronously.
815
+ --concise Show concise output of the validation result.
816
+ --verbose Show verbose output of the validation result.
817
+
818
+ GLOBAL FLAGS
819
+ --json Format output as json.
820
+
821
+ DESCRIPTION
822
+ Validate a metadata deployment without actually executing it.
823
+
824
+ Use this command to verify whether a deployment will succeed without actually deploying the metadata to your org. This
825
+ command is similar to "sf deploy metadata", except you're required to run Apex tests, and the command returns a job ID
826
+ rather than executing the deployment. If the validation succeeds, then you pass this job ID to the "sf deploy metadata
827
+ quick" command to actually deploy the metadata. This quick deploy takes less time because it skips running Apex tests.
828
+ The job ID is valid for 10 days from when you started the validation. Validating first is useful if the deployment to
829
+ your production org take several hours and you don’t want to risk a failed deploy.
830
+
831
+ You must run this command from within a project.
832
+
833
+ This command doesn't support source-tracking. When you quick deploy with the resulting job ID, the source you deploy
834
+ overwrites the corresponding metadata in your org.
835
+
836
+ To validate the deployment of multiple metadata components, either set multiple --metadata <name> flags or a single
837
+ --metadata flag with multiple names separated by spaces. Enclose names that contain spaces in one set of double
838
+ quotes. The same syntax applies to --manifest and --source-dir.
839
+
840
+ EXAMPLES
841
+ NOTE: These examples focus on validating large deployments. See the help for "sf deploy metadata" for examples of deploying smaller sets of metadata which you can also use to validate.
842
+
843
+ Validate the deployment of all source files in a directory to the default org:
844
+
845
+ $ sf deploy metadata validate --source-dir path/to/source
846
+
847
+ Asynchronously validate the deployment and run all tests in the org with alias "my-prod-org"; command immediately
848
+ returns the job ID:
849
+
850
+ $ sf deploy metadata validate --source-dir path/to/source --async --test-level RunAllTestsInOrg --target-org \
851
+ my-prod-org
852
+
853
+ Validate the deployment of all components listed in a manifest:
854
+
855
+ $ sf deploy metadata validate --manifest path/to/package.xml
856
+
857
+ FLAG DESCRIPTIONS
858
+ -a, --api-version=<value> Target API version for the validation.
859
+
860
+ Use this flag to override the default API version, which is the latest version supported the CLI, with the API
861
+ version in your package.xml file.
862
+
863
+ -d, --source-dir=<value>... Path to the local source files to validate for deployment.
864
+
865
+ The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
866
+ (in which case the operation is applied to all metadata types in the directory and its subdirectories).
867
+
868
+ If you specify this flag, don’t specify --metadata or --manifest.
869
+
870
+ -l, --test-level=RunAllTestsInOrg|RunLocalTests|RunSpecifiedTests Deployment Apex testing level.
871
+
872
+ Valid values are:
873
+
874
+ - RunSpecifiedTests — Runs only the tests that you specify with the --run-tests flag. Code coverage requirements
875
+ differ from the default coverage requirements when using this test level. Executed tests must comprise a minimum of
876
+ 75% code coverage for each class and trigger in the deployment package. This coverage is computed for each class and
877
+ trigger individually and is different than the overall coverage percentage.
878
+
879
+ - RunLocalTests — All tests in your org are run, except the ones that originate from installed managed and unlocked
880
+ packages. This test level is the default for production deployments that include Apex classes or triggers.
881
+
882
+ - RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.
883
+
884
+ If you don’t specify a test level, the default behavior depends on the contents of your deployment package. For more
885
+ information, see [Running Tests in a
886
+ Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)
887
+ in the "Metadata API Developer Guide".
888
+
889
+ -o, --target-org=<value> Login username or alias for the target org.
890
+
891
+ Overrides your default org.
892
+
893
+ -w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
894
+
895
+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you and
896
+ returns the job ID. To resume watching the validation, run "sf deploy metadata resume". To check the status of the
897
+ validation, run "sf deploy metadata report".
898
+
899
+ -x, --manifest=<value> Full file path for manifest (package.xml) of components to validate for deployment.
900
+
901
+ All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
902
+
903
+ --async Run the command asynchronously.
904
+
905
+ The command immediately returns the job ID and control of the terminal to you. This way, you can continue to use the
906
+ CLI. To resume watching the validation, run "sf deploy metadata resume". To check the status of the validation, run
907
+ "sf deploy metadata report".
908
+
909
+ CONFIGURATION VARIABLES
910
+ target-org Username or alias of the org that all commands run against by default. (sf only)
911
+ org-api-version API version of your project. Default: API version of your Dev Hub org.
912
+
913
+ ENVIRONMENT VARIABLES
914
+ SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
915
+ SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
916
+
917
+ ERROR CODES
918
+ Succeeded (0) The deploy succeeded.
919
+ Canceled (1) The deploy was canceled.
920
+ Failed (1) The deploy failed.
921
+ SucceededPartial (68) The deploy partially succeeded.
922
+ InProgress (69) The deploy is in progress.
923
+ Pending (69) The deploy is pending.
924
+ Canceling (69) The deploy is being canceled.
500
925
  ```
501
926
 
502
927
  ## `sf env compute collaborator add`
@@ -2118,14 +2543,12 @@ FLAG DESCRIPTIONS
2118
2543
  If you specify this parameter, don’t specify --metadata or --source-dir.
2119
2544
 
2120
2545
  CONFIGURATION VARIABLES
2121
- target-org Username or alias of the org that all commands run against by default. (sf only)
2122
- apiVersion API version of your project. Default: API version of your Dev Hub org. (sfdx only)
2546
+ target-org Username or alias of the org that all commands run against by default. (sf only)
2547
+ org-api-version API version of your project. Default: API version of your Dev Hub org.
2123
2548
 
2124
2549
  ENVIRONMENT VARIABLES
2125
- SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
2126
- SFDX_DEFAULTUSERNAME Username or alias of your default org. Overrides the defaultusername configuration value.
2127
- SFDX_USE_PROGRESS_BAR Set to false to disable the progress bar when running force:mdapi:deploy, force:source:deploy,
2128
- or force:source:push.
2550
+ SF_TARGET_ORG Username or alias of your default org. Overrides the target-org configuration variable.
2551
+ SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
2129
2552
  ```
2130
2553
 
2131
2554
  ## `sf run function`