@simplysf/simply 2.14.2 → 2.16.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 +70 -20
- package/package.json +10 -8
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@simplysf/simply) [](https://npmjs.org/package/@simplysf/simply) [](https://raw.githubusercontent.com/SimplySF/simply-node/main/LICENSE.txt)
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Install1
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
sf plugins install @simplysf/simply
|
|
@@ -24,6 +24,7 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
|
|
|
24
24
|
- [`sf simply apex logs purge`](#sf-simply-apex-logs-purge)
|
|
25
25
|
- [`sf simply apex trace setup`](#sf-simply-apex-trace-setup)
|
|
26
26
|
- [`sf simply apex trace silence`](#sf-simply-apex-trace-silence)
|
|
27
|
+
- [`sf simply community publish`](#sf-simply-community-publish)
|
|
27
28
|
- [`sf simply data file upload`](#sf-simply-data-file-upload)
|
|
28
29
|
- [`sf simply data files download`](#sf-simply-data-files-download)
|
|
29
30
|
- [`sf simply data files upload`](#sf-simply-data-files-upload)
|
|
@@ -76,7 +77,7 @@ FLAG DESCRIPTIONS
|
|
|
76
77
|
The path to the local .apex file containing the anonymous Apex code to execute.
|
|
77
78
|
```
|
|
78
79
|
|
|
79
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
80
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.6.2/packages/simply-apex/lib/commands/simply/apex/execute.js)_
|
|
80
81
|
|
|
81
82
|
## `sf simply apex logs purge`
|
|
82
83
|
|
|
@@ -132,7 +133,7 @@ FLAG DESCRIPTIONS
|
|
|
132
133
|
elapses, then throws.
|
|
133
134
|
```
|
|
134
135
|
|
|
135
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
136
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.6.2/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
|
|
136
137
|
|
|
137
138
|
## `sf simply apex trace setup`
|
|
138
139
|
|
|
@@ -192,7 +193,7 @@ FLAG DESCRIPTIONS
|
|
|
192
193
|
Defaults to the current date/time.
|
|
193
194
|
```
|
|
194
195
|
|
|
195
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
196
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.6.2/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
|
|
196
197
|
|
|
197
198
|
## `sf simply apex trace silence`
|
|
198
199
|
|
|
@@ -256,7 +257,56 @@ FLAG DESCRIPTIONS
|
|
|
256
257
|
Adds di_Binding, di_Module, di_PlatformCache, and di_Injector to the classes to silence.
|
|
257
258
|
```
|
|
258
259
|
|
|
259
|
-
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.
|
|
260
|
+
_See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-apex@1.6.2/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
|
|
261
|
+
|
|
262
|
+
## `sf simply community publish`
|
|
263
|
+
|
|
264
|
+
Publish a Salesforce Community (Experience Cloud site), waiting until the publish completes.
|
|
265
|
+
|
|
266
|
+
```
|
|
267
|
+
USAGE
|
|
268
|
+
$ sf simply community publish -o <value> --name <value> [--json] [--flags-dir <value>] [--api-version <value>] [--wait
|
|
269
|
+
<value>] [--retry-attempts <value>] [--retry-backoff <value>] [--ignore-errors]
|
|
270
|
+
|
|
271
|
+
FLAGS
|
|
272
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
273
|
+
configuration variable is already set.
|
|
274
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
275
|
+
--ignore-errors Log a warning and exit successfully if the publish fails, instead of throwing an error.
|
|
276
|
+
--name=<value> (required) Name of the community (Experience Cloud site) to publish.
|
|
277
|
+
--retry-attempts=<value> Number of additional attempts to make if the initial publish request fails, before
|
|
278
|
+
giving up. Defaults to 0 (no retries). Does not apply to polling for the publish job's
|
|
279
|
+
completion, which already retries until --wait elapses.
|
|
280
|
+
--retry-backoff=<value> [default: 2] Factor the delay between publish request retries grows by after each failed
|
|
281
|
+
attempt (e.g. 2 doubles the delay each time). Only relevant when --retry-attempts is
|
|
282
|
+
greater than 0.
|
|
283
|
+
--wait=<value> [default: 15] Minutes to wait for the publish to complete before giving up. Salesforce's
|
|
284
|
+
own publish jobs time out after 15 minutes server-side, so waiting longer than that has
|
|
285
|
+
no effect.
|
|
286
|
+
|
|
287
|
+
GLOBAL FLAGS
|
|
288
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
289
|
+
--json Format output as json.
|
|
290
|
+
|
|
291
|
+
DESCRIPTION
|
|
292
|
+
Publish a Salesforce Community (Experience Cloud site), waiting until the publish completes.
|
|
293
|
+
|
|
294
|
+
Looks up the community by `--name`, triggers a publish via the Connect REST API, then polls until the publish job
|
|
295
|
+
reaches a terminal state — throwing an error if it fails, rather than returning as soon as the publish request is
|
|
296
|
+
accepted. The Salesforce CLI's own `sf community publish` command does not wait for completion; this command exists to
|
|
297
|
+
fill that gap for pipelines that need to know publishing actually succeeded before continuing.
|
|
298
|
+
|
|
299
|
+
EXAMPLES
|
|
300
|
+
$ sf simply community publish --target-org my-org --name "My Community"
|
|
301
|
+
|
|
302
|
+
$ sf simply community publish --target-org my-org --name "My Community" --wait 20
|
|
303
|
+
|
|
304
|
+
$ sf simply community publish --target-org my-org --name "My Community" --retry-attempts 3 --retry-backoff 2
|
|
305
|
+
|
|
306
|
+
$ sf simply community publish --target-org my-org --name "My Community" --ignore-errors
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
_See code: [@simplysf/simply-community](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-community@0.1.0/packages/simply-community/lib/commands/simply/community/publish.js)_
|
|
260
310
|
|
|
261
311
|
## `sf simply data file upload`
|
|
262
312
|
|
|
@@ -290,7 +340,7 @@ EXAMPLES
|
|
|
290
340
|
$ sf simply data file upload --file-path fileToUpload.txt --first-publish-location-id 0019000000DmehK --target-org myTargetOrg
|
|
291
341
|
```
|
|
292
342
|
|
|
293
|
-
_See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-data@2.3.
|
|
343
|
+
_See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-data@2.3.23/packages/simply-data/lib/commands/simply/data/file/upload.js)_
|
|
294
344
|
|
|
295
345
|
## `sf simply data files download`
|
|
296
346
|
|
|
@@ -335,7 +385,7 @@ FLAG DESCRIPTIONS
|
|
|
335
385
|
Provide a WHERE clause to allow the plugin to specify which ContentVersion records should be downloaded.
|
|
336
386
|
```
|
|
337
387
|
|
|
338
|
-
_See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-data@2.3.
|
|
388
|
+
_See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-data@2.3.23/packages/simply-data/lib/commands/simply/data/files/download.js)_
|
|
339
389
|
|
|
340
390
|
## `sf simply data files upload`
|
|
341
391
|
|
|
@@ -380,7 +430,7 @@ FLAG DESCRIPTIONS
|
|
|
380
430
|
quasi concurrent uploads. Please note that setting this value too high can cause performance issues.
|
|
381
431
|
```
|
|
382
432
|
|
|
383
|
-
_See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-data@2.3.
|
|
433
|
+
_See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-data@2.3.23/packages/simply-data/lib/commands/simply/data/files/upload.js)_
|
|
384
434
|
|
|
385
435
|
## `sf simply document diff`
|
|
386
436
|
|
|
@@ -588,7 +638,7 @@ FLAG DESCRIPTIONS
|
|
|
588
638
|
that was attempted, and the decision made (Skipped, Installed, Installing, or Failed).
|
|
589
639
|
```
|
|
590
640
|
|
|
591
|
-
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-package@2.8.
|
|
641
|
+
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-package@2.8.13/packages/simply-package/lib/commands/simply/package/dependencies/install.js)_
|
|
592
642
|
|
|
593
643
|
## `sf simply package dependencies manage`
|
|
594
644
|
|
|
@@ -647,7 +697,7 @@ FLAG DESCRIPTIONS
|
|
|
647
697
|
version without interactive prompts. Mutually exclusive with --update-to-latest.
|
|
648
698
|
```
|
|
649
699
|
|
|
650
|
-
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-package@2.8.
|
|
700
|
+
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-package@2.8.13/packages/simply-package/lib/commands/simply/package/dependencies/manage.js)_
|
|
651
701
|
|
|
652
702
|
## `sf simply package version cleanup`
|
|
653
703
|
|
|
@@ -701,7 +751,7 @@ FLAG DESCRIPTIONS
|
|
|
701
751
|
does not match this matcher is deleted. Mutually exclusive with --matcher.
|
|
702
752
|
```
|
|
703
753
|
|
|
704
|
-
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-package@2.8.
|
|
754
|
+
_See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-package@2.8.13/packages/simply-package/lib/commands/simply/package/version/cleanup.js)_
|
|
705
755
|
|
|
706
756
|
## `sf simply permissions analyze`
|
|
707
757
|
|
|
@@ -745,7 +795,7 @@ FLAG DESCRIPTIONS
|
|
|
745
795
|
The path to write the generated HTML report to.
|
|
746
796
|
```
|
|
747
797
|
|
|
748
|
-
_See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-permissions@1.2.
|
|
798
|
+
_See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-permissions@1.2.28/packages/simply-permissions/lib/commands/simply/permissions/analyze.js)_
|
|
749
799
|
|
|
750
800
|
## `sf simply permissions build`
|
|
751
801
|
|
|
@@ -812,7 +862,7 @@ FLAG DESCRIPTIONS
|
|
|
812
862
|
'view-all' additionally grants view-all-records, and 'modify-all' grants full CRUD and modify-all-records access.
|
|
813
863
|
```
|
|
814
864
|
|
|
815
|
-
_See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-permissions@1.2.
|
|
865
|
+
_See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-permissions@1.2.28/packages/simply-permissions/lib/commands/simply/permissions/build.js)_
|
|
816
866
|
|
|
817
867
|
## `sf simply project update api-version`
|
|
818
868
|
|
|
@@ -892,7 +942,7 @@ FLAG DESCRIPTIONS
|
|
|
892
942
|
A `.csv` file processed as the flat CSV flow, or a `.xlsx`/`.xls` file processed as the Excel flow.
|
|
893
943
|
```
|
|
894
944
|
|
|
895
|
-
_See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-schema@0.3.
|
|
945
|
+
_See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-schema@0.3.14/packages/simply-schema/lib/commands/simply/schema/generate.js)_
|
|
896
946
|
|
|
897
947
|
## `sf simply schema visualize`
|
|
898
948
|
|
|
@@ -954,7 +1004,7 @@ FLAG DESCRIPTIONS
|
|
|
954
1004
|
specified, every discovered object is included. If not specified, every object matching `--object-type` is included.
|
|
955
1005
|
```
|
|
956
1006
|
|
|
957
|
-
_See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-schema@0.3.
|
|
1007
|
+
_See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-schema@0.3.14/packages/simply-schema/lib/commands/simply/schema/visualize.js)_
|
|
958
1008
|
|
|
959
1009
|
## `sf simply sobject backup`
|
|
960
1010
|
|
|
@@ -1015,7 +1065,7 @@ FLAG DESCRIPTIONS
|
|
|
1015
1065
|
OwnerId, are skipped.
|
|
1016
1066
|
```
|
|
1017
1067
|
|
|
1018
|
-
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.
|
|
1068
|
+
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.2/packages/simply-sobject/lib/commands/simply/sobject/backup.js)_
|
|
1019
1069
|
|
|
1020
1070
|
## `sf simply sobject deduplicate`
|
|
1021
1071
|
|
|
@@ -1068,7 +1118,7 @@ FLAG DESCRIPTIONS
|
|
|
1068
1118
|
The directory to write the generated CSV files to. Defaults to ./temp/<primaryObjectApiName>.
|
|
1069
1119
|
```
|
|
1070
1120
|
|
|
1071
|
-
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.
|
|
1121
|
+
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.2/packages/simply-sobject/lib/commands/simply/sobject/deduplicate.js)_
|
|
1072
1122
|
|
|
1073
1123
|
## `sf simply sobject history export`
|
|
1074
1124
|
|
|
@@ -1122,7 +1172,7 @@ FLAG DESCRIPTIONS
|
|
|
1122
1172
|
The start of the date range to export history for, inclusive.
|
|
1123
1173
|
```
|
|
1124
1174
|
|
|
1125
|
-
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.
|
|
1175
|
+
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.2/packages/simply-sobject/lib/commands/simply/sobject/history/export.js)_
|
|
1126
1176
|
|
|
1127
1177
|
## `sf simply sobject history query`
|
|
1128
1178
|
|
|
@@ -1178,7 +1228,7 @@ FLAG DESCRIPTIONS
|
|
|
1178
1228
|
The API name of the SObject to query field history for (e.g. Account or Custom_Object__c).
|
|
1179
1229
|
```
|
|
1180
1230
|
|
|
1181
|
-
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.
|
|
1231
|
+
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.2/packages/simply-sobject/lib/commands/simply/sobject/history/query.js)_
|
|
1182
1232
|
|
|
1183
1233
|
## `sf simply sobject history schema`
|
|
1184
1234
|
|
|
@@ -1216,7 +1266,7 @@ FLAG DESCRIPTIONS
|
|
|
1216
1266
|
The directory to save the generated CSV and HTML report files to. Defaults to the current directory.
|
|
1217
1267
|
```
|
|
1218
1268
|
|
|
1219
|
-
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.
|
|
1269
|
+
_See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-node/blob/@simplysf/simply-sobject@1.6.2/packages/simply-sobject/lib/commands/simply/sobject/history/schema.js)_
|
|
1220
1270
|
<!-- commandsstop -->
|
|
1221
1271
|
|
|
1222
1272
|
## License
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysf/simply",
|
|
3
3
|
"description": "Salesforce CLI Plugins created by @SimplySF",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.16.0",
|
|
5
5
|
"author": "@ClayChipps",
|
|
6
6
|
"homepage": "https://github.com/SimplySF/simply-node",
|
|
7
7
|
"bugs": "https://github.com/SimplySF/simply-node/issues",
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"flexibleTaxonomy": true,
|
|
57
57
|
"plugins": [
|
|
58
58
|
"@simplysf/simply-apex",
|
|
59
|
+
"@simplysf/simply-community",
|
|
59
60
|
"@simplysf/simply-data",
|
|
60
61
|
"@simplysf/simply-document",
|
|
61
62
|
"@simplysf/simply-package",
|
|
@@ -72,14 +73,15 @@
|
|
|
72
73
|
},
|
|
73
74
|
"dependencies": {
|
|
74
75
|
"@oclif/core": "^4.11.2",
|
|
75
|
-
"@simplysf/simply-apex": "^1.6.
|
|
76
|
-
"@simplysf/simply-
|
|
76
|
+
"@simplysf/simply-apex": "^1.6.2",
|
|
77
|
+
"@simplysf/simply-community": "^0.3.0",
|
|
78
|
+
"@simplysf/simply-data": "^2.3.23",
|
|
77
79
|
"@simplysf/simply-document": "^0.3.6",
|
|
78
|
-
"@simplysf/simply-package": "^2.8.
|
|
79
|
-
"@simplysf/simply-permissions": "^1.2.
|
|
80
|
+
"@simplysf/simply-package": "^2.8.13",
|
|
81
|
+
"@simplysf/simply-permissions": "^1.2.28",
|
|
80
82
|
"@simplysf/simply-project": "^1.2.17",
|
|
81
|
-
"@simplysf/simply-schema": "^0.3.
|
|
82
|
-
"@simplysf/simply-sobject": "^1.6.
|
|
83
|
+
"@simplysf/simply-schema": "^0.3.14",
|
|
84
|
+
"@simplysf/simply-sobject": "^1.6.2",
|
|
83
85
|
"debug": "^4.4.3"
|
|
84
86
|
},
|
|
85
87
|
"devDependencies": {
|
|
@@ -167,5 +169,5 @@
|
|
|
167
169
|
"output": []
|
|
168
170
|
}
|
|
169
171
|
},
|
|
170
|
-
"gitHead": "
|
|
172
|
+
"gitHead": "3bc33e03eb519b6227b1e060520d53ca551586a8"
|
|
171
173
|
}
|