@salesforce/cli 2.158.6 → 2.159.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 +42 -42
- package/node_modules/@salesforce/plugin-apex/README.md +32 -74
- package/node_modules/@salesforce/plugin-apex/oclif.manifest.json +1 -1
- package/node_modules/@salesforce/plugin-apex/package.json +3 -3
- package/node_modules/@salesforce/plugin-api/README.md +6 -21
- package/node_modules/@salesforce/plugin-api/oclif.manifest.json +1 -1
- package/node_modules/@salesforce/plugin-api/package.json +6 -6
- package/node_modules/@salesforce/plugin-auth/README.md +13 -29
- package/node_modules/@salesforce/plugin-auth/oclif.manifest.json +1 -1
- package/node_modules/@salesforce/plugin-auth/package.json +3 -3
- package/node_modules/@salesforce/plugin-deploy-retrieve/README.md +21 -37
- package/node_modules/@salesforce/plugin-deploy-retrieve/lib/formatters/deployResultFormatter.d.ts +1 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/lib/formatters/deployResultFormatter.js +45 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/lib/formatters/deployResultFormatter.js.map +1 -1
- package/node_modules/@salesforce/plugin-deploy-retrieve/oclif.manifest.json +1438 -1438
- package/node_modules/@salesforce/plugin-deploy-retrieve/package.json +4 -4
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-delete-source.json +46 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-deploy-cancel.json +46 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-deploy-quick.json +46 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-deploy-report.json +46 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-deploy-resume.json +46 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-deploy-start.json +46 -0
- package/node_modules/@salesforce/plugin-deploy-retrieve/schemas/project-deploy-validate.json +46 -0
- package/node_modules/@salesforce/plugin-trust/README.md +6 -6
- package/node_modules/@salesforce/plugin-trust/lib/shared/installationVerification.js +4 -2
- package/node_modules/@salesforce/plugin-trust/lib/shared/installationVerification.js.map +1 -1
- package/node_modules/@salesforce/plugin-trust/oclif.manifest.json +1 -1
- package/node_modules/@salesforce/plugin-trust/package.json +3 -3
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/client/index.d.ts +1 -1
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/client/index.js.map +1 -1
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/client/types.d.ts +7 -0
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/client/types.js.map +1 -1
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/convert/convertContext/profileMetadataFinalizer.js +17 -6
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/convert/convertContext/profileMetadataFinalizer.js.map +1 -1
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/index.d.ts +1 -1
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/index.js.map +1 -1
- package/node_modules/@salesforce/source-deploy-retrieve/lib/src/registry/metadataRegistry.json +19 -1
- package/node_modules/@salesforce/source-deploy-retrieve/package.json +2 -2
- package/node_modules/basic-ftp/dist/Client.js +2 -2
- package/node_modules/basic-ftp/dist/safePathNames.d.ts +6 -0
- package/node_modules/basic-ftp/dist/safePathNames.js +52 -0
- package/node_modules/basic-ftp/package.json +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
|
|
|
25
25
|
$ sf COMMAND
|
|
26
26
|
running command...
|
|
27
27
|
$ sf (--version|-v)
|
|
28
|
-
@salesforce/cli/2.
|
|
28
|
+
@salesforce/cli/2.159.0 linux-x64 node-v26.13.0
|
|
29
29
|
$ sf --help [COMMAND]
|
|
30
30
|
USAGE
|
|
31
31
|
$ sf COMMAND
|
|
@@ -2917,7 +2917,7 @@ EXAMPLES
|
|
|
2917
2917
|
$ sf apex get compile-status --target-org me@my.org
|
|
2918
2918
|
```
|
|
2919
2919
|
|
|
2920
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
2920
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/get/compile-status.ts)_
|
|
2921
2921
|
|
|
2922
2922
|
## `sf apex get log`
|
|
2923
2923
|
|
|
@@ -2973,7 +2973,7 @@ FLAG DESCRIPTIONS
|
|
|
2973
2973
|
directory.
|
|
2974
2974
|
```
|
|
2975
2975
|
|
|
2976
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
2976
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/get/log.ts)_
|
|
2977
2977
|
|
|
2978
2978
|
## `sf apex get test`
|
|
2979
2979
|
|
|
@@ -3033,7 +3033,7 @@ EXAMPLES
|
|
|
3033
3033
|
me@myorg'
|
|
3034
3034
|
```
|
|
3035
3035
|
|
|
3036
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3036
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/get/test.ts)_
|
|
3037
3037
|
|
|
3038
3038
|
## `sf apex list log`
|
|
3039
3039
|
|
|
@@ -3073,7 +3073,7 @@ EXAMPLES
|
|
|
3073
3073
|
$ sf apex list log --target-org me@my.org
|
|
3074
3074
|
```
|
|
3075
3075
|
|
|
3076
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3076
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/list/log.ts)_
|
|
3077
3077
|
|
|
3078
3078
|
## `sf apex run`
|
|
3079
3079
|
|
|
@@ -3154,7 +3154,7 @@ FLAG DESCRIPTIONS
|
|
|
3154
3154
|
Can be specified multiple times. Mutually exclusive with --debug-level.
|
|
3155
3155
|
```
|
|
3156
3156
|
|
|
3157
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3157
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/run.ts)_
|
|
3158
3158
|
|
|
3159
3159
|
## `sf apex run test`
|
|
3160
3160
|
|
|
@@ -3301,7 +3301,7 @@ FLAG DESCRIPTIONS
|
|
|
3301
3301
|
--tests Test1 --tests Test2
|
|
3302
3302
|
```
|
|
3303
3303
|
|
|
3304
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3304
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/run/test.ts)_
|
|
3305
3305
|
|
|
3306
3306
|
## `sf apex tail log`
|
|
3307
3307
|
|
|
@@ -3344,7 +3344,7 @@ EXAMPLES
|
|
|
3344
3344
|
$ sf apex tail log --color --skip-trace-flag
|
|
3345
3345
|
```
|
|
3346
3346
|
|
|
3347
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3347
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/tail/log.ts)_
|
|
3348
3348
|
|
|
3349
3349
|
## `sf apex trace create`
|
|
3350
3350
|
|
|
@@ -3410,7 +3410,7 @@ EXAMPLES
|
|
|
3410
3410
|
--duration 60 --target-org my-org
|
|
3411
3411
|
```
|
|
3412
3412
|
|
|
3413
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3413
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/trace/create.ts)_
|
|
3414
3414
|
|
|
3415
3415
|
## `sf apex trace delete`
|
|
3416
3416
|
|
|
@@ -3445,7 +3445,7 @@ EXAMPLES
|
|
|
3445
3445
|
$ sf apex trace delete --trace-flag-id 7tf000000000001AAA --target-org my-org
|
|
3446
3446
|
```
|
|
3447
3447
|
|
|
3448
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3448
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/trace/delete.ts)_
|
|
3449
3449
|
|
|
3450
3450
|
## `sf apex trace list`
|
|
3451
3451
|
|
|
@@ -3480,7 +3480,7 @@ EXAMPLES
|
|
|
3480
3480
|
$ sf apex trace list --target-org my-org
|
|
3481
3481
|
```
|
|
3482
3482
|
|
|
3483
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
3483
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/trace/list.ts)_
|
|
3484
3484
|
|
|
3485
3485
|
## `sf api request graphql`
|
|
3486
3486
|
|
|
@@ -3533,7 +3533,7 @@ EXAMPLES
|
|
|
3533
3533
|
$ sf api request graphql --body example.txt --stream-to-file output.txt --include
|
|
3534
3534
|
```
|
|
3535
3535
|
|
|
3536
|
-
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/2.0.
|
|
3536
|
+
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/2.0.28/src/commands/api/request/graphql.ts)_
|
|
3537
3537
|
|
|
3538
3538
|
## `sf api request rest [URL]`
|
|
3539
3539
|
|
|
@@ -3643,7 +3643,7 @@ FLAG DESCRIPTIONS
|
|
|
3643
3643
|
https://github.com/salesforcecli/plugin-api/tree/main/test/test-files/data-project.
|
|
3644
3644
|
```
|
|
3645
3645
|
|
|
3646
|
-
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/2.0.
|
|
3646
|
+
_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/2.0.28/src/commands/api/request/rest.ts)_
|
|
3647
3647
|
|
|
3648
3648
|
## `sf autocomplete [SHELL]`
|
|
3649
3649
|
|
|
@@ -5296,7 +5296,7 @@ EXAMPLES
|
|
|
5296
5296
|
$ sf logic get test --test-run-id <test run id> --result-format junit --target-org my-scratch
|
|
5297
5297
|
```
|
|
5298
5298
|
|
|
5299
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
5299
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/logic/get/test.ts)_
|
|
5300
5300
|
|
|
5301
5301
|
## `sf logic run test`
|
|
5302
5302
|
|
|
@@ -5418,7 +5418,7 @@ FLAG DESCRIPTIONS
|
|
|
5418
5418
|
--tests Test1 --tests Test2
|
|
5419
5419
|
```
|
|
5420
5420
|
|
|
5421
|
-
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
5421
|
+
_See code: [@salesforce/plugin-apex](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/logic/run/test.ts)_
|
|
5422
5422
|
|
|
5423
5423
|
## `sf org assign permset`
|
|
5424
5424
|
|
|
@@ -6533,7 +6533,7 @@ EXAMPLES
|
|
|
6533
6533
|
$ sf org list auth
|
|
6534
6534
|
```
|
|
6535
6535
|
|
|
6536
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.
|
|
6536
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.5/src/commands/org/list/auth.ts)_
|
|
6537
6537
|
|
|
6538
6538
|
## `sf org list limits`
|
|
6539
6539
|
|
|
@@ -6836,7 +6836,7 @@ FLAG DESCRIPTIONS
|
|
|
6836
6836
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
6837
6837
|
```
|
|
6838
6838
|
|
|
6839
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.
|
|
6839
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.5/src/commands/org/login/access-token.ts)_
|
|
6840
6840
|
|
|
6841
6841
|
## `sf org login jwt`
|
|
6842
6842
|
|
|
@@ -6927,7 +6927,7 @@ FLAG DESCRIPTIONS
|
|
|
6927
6927
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
6928
6928
|
```
|
|
6929
6929
|
|
|
6930
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.
|
|
6930
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.5/src/commands/org/login/jwt.ts)_
|
|
6931
6931
|
|
|
6932
6932
|
## `sf org login sfdx-url`
|
|
6933
6933
|
|
|
@@ -6997,7 +6997,7 @@ EXAMPLES
|
|
|
6997
6997
|
$ echo url | sf org login sfdx-url --sfdx-url-stdin
|
|
6998
6998
|
```
|
|
6999
6999
|
|
|
7000
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.
|
|
7000
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.5/src/commands/org/login/sfdx-url.ts)_
|
|
7001
7001
|
|
|
7002
7002
|
## `sf org login web`
|
|
7003
7003
|
|
|
@@ -7102,7 +7102,7 @@ FLAG DESCRIPTIONS
|
|
|
7102
7102
|
To specify a sandbox, set --instance-url to "https://<MyDomainName>--<SandboxName>.sandbox.my.salesforce.com".
|
|
7103
7103
|
```
|
|
7104
7104
|
|
|
7105
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.
|
|
7105
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.5/src/commands/org/login/web.ts)_
|
|
7106
7106
|
|
|
7107
7107
|
## `sf org logout`
|
|
7108
7108
|
|
|
@@ -7168,7 +7168,7 @@ FLAG DESCRIPTIONS
|
|
|
7168
7168
|
All orgs includes Dev Hubs, sandboxes, DE orgs, and expired, deleted, and unknown-status scratch orgs.
|
|
7169
7169
|
```
|
|
7170
7170
|
|
|
7171
|
-
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.
|
|
7171
|
+
_See code: [@salesforce/plugin-auth](https://github.com/salesforcecli/plugin-auth/blob/6.0.5/src/commands/org/logout.ts)_
|
|
7172
7172
|
|
|
7173
7173
|
## `sf org open`
|
|
7174
7174
|
|
|
@@ -9448,7 +9448,7 @@ EXAMPLES
|
|
|
9448
9448
|
$ sf plugins trust allowlist add --name @scope/my-plugin --name another-plugin
|
|
9449
9449
|
```
|
|
9450
9450
|
|
|
9451
|
-
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.0
|
|
9451
|
+
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.1.0/src/commands/plugins/trust/allowlist/add.ts)_
|
|
9452
9452
|
|
|
9453
9453
|
## `sf plugins trust allowlist list`
|
|
9454
9454
|
|
|
@@ -9476,7 +9476,7 @@ EXAMPLES
|
|
|
9476
9476
|
$ sf plugins trust allowlist list
|
|
9477
9477
|
```
|
|
9478
9478
|
|
|
9479
|
-
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.0
|
|
9479
|
+
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.1.0/src/commands/plugins/trust/allowlist/list.ts)_
|
|
9480
9480
|
|
|
9481
9481
|
## `sf plugins trust allowlist remove`
|
|
9482
9482
|
|
|
@@ -9513,7 +9513,7 @@ EXAMPLES
|
|
|
9513
9513
|
$ sf plugins trust allowlist remove --name @scope/my-plugin --name another-plugin
|
|
9514
9514
|
```
|
|
9515
9515
|
|
|
9516
|
-
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.0
|
|
9516
|
+
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.1.0/src/commands/plugins/trust/allowlist/remove.ts)_
|
|
9517
9517
|
|
|
9518
9518
|
## `sf plugins trust verify`
|
|
9519
9519
|
|
|
@@ -9542,7 +9542,7 @@ EXAMPLES
|
|
|
9542
9542
|
$ sf plugins trust verify --npm @scope/npmName
|
|
9543
9543
|
```
|
|
9544
9544
|
|
|
9545
|
-
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.0
|
|
9545
|
+
_See code: [@salesforce/plugin-trust](https://github.com/salesforcecli/plugin-trust/blob/4.1.0/src/commands/plugins/trust/verify.ts)_
|
|
9546
9546
|
|
|
9547
9547
|
## `sf plugins uninstall [PLUGIN]`
|
|
9548
9548
|
|
|
@@ -9651,7 +9651,7 @@ FLAG DESCRIPTIONS
|
|
|
9651
9651
|
If you specify this flag, don’t specify --metadata or --source-dir.
|
|
9652
9652
|
```
|
|
9653
9653
|
|
|
9654
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
9654
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/convert/mdapi.ts)_
|
|
9655
9655
|
|
|
9656
9656
|
## `sf project convert source`
|
|
9657
9657
|
|
|
@@ -9724,7 +9724,7 @@ FLAG DESCRIPTIONS
|
|
|
9724
9724
|
Override the api version used for api requests made by this command
|
|
9725
9725
|
```
|
|
9726
9726
|
|
|
9727
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
9727
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/convert/source.ts)_
|
|
9728
9728
|
|
|
9729
9729
|
## `sf project convert source-behavior`
|
|
9730
9730
|
|
|
@@ -9783,7 +9783,7 @@ EXAMPLES
|
|
|
9783
9783
|
$ sf project convert source-behavior --behavior decomposePermissionSetBeta --dry-run --preserve-temp-dir
|
|
9784
9784
|
```
|
|
9785
9785
|
|
|
9786
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
9786
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/convert/source-behavior.ts)_
|
|
9787
9787
|
|
|
9788
9788
|
## `sf project delete source`
|
|
9789
9789
|
|
|
@@ -9936,7 +9936,7 @@ FLAG DESCRIPTIONS
|
|
|
9936
9936
|
- Separate the test names with spaces: --tests Test1 Test2 "Test With Space"
|
|
9937
9937
|
```
|
|
9938
9938
|
|
|
9939
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
9939
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/delete/source.ts)_
|
|
9940
9940
|
|
|
9941
9941
|
## `sf project delete tracking`
|
|
9942
9942
|
|
|
@@ -9973,7 +9973,7 @@ EXAMPLES
|
|
|
9973
9973
|
$ sf project delete tracking --target-org my-scratch
|
|
9974
9974
|
```
|
|
9975
9975
|
|
|
9976
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
9976
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/delete/tracking.ts)_
|
|
9977
9977
|
|
|
9978
9978
|
## `sf project deploy cancel`
|
|
9979
9979
|
|
|
@@ -10045,7 +10045,7 @@ FLAG DESCRIPTIONS
|
|
|
10045
10045
|
project deploy report".
|
|
10046
10046
|
```
|
|
10047
10047
|
|
|
10048
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10048
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/cancel.ts)_
|
|
10049
10049
|
|
|
10050
10050
|
## `sf project deploy preview`
|
|
10051
10051
|
|
|
@@ -10128,7 +10128,7 @@ FLAG DESCRIPTIONS
|
|
|
10128
10128
|
All child components are included. If you specify this flag, don’t specify --metadata or --source-dir.
|
|
10129
10129
|
```
|
|
10130
10130
|
|
|
10131
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10131
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/preview.ts)_
|
|
10132
10132
|
|
|
10133
10133
|
## `sf project deploy quick`
|
|
10134
10134
|
|
|
@@ -10221,7 +10221,7 @@ ERROR CODES
|
|
|
10221
10221
|
Canceling (69) The deploy is being canceled.
|
|
10222
10222
|
```
|
|
10223
10223
|
|
|
10224
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10224
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/quick.ts)_
|
|
10225
10225
|
|
|
10226
10226
|
## `sf project deploy report`
|
|
10227
10227
|
|
|
@@ -10313,7 +10313,7 @@ FLAG DESCRIPTIONS
|
|
|
10313
10313
|
--coverage-formatters lcov --coverage-formatters clover
|
|
10314
10314
|
```
|
|
10315
10315
|
|
|
10316
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10316
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/report.ts)_
|
|
10317
10317
|
|
|
10318
10318
|
## `sf project deploy resume`
|
|
10319
10319
|
|
|
@@ -10410,7 +10410,7 @@ ERROR CODES
|
|
|
10410
10410
|
Canceling (69) The deploy is being canceled.
|
|
10411
10411
|
```
|
|
10412
10412
|
|
|
10413
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10413
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/resume.ts)_
|
|
10414
10414
|
|
|
10415
10415
|
## `sf project deploy start`
|
|
10416
10416
|
|
|
@@ -10676,7 +10676,7 @@ ERROR CODES
|
|
|
10676
10676
|
Canceling (69) The deploy is being canceled.
|
|
10677
10677
|
```
|
|
10678
10678
|
|
|
10679
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10679
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/start.ts)_
|
|
10680
10680
|
|
|
10681
10681
|
## `sf project deploy validate`
|
|
10682
10682
|
|
|
@@ -10880,7 +10880,7 @@ ERROR CODES
|
|
|
10880
10880
|
Canceling (69) The deploy is being canceled.
|
|
10881
10881
|
```
|
|
10882
10882
|
|
|
10883
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10883
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/deploy/validate.ts)_
|
|
10884
10884
|
|
|
10885
10885
|
## `sf project generate manifest`
|
|
10886
10886
|
|
|
@@ -10976,7 +10976,7 @@ EXAMPLES
|
|
|
10976
10976
|
$ sf project generate manifest --from-org test@myorg.com --excluded-metadata StandardValueSet
|
|
10977
10977
|
```
|
|
10978
10978
|
|
|
10979
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
10979
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/generate/manifest.ts)_
|
|
10980
10980
|
|
|
10981
10981
|
## `sf project list ignored`
|
|
10982
10982
|
|
|
@@ -11018,7 +11018,7 @@ EXAMPLES
|
|
|
11018
11018
|
$ sf project list ignored --source-dir package.xml
|
|
11019
11019
|
```
|
|
11020
11020
|
|
|
11021
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
11021
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/list/ignored.ts)_
|
|
11022
11022
|
|
|
11023
11023
|
## `sf project reset tracking`
|
|
11024
11024
|
|
|
@@ -11067,7 +11067,7 @@ EXAMPLES
|
|
|
11067
11067
|
$ sf project reset tracking --revision 30
|
|
11068
11068
|
```
|
|
11069
11069
|
|
|
11070
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
11070
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/reset/tracking.ts)_
|
|
11071
11071
|
|
|
11072
11072
|
## `sf project retrieve preview`
|
|
11073
11073
|
|
|
@@ -11121,7 +11121,7 @@ FLAG DESCRIPTIONS
|
|
|
11121
11121
|
production orgs.
|
|
11122
11122
|
```
|
|
11123
11123
|
|
|
11124
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
11124
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/retrieve/preview.ts)_
|
|
11125
11125
|
|
|
11126
11126
|
## `sf project retrieve start`
|
|
11127
11127
|
|
|
@@ -11310,7 +11310,7 @@ ENVIRONMENT VARIABLES
|
|
|
11310
11310
|
SF_USE_PROGRESS_BAR Set to false to disable the progress bar when running the metadata deploy command.
|
|
11311
11311
|
```
|
|
11312
11312
|
|
|
11313
|
-
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.2
|
|
11313
|
+
_See code: [@salesforce/plugin-deploy-retrieve](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/4.3.2/src/commands/project/retrieve/start.ts)_
|
|
11314
11314
|
|
|
11315
11315
|
## `sf schema generate field`
|
|
11316
11316
|
|
|
@@ -8,80 +8,38 @@
|
|
|
8
8
|
|
|
9
9
|
This is an oclif plugin that supports the Salesforce Apex commands.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## Contributing
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
If you're interested in contributing, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
$ git clone git@github.com:salesforcecli/plugin-apex.git
|
|
17
|
-
$ cd plugin-apex
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Ensure you have [Yarn](https://yarnpkg.com/) installed, then run:
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
$ yarn install
|
|
24
|
-
$ yarn build
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
<br />
|
|
28
|
-
|
|
29
|
-
### Linking the Plugin
|
|
30
|
-
|
|
31
|
-
Link the plugin from the `plugin-apex` package directory and then run your command:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
$ sfdx plugins:link .
|
|
35
|
-
$ sfdx force:apex:log:list -u myOrg@example.com
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Alternatively, you can also run the command from the `plugin-apex` package directory without linking the plugin:
|
|
15
|
+
### Build
|
|
39
16
|
|
|
40
|
-
|
|
41
|
-
$ NODE_OPTIONS=--inspect-brk bin/dev force:apex:log:list -u myOrg@example.com
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
<br />
|
|
45
|
-
|
|
46
|
-
### Running the Test Suite
|
|
17
|
+
To build the plugin locally, make sure to have yarn installed and run the following commands:
|
|
47
18
|
|
|
48
|
-
|
|
19
|
+
```bash
|
|
20
|
+
# Clone the repository
|
|
21
|
+
git clone git@github.com:salesforcecli/plugin-apex
|
|
22
|
+
cd plugin-apex
|
|
49
23
|
|
|
24
|
+
# Install the dependencies and compile
|
|
25
|
+
yarn && yarn build
|
|
50
26
|
```
|
|
51
|
-
$ yarn build
|
|
52
|
-
$ yarn test
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
<br />
|
|
56
|
-
|
|
57
|
-
### Debugging the Plugin
|
|
58
27
|
|
|
59
|
-
|
|
28
|
+
To use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file.
|
|
60
29
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
$ sfdx force:apex:log:list -u myOrg@example.com --dev-suspend
|
|
30
|
+
```bash
|
|
31
|
+
# Run using local run file.
|
|
32
|
+
./bin/dev.js apex list log -o myOrg@example.com
|
|
65
33
|
```
|
|
66
34
|
|
|
67
|
-
|
|
35
|
+
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
|
|
68
36
|
|
|
37
|
+
```bash
|
|
38
|
+
# Link your plugin to the sf cli
|
|
39
|
+
sf plugins link .
|
|
40
|
+
# To verify
|
|
41
|
+
sf plugins
|
|
69
42
|
```
|
|
70
|
-
$ NODE_OPTIONS=--inspect-brk bin/dev force:apex:log:list -u myOrg@example.com
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
2. Set some breakpoints in your code.
|
|
74
|
-
3. Click on the Debug icon in the Activity Bar to open up the Debugger view.
|
|
75
|
-
4. In the upper left hand corner, set the launch configuration to `Attach to Remote`.
|
|
76
|
-
5. Click the green play button on the left of the debugger view. The debugger should now be suspended on the first line of the program.
|
|
77
|
-
6. Click the green play button in the mini toolbar to continue running the program.
|
|
78
|
-
<br /><br />
|
|
79
|
-
<img src="./.images/vscodeScreenshot.png" width="480" height="278">
|
|
80
|
-
|
|
81
|
-
<br />
|
|
82
|
-
Happy debugging!
|
|
83
|
-
|
|
84
|
-
<br /><br />
|
|
85
43
|
|
|
86
44
|
# Commands
|
|
87
45
|
|
|
@@ -129,7 +87,7 @@ EXAMPLES
|
|
|
129
87
|
$ sf apex get compile-status --target-org me@my.org
|
|
130
88
|
```
|
|
131
89
|
|
|
132
|
-
_See code: [src/commands/apex/get/compile-status.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
90
|
+
_See code: [src/commands/apex/get/compile-status.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/get/compile-status.ts)_
|
|
133
91
|
|
|
134
92
|
## `sf apex get log`
|
|
135
93
|
|
|
@@ -185,7 +143,7 @@ FLAG DESCRIPTIONS
|
|
|
185
143
|
directory.
|
|
186
144
|
```
|
|
187
145
|
|
|
188
|
-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
146
|
+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/get/log.ts)_
|
|
189
147
|
|
|
190
148
|
## `sf apex get test`
|
|
191
149
|
|
|
@@ -245,7 +203,7 @@ EXAMPLES
|
|
|
245
203
|
me@myorg'
|
|
246
204
|
```
|
|
247
205
|
|
|
248
|
-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
206
|
+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/get/test.ts)_
|
|
249
207
|
|
|
250
208
|
## `sf apex list log`
|
|
251
209
|
|
|
@@ -285,7 +243,7 @@ EXAMPLES
|
|
|
285
243
|
$ sf apex list log --target-org me@my.org
|
|
286
244
|
```
|
|
287
245
|
|
|
288
|
-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
246
|
+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/list/log.ts)_
|
|
289
247
|
|
|
290
248
|
## `sf apex run`
|
|
291
249
|
|
|
@@ -366,7 +324,7 @@ FLAG DESCRIPTIONS
|
|
|
366
324
|
Can be specified multiple times. Mutually exclusive with --debug-level.
|
|
367
325
|
```
|
|
368
326
|
|
|
369
|
-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
327
|
+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/run.ts)_
|
|
370
328
|
|
|
371
329
|
## `sf apex run test`
|
|
372
330
|
|
|
@@ -513,7 +471,7 @@ FLAG DESCRIPTIONS
|
|
|
513
471
|
--tests Test1 --tests Test2
|
|
514
472
|
```
|
|
515
473
|
|
|
516
|
-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
474
|
+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/run/test.ts)_
|
|
517
475
|
|
|
518
476
|
## `sf apex tail log`
|
|
519
477
|
|
|
@@ -556,7 +514,7 @@ EXAMPLES
|
|
|
556
514
|
$ sf apex tail log --color --skip-trace-flag
|
|
557
515
|
```
|
|
558
516
|
|
|
559
|
-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
517
|
+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/tail/log.ts)_
|
|
560
518
|
|
|
561
519
|
## `sf apex trace create`
|
|
562
520
|
|
|
@@ -622,7 +580,7 @@ EXAMPLES
|
|
|
622
580
|
--duration 60 --target-org my-org
|
|
623
581
|
```
|
|
624
582
|
|
|
625
|
-
_See code: [src/commands/apex/trace/create.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
583
|
+
_See code: [src/commands/apex/trace/create.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/trace/create.ts)_
|
|
626
584
|
|
|
627
585
|
## `sf apex trace delete`
|
|
628
586
|
|
|
@@ -657,7 +615,7 @@ EXAMPLES
|
|
|
657
615
|
$ sf apex trace delete --trace-flag-id 7tf000000000001AAA --target-org my-org
|
|
658
616
|
```
|
|
659
617
|
|
|
660
|
-
_See code: [src/commands/apex/trace/delete.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
618
|
+
_See code: [src/commands/apex/trace/delete.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/trace/delete.ts)_
|
|
661
619
|
|
|
662
620
|
## `sf apex trace list`
|
|
663
621
|
|
|
@@ -692,7 +650,7 @@ EXAMPLES
|
|
|
692
650
|
$ sf apex trace list --target-org my-org
|
|
693
651
|
```
|
|
694
652
|
|
|
695
|
-
_See code: [src/commands/apex/trace/list.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
653
|
+
_See code: [src/commands/apex/trace/list.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/apex/trace/list.ts)_
|
|
696
654
|
|
|
697
655
|
## `sf logic get test`
|
|
698
656
|
|
|
@@ -740,7 +698,7 @@ EXAMPLES
|
|
|
740
698
|
$ sf logic get test --test-run-id <test run id> --result-format junit --target-org my-scratch
|
|
741
699
|
```
|
|
742
700
|
|
|
743
|
-
_See code: [src/commands/logic/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
701
|
+
_See code: [src/commands/logic/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/logic/get/test.ts)_
|
|
744
702
|
|
|
745
703
|
## `sf logic run test`
|
|
746
704
|
|
|
@@ -862,6 +820,6 @@ FLAG DESCRIPTIONS
|
|
|
862
820
|
--tests Test1 --tests Test2
|
|
863
821
|
```
|
|
864
822
|
|
|
865
|
-
_See code: [src/commands/logic/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.
|
|
823
|
+
_See code: [src/commands/logic/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/4.4.7/src/commands/logic/run/test.ts)_
|
|
866
824
|
|
|
867
825
|
<!-- commandsstop -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.7",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"exports": "./lib/index.js",
|
|
239
239
|
"type": "module",
|
|
240
240
|
"sfdx": {
|
|
241
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/4.4.
|
|
242
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/4.4.
|
|
241
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/4.4.7.crt",
|
|
242
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/4.4.7.sig"
|
|
243
243
|
}
|
|
244
244
|
}
|
|
@@ -10,22 +10,7 @@ Please report any issues at https://github.com/forcedotcom/cli/issues
|
|
|
10
10
|
|
|
11
11
|
## Contributing
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
2. Create a new issue before starting your project so that we can keep track of
|
|
15
|
-
what you are trying to add/fix. That way, we can also offer suggestions or
|
|
16
|
-
let you know if there is already an effort in progress.
|
|
17
|
-
3. Fork this repository.
|
|
18
|
-
4. [Build the plugin locally](#build)
|
|
19
|
-
5. Create a _topic_ branch in your fork. Note, this step is recommended but technically not required if contributing using a fork.
|
|
20
|
-
6. Edit the code in your fork.
|
|
21
|
-
7. Write appropriate tests for your changes. Try to achieve at least 95% code coverage on any new code. No pull request will be accepted without unit tests.
|
|
22
|
-
8. Sign CLA (see [CLA](#cla) below).
|
|
23
|
-
9. Send us a pull request when you are done. We'll review your code, suggest any needed changes, and merge it in.
|
|
24
|
-
|
|
25
|
-
### CLA
|
|
26
|
-
|
|
27
|
-
External contributors will be required to sign a Contributor's License
|
|
28
|
-
Agreement. You can do so by going to https://cla.salesforce.com/sign-cla.
|
|
13
|
+
If you're interested in contributing, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.
|
|
29
14
|
|
|
30
15
|
### Build
|
|
31
16
|
|
|
@@ -33,17 +18,17 @@ To build the plugin locally, make sure to have yarn installed and run the follow
|
|
|
33
18
|
|
|
34
19
|
```bash
|
|
35
20
|
# Clone the repository
|
|
36
|
-
git clone git@github.com:salesforcecli/plugin-
|
|
21
|
+
git clone git@github.com:salesforcecli/plugin-api
|
|
37
22
|
|
|
38
23
|
# Install the dependencies and compile
|
|
39
24
|
yarn && yarn build
|
|
40
25
|
```
|
|
41
26
|
|
|
42
|
-
To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
|
|
27
|
+
To use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file.
|
|
43
28
|
|
|
44
29
|
```bash
|
|
45
30
|
# Run using local run file.
|
|
46
|
-
./bin/dev
|
|
31
|
+
./bin/dev.js api request rest '/services/data/v62.0/limits' -o myOrg@example.com
|
|
47
32
|
```
|
|
48
33
|
|
|
49
34
|
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
|
|
@@ -113,7 +98,7 @@ EXAMPLES
|
|
|
113
98
|
$ sf api request graphql --body example.txt --stream-to-file output.txt --include
|
|
114
99
|
```
|
|
115
100
|
|
|
116
|
-
_See code: [src/commands/api/request/graphql.ts](https://github.com/salesforcecli/plugin-api/blob/2.0.
|
|
101
|
+
_See code: [src/commands/api/request/graphql.ts](https://github.com/salesforcecli/plugin-api/blob/2.0.28/src/commands/api/request/graphql.ts)_
|
|
117
102
|
|
|
118
103
|
## `sf api request rest [URL]`
|
|
119
104
|
|
|
@@ -223,7 +208,7 @@ FLAG DESCRIPTIONS
|
|
|
223
208
|
https://github.com/salesforcecli/plugin-api/tree/main/test/test-files/data-project.
|
|
224
209
|
```
|
|
225
210
|
|
|
226
|
-
_See code: [src/commands/api/request/rest.ts](https://github.com/salesforcecli/plugin-api/blob/2.0.
|
|
211
|
+
_See code: [src/commands/api/request/rest.ts](https://github.com/salesforcecli/plugin-api/blob/2.0.28/src/commands/api/request/rest.ts)_
|
|
227
212
|
|
|
228
213
|
<!-- commandsstop -->
|
|
229
214
|
|