@salesforce/cli 2.44.6 → 2.44.8
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 +105 -58
- package/npm-shrinkwrap.json +120 -549
- package/oclif.lock +151 -188
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli
|
|
|
24
24
|
$ sf COMMAND
|
|
25
25
|
running command...
|
|
26
26
|
$ sf (--version|-v)
|
|
27
|
-
@salesforce/cli/2.44.
|
|
27
|
+
@salesforce/cli/2.44.8 linux-x64 node-v20.13.1
|
|
28
28
|
$ sf --help [COMMAND]
|
|
29
29
|
USAGE
|
|
30
30
|
$ sf COMMAND
|
|
@@ -148,6 +148,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
|
|
|
148
148
|
- [`sf plugins update`](#sf-plugins-update)
|
|
149
149
|
- [`sf project convert mdapi`](#sf-project-convert-mdapi)
|
|
150
150
|
- [`sf project convert source`](#sf-project-convert-source)
|
|
151
|
+
- [`sf project convert source-behavior`](#sf-project-convert-source-behavior)
|
|
151
152
|
- [`sf project delete source`](#sf-project-delete-source)
|
|
152
153
|
- [`sf project delete tracking`](#sf-project-delete-tracking)
|
|
153
154
|
- [`sf project deploy cancel`](#sf-project-deploy-cancel)
|
|
@@ -5718,7 +5719,7 @@ FLAG DESCRIPTIONS
|
|
|
5718
5719
|
If you specify this parameter, don’t specify --metadata or --source-dir.
|
|
5719
5720
|
```
|
|
5720
5721
|
|
|
5721
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
5722
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/convert/mdapi.ts)_
|
|
5722
5723
|
|
|
5723
5724
|
## `sf project convert source`
|
|
5724
5725
|
|
|
@@ -5730,7 +5731,7 @@ USAGE
|
|
|
5730
5731
|
[-p <value> | -x <value> | -m <value>]
|
|
5731
5732
|
|
|
5732
5733
|
FLAGS
|
|
5733
|
-
-d, --output-dir=<value> [default:
|
|
5734
|
+
-d, --output-dir=<value> [default: metadataPackage_1717189274100] Output directory to store the Metadata
|
|
5734
5735
|
API–formatted files in.
|
|
5735
5736
|
-m, --metadata=<value>... Metadata component names to convert.
|
|
5736
5737
|
-n, --package-name=<value> Name of the package to associate with the metadata-formatted files.
|
|
@@ -5791,7 +5792,64 @@ FLAG DESCRIPTIONS
|
|
|
5791
5792
|
Override the api version used for api requests made by this command
|
|
5792
5793
|
```
|
|
5793
5794
|
|
|
5794
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
5795
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/convert/source.ts)_
|
|
5796
|
+
|
|
5797
|
+
## `sf project convert source-behavior`
|
|
5798
|
+
|
|
5799
|
+
Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.
|
|
5800
|
+
|
|
5801
|
+
```
|
|
5802
|
+
USAGE
|
|
5803
|
+
$ sf project convert source-behavior -b
|
|
5804
|
+
decomposeCustomLabelsBeta|decomposePermissionSetBeta|decomposeSharingRulesBeta|decomposeWorkflowBeta [--json]
|
|
5805
|
+
[--flags-dir <value>] [--dry-run] [--preserve-temp-dir] [-o <value>]
|
|
5806
|
+
|
|
5807
|
+
FLAGS
|
|
5808
|
+
-b, --behavior=<option> (required) Behavior to enable; the values correspond to the possible values of the
|
|
5809
|
+
"sourceBehaviorOption" option in the "sfdx-project.json" file.
|
|
5810
|
+
<options: decomposeCustomLabelsBeta|decomposePermissionSetBeta|decomposeSharingRulesBeta|dec
|
|
5811
|
+
omposeWorkflowBeta>
|
|
5812
|
+
-o, --target-org=<value> Username or alias of the target org.
|
|
5813
|
+
--dry-run Display what the command would do, but don't make any actual changes.
|
|
5814
|
+
--preserve-temp-dir Don't delete the metadata API format temporary directory that this command creates. Useful
|
|
5815
|
+
for debugging.
|
|
5816
|
+
|
|
5817
|
+
GLOBAL FLAGS
|
|
5818
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
5819
|
+
--json Format output as json.
|
|
5820
|
+
|
|
5821
|
+
DESCRIPTION
|
|
5822
|
+
Enable a behavior of your project source files, and then update your Salesforce DX project to implement the behavior.
|
|
5823
|
+
|
|
5824
|
+
Specifically, this command updates the "sourceBehaviorOption" option in the "sfdx-project.json" file and then converts
|
|
5825
|
+
the associated local source files in your project as needed.
|
|
5826
|
+
|
|
5827
|
+
For example, run this command with the "--behavior decomposePermissionSetBeta" flag to start decomposing permission
|
|
5828
|
+
sets when you deploy or retrieve them. Decomposing means breaking up the monolithic metadata API format XML file that
|
|
5829
|
+
corresponds to a metadata component into smaller XML files and directories based on its subtypes. Permission sets are
|
|
5830
|
+
not decomposed by default; you must opt-in to start decomposing them by using this command. When the command finishes,
|
|
5831
|
+
your "sfdx-project.json" file is updated to always decompose permission sets, and the existing permission set files in
|
|
5832
|
+
your local package directories are converted into the new decomposed format. You run this command only once for a
|
|
5833
|
+
given behavior change.
|
|
5834
|
+
|
|
5835
|
+
For more information about the possible values for the --behavior flag, see the "sourceBehaviorOptions" section in the
|
|
5836
|
+
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm topic.
|
|
5837
|
+
|
|
5838
|
+
EXAMPLES
|
|
5839
|
+
Update your Salesforce DX project to decompose custom labels:
|
|
5840
|
+
|
|
5841
|
+
$ sf project convert source-behavior --behavior decomposeCustomLabelsBeta
|
|
5842
|
+
|
|
5843
|
+
Display what the command would do, but don't change any existing files:
|
|
5844
|
+
|
|
5845
|
+
$ sf project convert source-behavior --behavior decomposeCustomLabelsBeta --dry-run
|
|
5846
|
+
|
|
5847
|
+
Keep the temporary directory that contains the interim metadata API formatted files:
|
|
5848
|
+
|
|
5849
|
+
$ sf project convert source-behavior --behavior decomposeCustomLabelsBeta --dry-run --preserve-temp-dir
|
|
5850
|
+
```
|
|
5851
|
+
|
|
5852
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/convert/source-behavior.ts)_
|
|
5795
5853
|
|
|
5796
5854
|
## `sf project delete source`
|
|
5797
5855
|
|
|
@@ -5931,7 +5989,7 @@ FLAG DESCRIPTIONS
|
|
|
5931
5989
|
- Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
|
|
5932
5990
|
```
|
|
5933
5991
|
|
|
5934
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
5992
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/delete/source.ts)_
|
|
5935
5993
|
|
|
5936
5994
|
## `sf project delete tracking`
|
|
5937
5995
|
|
|
@@ -5968,7 +6026,7 @@ EXAMPLES
|
|
|
5968
6026
|
$ sf project delete tracking --target-org my-scratch
|
|
5969
6027
|
```
|
|
5970
6028
|
|
|
5971
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6029
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/delete/tracking.ts)_
|
|
5972
6030
|
|
|
5973
6031
|
## `sf project deploy cancel`
|
|
5974
6032
|
|
|
@@ -5980,7 +6038,7 @@ USAGE
|
|
|
5980
6038
|
|
|
5981
6039
|
FLAGS
|
|
5982
6040
|
-i, --job-id=<value> Job ID of the deploy operation you want to cancel.
|
|
5983
|
-
-o, --target-org=<value>
|
|
6041
|
+
-o, --target-org=<value> Username or alias of the target org.
|
|
5984
6042
|
-r, --use-most-recent Use the job ID of the most recent deploy operation.
|
|
5985
6043
|
-w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
|
|
5986
6044
|
--async Run the command asynchronously.
|
|
@@ -6022,10 +6080,6 @@ FLAG DESCRIPTIONS
|
|
|
6022
6080
|
|
|
6023
6081
|
The job ID is valid for 10 days from when you started the deploy operation.
|
|
6024
6082
|
|
|
6025
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
6026
|
-
|
|
6027
|
-
Overrides your default org.
|
|
6028
|
-
|
|
6029
6083
|
-r, --use-most-recent Use the job ID of the most recent deploy operation.
|
|
6030
6084
|
|
|
6031
6085
|
For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less.
|
|
@@ -6044,7 +6098,7 @@ FLAG DESCRIPTIONS
|
|
|
6044
6098
|
project deploy report".
|
|
6045
6099
|
```
|
|
6046
6100
|
|
|
6047
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6101
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/cancel.ts)_
|
|
6048
6102
|
|
|
6049
6103
|
## `sf project deploy preview`
|
|
6050
6104
|
|
|
@@ -6059,7 +6113,8 @@ FLAGS
|
|
|
6059
6113
|
-c, --ignore-conflicts Don't display conflicts in preview of the deployment.
|
|
6060
6114
|
-d, --source-dir=<value>... Path to the local source files to preview.
|
|
6061
6115
|
-m, --metadata=<value>... Metadata component names to preview.
|
|
6062
|
-
-o, --target-org=<value> (required)
|
|
6116
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
6117
|
+
configuration variable is already set.
|
|
6063
6118
|
-x, --manifest=<value> Full file path for manifest (package.xml) of components to preview.
|
|
6064
6119
|
--concise Show only the changes that will be deployed; omits files that are forceignored.
|
|
6065
6120
|
|
|
@@ -6121,16 +6176,12 @@ FLAG DESCRIPTIONS
|
|
|
6121
6176
|
|
|
6122
6177
|
If you specify this flag, don’t specify --metadata or --manifest.
|
|
6123
6178
|
|
|
6124
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
6125
|
-
|
|
6126
|
-
Overrides your default org.
|
|
6127
|
-
|
|
6128
6179
|
-x, --manifest=<value> Full file path for manifest (package.xml) of components to preview.
|
|
6129
6180
|
|
|
6130
6181
|
All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
|
|
6131
6182
|
```
|
|
6132
6183
|
|
|
6133
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6184
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/preview.ts)_
|
|
6134
6185
|
|
|
6135
6186
|
## `sf project deploy quick`
|
|
6136
6187
|
|
|
@@ -6144,7 +6195,7 @@ USAGE
|
|
|
6144
6195
|
FLAGS
|
|
6145
6196
|
-a, --api-version=<value> Target API version for the deploy.
|
|
6146
6197
|
-i, --job-id=<value> Job ID of the deployment you want to quick deploy.
|
|
6147
|
-
-o, --target-org=<value>
|
|
6198
|
+
-o, --target-org=<value> Username or alias of the target org.
|
|
6148
6199
|
-r, --use-most-recent Use the job ID of the most recently validated deployment.
|
|
6149
6200
|
-w, --wait=<minutes> [default: 33 minutes] Number of minutes to wait for the command to complete and display
|
|
6150
6201
|
results.
|
|
@@ -6196,10 +6247,6 @@ FLAG DESCRIPTIONS
|
|
|
6196
6247
|
|
|
6197
6248
|
The job ID is valid for 10 days from when you started the validation.
|
|
6198
6249
|
|
|
6199
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
6200
|
-
|
|
6201
|
-
Overrides your default org.
|
|
6202
|
-
|
|
6203
6250
|
-r, --use-most-recent Use the job ID of the most recently validated deployment.
|
|
6204
6251
|
|
|
6205
6252
|
For performance reasons, this flag uses only job IDs that were validated in the past 3 days or less. If your most
|
|
@@ -6227,7 +6274,7 @@ ERROR CODES
|
|
|
6227
6274
|
Canceling (69) The deploy is being canceled.
|
|
6228
6275
|
```
|
|
6229
6276
|
|
|
6230
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6277
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/quick.ts)_
|
|
6231
6278
|
|
|
6232
6279
|
## `sf project deploy report`
|
|
6233
6280
|
|
|
@@ -6241,7 +6288,7 @@ USAGE
|
|
|
6241
6288
|
|
|
6242
6289
|
FLAGS
|
|
6243
6290
|
-i, --job-id=<value> Job ID of the deploy operation you want to check the status of.
|
|
6244
|
-
-o, --target-org=<value>
|
|
6291
|
+
-o, --target-org=<value> Username or alias of the target org.
|
|
6245
6292
|
-r, --use-most-recent Use the job ID of the most recent deploy operation.
|
|
6246
6293
|
-w, --wait=<minutes> Number of minutes to wait for command to complete and display results.
|
|
6247
6294
|
|
|
@@ -6300,10 +6347,6 @@ FLAG DESCRIPTIONS
|
|
|
6300
6347
|
|
|
6301
6348
|
The job ID is valid for 10 days from when you started the deploy operation.
|
|
6302
6349
|
|
|
6303
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
6304
|
-
|
|
6305
|
-
Overrides your default org.
|
|
6306
|
-
|
|
6307
6350
|
-r, --use-most-recent Use the job ID of the most recent deploy operation.
|
|
6308
6351
|
|
|
6309
6352
|
For performance reasons, this flag uses job IDs for deploy operations that started only in the past 3 days or less.
|
|
@@ -6323,7 +6366,7 @@ FLAG DESCRIPTIONS
|
|
|
6323
6366
|
--coverage-formatters lcov --coverage-formatters clover
|
|
6324
6367
|
```
|
|
6325
6368
|
|
|
6326
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6369
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/report.ts)_
|
|
6327
6370
|
|
|
6328
6371
|
## `sf project deploy resume`
|
|
6329
6372
|
|
|
@@ -6420,7 +6463,7 @@ ERROR CODES
|
|
|
6420
6463
|
Canceling (69) The deploy is being canceled.
|
|
6421
6464
|
```
|
|
6422
6465
|
|
|
6423
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6466
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/resume.ts)_
|
|
6424
6467
|
|
|
6425
6468
|
## `sf project deploy start`
|
|
6426
6469
|
|
|
@@ -6439,7 +6482,8 @@ FLAGS
|
|
|
6439
6482
|
-a, --api-version=<value> Target API version for the deploy.
|
|
6440
6483
|
-c, --ignore-conflicts Ignore conflicts and deploy local files, even if they overwrite changes in the org.
|
|
6441
6484
|
-g, --ignore-warnings Ignore warnings and allow a deployment to complete successfully.
|
|
6442
|
-
-o, --target-org=<value> (required)
|
|
6485
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
6486
|
+
configuration variable is already set.
|
|
6443
6487
|
-r, --ignore-errors Ignore any errors and don’t roll back deployment.
|
|
6444
6488
|
-w, --wait=<minutes> Number of minutes to wait for command to complete and display results.
|
|
6445
6489
|
--async Run the command asynchronously.
|
|
@@ -6533,6 +6577,14 @@ EXAMPLES
|
|
|
6533
6577
|
|
|
6534
6578
|
$ sf project deploy start --metadata 'ApexClass:MyApex*' --ignore-warnings
|
|
6535
6579
|
|
|
6580
|
+
Deploy a custom object called ExcitingObject that's in the SBQQ namespace:
|
|
6581
|
+
|
|
6582
|
+
$ sf project deploy start --metadata CustomObject:SBQQ__ExcitingObject
|
|
6583
|
+
|
|
6584
|
+
Deploy all custom objects in the SBQQ namespace by using a wildcard and quotes:
|
|
6585
|
+
|
|
6586
|
+
$ sf project deploy start --metadata 'CustomObject:SBQQ__*'
|
|
6587
|
+
|
|
6536
6588
|
Deploy all custom objects and Apex classes found in all defined package directories (both examples are equivalent):
|
|
6537
6589
|
|
|
6538
6590
|
$ sf project deploy start --metadata CustomObject ApexClass
|
|
@@ -6600,10 +6652,6 @@ FLAG DESCRIPTIONS
|
|
|
6600
6652
|
Deployment](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_running_tests.htm)
|
|
6601
6653
|
in the "Metadata API Developer Guide".
|
|
6602
6654
|
|
|
6603
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
6604
|
-
|
|
6605
|
-
Overrides your default org.
|
|
6606
|
-
|
|
6607
6655
|
-r, --ignore-errors Ignore any errors and don’t roll back deployment.
|
|
6608
6656
|
|
|
6609
6657
|
Never use this flag when deploying to a production org. If you specify it, components without errors are deployed
|
|
@@ -6658,7 +6706,7 @@ ERROR CODES
|
|
|
6658
6706
|
Canceling (69) The deploy is being canceled.
|
|
6659
6707
|
```
|
|
6660
6708
|
|
|
6661
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6709
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/start.ts)_
|
|
6662
6710
|
|
|
6663
6711
|
## `sf project deploy validate`
|
|
6664
6712
|
|
|
@@ -6675,7 +6723,8 @@ USAGE
|
|
|
6675
6723
|
FLAGS
|
|
6676
6724
|
-a, --api-version=<value> Target API version for the validation.
|
|
6677
6725
|
-g, --ignore-warnings Ignore warnings and allow a deployment to complete successfully.
|
|
6678
|
-
-o, --target-org=<value> (required)
|
|
6726
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
6727
|
+
configuration variable is already set.
|
|
6679
6728
|
-w, --wait=<minutes> Number of minutes to wait for the command to complete and display results.
|
|
6680
6729
|
--async Run the command asynchronously.
|
|
6681
6730
|
--concise Show concise output of the validation result.
|
|
@@ -6797,10 +6846,6 @@ FLAG DESCRIPTIONS
|
|
|
6797
6846
|
|
|
6798
6847
|
- RunAllTestsInOrg — All tests in your org are run, including tests of managed packages.
|
|
6799
6848
|
|
|
6800
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
6801
|
-
|
|
6802
|
-
Overrides your default org.
|
|
6803
|
-
|
|
6804
6849
|
-t, --tests=<value>... Apex tests to run when --test-level is RunSpecifiedTests.
|
|
6805
6850
|
|
|
6806
6851
|
If a test name contains a space, enclose it in double quotes.
|
|
@@ -6850,7 +6895,7 @@ ERROR CODES
|
|
|
6850
6895
|
Canceling (69) The deploy is being canceled.
|
|
6851
6896
|
```
|
|
6852
6897
|
|
|
6853
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
6898
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/deploy/validate.ts)_
|
|
6854
6899
|
|
|
6855
6900
|
## `sf project generate`
|
|
6856
6901
|
|
|
@@ -7032,7 +7077,7 @@ EXAMPLES
|
|
|
7032
7077
|
$ sf project generate manifest --from-org test@myorg.com --include-packages unlocked
|
|
7033
7078
|
```
|
|
7034
7079
|
|
|
7035
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7080
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/generate/manifest.ts)_
|
|
7036
7081
|
|
|
7037
7082
|
## `sf project list ignored`
|
|
7038
7083
|
|
|
@@ -7074,7 +7119,7 @@ EXAMPLES
|
|
|
7074
7119
|
$ sf project list ignored --source-dir package.xml
|
|
7075
7120
|
```
|
|
7076
7121
|
|
|
7077
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7122
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/list/ignored.ts)_
|
|
7078
7123
|
|
|
7079
7124
|
## `sf project reset tracking`
|
|
7080
7125
|
|
|
@@ -7123,7 +7168,7 @@ EXAMPLES
|
|
|
7123
7168
|
$ sf project reset tracking --revision 30
|
|
7124
7169
|
```
|
|
7125
7170
|
|
|
7126
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7171
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/reset/tracking.ts)_
|
|
7127
7172
|
|
|
7128
7173
|
## `sf project retrieve preview`
|
|
7129
7174
|
|
|
@@ -7135,7 +7180,8 @@ USAGE
|
|
|
7135
7180
|
|
|
7136
7181
|
FLAGS
|
|
7137
7182
|
-c, --ignore-conflicts Don't display conflicts in the preview of the retrieval.
|
|
7138
|
-
-o, --target-org=<value> (required)
|
|
7183
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
7184
|
+
configuration variable is already set.
|
|
7139
7185
|
--concise Show only the changes that will be retrieved; omits files that are forceignored.
|
|
7140
7186
|
|
|
7141
7187
|
GLOBAL FLAGS
|
|
@@ -7174,13 +7220,9 @@ FLAG DESCRIPTIONS
|
|
|
7174
7220
|
|
|
7175
7221
|
This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as
|
|
7176
7222
|
production orgs.
|
|
7177
|
-
|
|
7178
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
7179
|
-
|
|
7180
|
-
Overrides your default org.
|
|
7181
7223
|
```
|
|
7182
7224
|
|
|
7183
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7225
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/retrieve/preview.ts)_
|
|
7184
7226
|
|
|
7185
7227
|
## `sf project retrieve start`
|
|
7186
7228
|
|
|
@@ -7199,7 +7241,8 @@ FLAGS
|
|
|
7199
7241
|
-m, --metadata=<value>... Metadata component names to retrieve. Wildcards (`*`) supported as long as you use
|
|
7200
7242
|
quotes, such as `ApexClass:MyClass*`.
|
|
7201
7243
|
-n, --package-name=<value>... Package names to retrieve.
|
|
7202
|
-
-o, --target-org=<value> (required)
|
|
7244
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
7245
|
+
configuration variable is already set.
|
|
7203
7246
|
-r, --output-dir=<value> Directory root for the retrieved source files.
|
|
7204
7247
|
-w, --wait=<value> [default: 33 minutes] Number of minutes to wait for the command to complete and display
|
|
7205
7248
|
results to the terminal window.
|
|
@@ -7265,6 +7308,14 @@ EXAMPLES
|
|
|
7265
7308
|
|
|
7266
7309
|
$ sf project retrieve start --metadata 'ApexClass:MyApex*'
|
|
7267
7310
|
|
|
7311
|
+
Retrieve a custom object called ExcitingObject that's in the SBQQ namespace:
|
|
7312
|
+
|
|
7313
|
+
$ sf project retrieve start --metadata CustomObject:SBQQ__ExcitingObject
|
|
7314
|
+
|
|
7315
|
+
Retrieve all custom objects in the SBQQ namespace by using a wildcard and quotes:
|
|
7316
|
+
|
|
7317
|
+
$ sf project retrieve start --metadata 'CustomObject:SBQQ__*'
|
|
7318
|
+
|
|
7268
7319
|
Retrieve all custom objects and Apex classes found in all defined package directories (both examples are
|
|
7269
7320
|
equivalent):
|
|
7270
7321
|
|
|
@@ -7312,10 +7363,6 @@ FLAG DESCRIPTIONS
|
|
|
7312
7363
|
The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder
|
|
7313
7364
|
(in which case the operation is applied to all source files in the directory and its subdirectories).
|
|
7314
7365
|
|
|
7315
|
-
-o, --target-org=<value> Login username or alias for the target org.
|
|
7316
|
-
|
|
7317
|
-
Overrides your default org.
|
|
7318
|
-
|
|
7319
7366
|
-r, --output-dir=<value> Directory root for the retrieved source files.
|
|
7320
7367
|
|
|
7321
7368
|
The root of the directory structure into which the source files are retrieved.
|
|
@@ -7339,7 +7386,7 @@ ENVIRONMENT VARIABLES
|
|
|
7339
7386
|
SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
|
|
7340
7387
|
```
|
|
7341
7388
|
|
|
7342
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.
|
|
7389
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/3.8.3/src/commands/project/retrieve/start.ts)_
|
|
7343
7390
|
|
|
7344
7391
|
## `sf schema generate field`
|
|
7345
7392
|
|