@simplysf/simply 6.7.0 → 6.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -37,6 +37,11 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
37
37
  - [`sf simply aep at4dx platform-event-subscription simulate`](#sf-simply-aep-at4dx-platform-event-subscription-simulate)
38
38
  - [`sf simply aep at4dx platform-event-subscription update`](#sf-simply-aep-at4dx-platform-event-subscription-update)
39
39
  - [`sf simply aep at4dx platform-event-subscription validate`](#sf-simply-aep-at4dx-platform-event-subscription-validate)
40
+ - [`sf simply aep generate`](#sf-simply-aep-generate)
41
+ - [`sf simply aep generate domain`](#sf-simply-aep-generate-domain)
42
+ - [`sf simply aep generate selector`](#sf-simply-aep-generate-selector)
43
+ - [`sf simply aep generate service`](#sf-simply-aep-generate-service)
44
+ - [`sf simply aep generate unit-of-work`](#sf-simply-aep-generate-unit-of-work)
40
45
  - [`sf simply apex execute`](#sf-simply-apex-execute)
41
46
  - [`sf simply apex logs purge`](#sf-simply-apex-logs-purge)
42
47
  - [`sf simply apex test-suite generate`](#sf-simply-apex-test-suite-generate)
@@ -61,6 +66,8 @@ This package is part of the [`@simplysf/simply`](https://github.com/SimplySF/sim
61
66
  - [`sf simply project update api-version`](#sf-simply-project-update-api-version)
62
67
  - [`sf simply schema generate`](#sf-simply-schema-generate)
63
68
  - [`sf simply schema visualize`](#sf-simply-schema-visualize)
69
+ - [`sf simply settings address state activate`](#sf-simply-settings-address-state-activate)
70
+ - [`sf simply settings address state create`](#sf-simply-settings-address-state-create)
64
71
  - [`sf simply sobject backup`](#sf-simply-sobject-backup)
65
72
  - [`sf simply sobject deduplicate`](#sf-simply-sobject-deduplicate)
66
73
  - [`sf simply sobject history export`](#sf-simply-sobject-history-export)
@@ -144,7 +151,7 @@ EXAMPLES
144
151
  $ sf simply aep at4dx binding create --source-dir sfdx-source/core --type unit-of-work --developer-name Account_UOW --sobject Account --sequence 10
145
152
  ```
146
153
 
147
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/create.js)_
154
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/create.js)_
148
155
 
149
156
  ## `sf simply aep at4dx binding list`
150
157
 
@@ -200,7 +207,7 @@ FLAG DESCRIPTIONS
200
207
  Comma-separated list of binding types to include. If not specified, all four are included.
201
208
  ```
202
209
 
203
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
210
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/list.js)_
204
211
 
205
212
  ## `sf simply aep at4dx binding update`
206
213
 
@@ -273,7 +280,7 @@ EXAMPLES
273
280
  $ sf simply aep at4dx binding update --target-org myOrg --type unit-of-work --developer-name Account_UOW --sequence 20
274
281
  ```
275
282
 
276
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/update.js)_
283
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/update.js)_
277
284
 
278
285
  ## `sf simply aep at4dx binding validate`
279
286
 
@@ -331,7 +338,7 @@ FLAG DESCRIPTIONS
331
338
  Comma-separated list of binding types to include. If not specified, all four are included.
332
339
  ```
333
340
 
334
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/validate.js)_
341
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/binding/validate.js)_
335
342
 
336
343
  ## `sf simply aep at4dx domain-process-binding create`
337
344
 
@@ -412,7 +419,7 @@ EXAMPLES
412
419
  $ sf simply aep at4dx domain-process-binding create --source-dir sfdx-source/core --developer-name ServiceResource_Before_Update_Sync --sobject ServiceResource --sobject-alternate --process-context TriggerExecution --trigger-operation Before_Update --type Action --class-to-inject ServiceResourceSyncAction --order 10
413
420
  ```
414
421
 
415
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/create.js)_
422
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/create.js)_
416
423
 
417
424
  ## `sf simply aep at4dx domain-process-binding list`
418
425
 
@@ -458,7 +465,7 @@ EXAMPLES
458
465
  $ sf simply aep at4dx domain-process-binding list --target-org myOrg --active-only --json
459
466
  ```
460
467
 
461
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
468
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/list.js)_
462
469
 
463
470
  ## `sf simply aep at4dx domain-process-binding update`
464
471
 
@@ -537,7 +544,7 @@ EXAMPLES
537
544
  $ sf simply aep at4dx domain-process-binding update --target-org myOrg --developer-name Account_Before_Insert_Assign_Owner --class-to-inject AccountAssignOwnerActionV2
538
545
  ```
539
546
 
540
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/update.js)_
547
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/update.js)_
541
548
 
542
549
  ## `sf simply aep at4dx domain-process-binding validate`
543
550
 
@@ -590,7 +597,7 @@ EXAMPLES
590
597
  $ sf simply aep at4dx domain-process-binding validate --target-org myOrg --json
591
598
  ```
592
599
 
593
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
600
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/domain-process-binding/validate.js)_
594
601
 
595
602
  ## `sf simply aep at4dx field-set-inclusion create`
596
603
 
@@ -648,7 +655,7 @@ EXAMPLES
648
655
  $ sf simply aep at4dx field-set-inclusion create --target-org myOrg --developer-name ServiceResource_Skills --sobject ServiceResource --sobject-alternate --fieldset-name SkillFields
649
656
  ```
650
657
 
651
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/create.js)_
658
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/create.js)_
652
659
 
653
660
  ## `sf simply aep at4dx field-set-inclusion list`
654
661
 
@@ -686,7 +693,7 @@ EXAMPLES
686
693
  $ sf simply aep at4dx field-set-inclusion list --target-org myOrg --json
687
694
  ```
688
695
 
689
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/list.js)_
696
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/list.js)_
690
697
 
691
698
  ## `sf simply aep at4dx field-set-inclusion update`
692
699
 
@@ -743,7 +750,7 @@ EXAMPLES
743
750
  $ sf simply aep at4dx field-set-inclusion update --target-org myOrg --developer-name Account_Contact_Fields --fieldset-name ContactRelatedFieldsV2
744
751
  ```
745
752
 
746
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/update.js)_
753
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/update.js)_
747
754
 
748
755
  ## `sf simply aep at4dx field-set-inclusion validate`
749
756
 
@@ -787,7 +794,7 @@ EXAMPLES
787
794
  $ sf simply aep at4dx field-set-inclusion validate --target-org myOrg --json
788
795
  ```
789
796
 
790
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/validate.js)_
797
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/field-set-inclusion/validate.js)_
791
798
 
792
799
  ## `sf simply aep at4dx platform-event-subscription create`
793
800
 
@@ -883,7 +890,7 @@ EXAMPLES
883
890
  $ sf simply aep at4dx platform-event-subscription create --target-org myOrg --developer-name Account_Change_Subscriber --event-bus Account_Change__e --consumer AccountChangeConsumer --matcher-rule MatchEventBusAndCategoryAndEventName --event-category Finance --event-name AccountUpdated
884
891
  ```
885
892
 
886
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/create.js)_
893
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/create.js)_
887
894
 
888
895
  ## `sf simply aep at4dx platform-event-subscription list`
889
896
 
@@ -921,7 +928,7 @@ EXAMPLES
921
928
  $ sf simply aep at4dx platform-event-subscription list --target-org myOrg --json
922
929
  ```
923
930
 
924
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/list.js)_
931
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/list.js)_
925
932
 
926
933
  ## `sf simply aep at4dx platform-event-subscription simulate`
927
934
 
@@ -977,7 +984,7 @@ EXAMPLES
977
984
  $ sf simply aep at4dx platform-event-subscription simulate --target-org myOrg --event-bus Account_Change__e --json
978
985
  ```
979
986
 
980
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/simulate.js)_
987
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/simulate.js)_
981
988
 
982
989
  ## `sf simply aep at4dx platform-event-subscription update`
983
990
 
@@ -1046,7 +1053,7 @@ EXAMPLES
1046
1053
  $ sf simply aep at4dx platform-event-subscription update --target-org myOrg --developer-name Account_Change_Subscriber --consumer AccountChangeConsumerV2
1047
1054
  ```
1048
1055
 
1049
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/update.js)_
1056
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/update.js)_
1050
1057
 
1051
1058
  ## `sf simply aep at4dx platform-event-subscription validate`
1052
1059
 
@@ -1095,7 +1102,343 @@ EXAMPLES
1095
1102
  $ sf simply aep at4dx platform-event-subscription validate --target-org myOrg --json
1096
1103
  ```
1097
1104
 
1098
- _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.15.7/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/validate.js)_
1105
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/at4dx/platform-event-subscription/validate.js)_
1106
+
1107
+ ## `sf simply aep generate`
1108
+
1109
+ Generate selector, domain, and unit-of-work layers for an SObject in one run.
1110
+
1111
+ ```
1112
+ USAGE
1113
+ $ sf simply aep generate -o <value> -s <value> -f at4dx|fflib [--json] [--flags-dir <value>] [-a <value>] [--prefix
1114
+ <value>] [--selector] [--domain] [--unit-of-work] [--sequence <value>] [-d <value>] [--dry-run] [--overwrite]
1115
+ [--force]
1116
+
1117
+ FLAGS
1118
+ -a, --api-version=<value> Override the api version used for api requests made by this command
1119
+ -d, --output-dir=<value> [default: generated-files] Directory to write into, relative to the project root unless
1120
+ absolute.
1121
+ -f, --flavor=<option> (required) Framework to generate for: at4dx or fflib.
1122
+ <options: at4dx|fflib>
1123
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1124
+ configuration variable is already set.
1125
+ -s, --sobject=<value> (required) API name of the SObject to generate for. The generators describe it in
1126
+ --target-org.
1127
+ --domain Generate the domain layer and its trigger.
1128
+ --dry-run Show the files that would be written, and any validation issues, without writing anything.
1129
+ --force Write even if validation finds an error-severity issue the generated binding records would
1130
+ introduce. The issues are still printed and returned.
1131
+ --overwrite Replace files that already exist at a planned path. Without it, the command refuses before
1132
+ writing anything.
1133
+ --prefix=<value> Class-name prefix, upper-cased and joined with an underscore (--prefix acme gives
1134
+ ACME_Accounts).
1135
+ --selector Generate the selector layer.
1136
+ --sequence=<value> BindingSequence__c for the unit-of-work binding (at4dx only): where the SObject falls in
1137
+ the commit order, lower first.
1138
+ --unit-of-work Generate the unit-of-work binding (at4dx) or print the Application entry to add (fflib).
1139
+
1140
+ GLOBAL FLAGS
1141
+ --flags-dir=<value> Import flag values from a directory.
1142
+ --json Format output as json.
1143
+
1144
+ DESCRIPTION
1145
+ Generate selector, domain, and unit-of-work layers for an SObject in one run.
1146
+
1147
+ Describes --sobject in --target-org once and scaffolds every layer you select (at least one of --selector, --domain,
1148
+ or --unit-of-work) into --output-dir, sharing --flavor and --prefix. With --flavor at4dx each layer also gets its
1149
+ Application Factory binding record.
1150
+
1151
+ Before writing, the binding records are checked against the project's package directories and --output-dir with the
1152
+ rules `simply aep at4dx binding validate` uses. An error-severity issue they would introduce — a second Domain binding
1153
+ for the same SObject, say — stops the run unless you pass --force; problems that were already there don't. Existing
1154
+ files stop it too unless you pass --overwrite. Nothing is written in either case.
1155
+
1156
+ With --flavor fflib, --unit-of-work writes no file: fflib has no unit-of-work binding, so the command prints the
1157
+ Application factory entry to add by hand, and returns it as manualSteps.
1158
+
1159
+ EXAMPLES
1160
+ Generate all three AT4DX layers for Account:
1161
+
1162
+ $ sf simply aep generate --target-org myOrg --sobject Account --flavor at4dx --selector --domain --unit-of-work
1163
+
1164
+ Preview an fflib selector and domain with a class prefix, writing nothing:
1165
+
1166
+ $ sf simply aep generate --target-org myOrg --sobject Property__c --flavor fflib --prefix acme --selector \
1167
+ --domain --dry-run
1168
+
1169
+ FLAG DESCRIPTIONS
1170
+ -d, --output-dir=<value> Directory to write into, relative to the project root unless absolute.
1171
+
1172
+ Files go under main/classes, main/schema, and test/classes inside it. Defaults to generated-files, as apx's
1173
+ --output-path did, so generated paths don't move.
1174
+
1175
+ -f, --flavor=at4dx|fflib Framework to generate for: at4dx or fflib.
1176
+
1177
+ Sets the templates for every file: the interface and implementation shape, base classes, and whether Application
1178
+ Factory binding records are written. fflib writes none; at4dx writes one per layer.
1179
+ ```
1180
+
1181
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/generate.js)_
1182
+
1183
+ ## `sf simply aep generate domain`
1184
+
1185
+ Generate a domain class, its interface, test, and trigger, and its AT4DX binding for an SObject.
1186
+
1187
+ ```
1188
+ USAGE
1189
+ $ sf simply aep generate domain -o <value> -s <value> -f at4dx|fflib [--json] [--flags-dir <value>] [-a <value>] [--prefix
1190
+ <value>] [-d <value>] [--dry-run] [--overwrite] [--force]
1191
+
1192
+ FLAGS
1193
+ -a, --api-version=<value> Override the api version used for api requests made by this command
1194
+ -d, --output-dir=<value> [default: generated-files] Directory to write into, relative to the project root unless
1195
+ absolute.
1196
+ -f, --flavor=<option> (required) Framework to generate for: at4dx or fflib.
1197
+ <options: at4dx|fflib>
1198
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1199
+ configuration variable is already set.
1200
+ -s, --sobject=<value> (required) API name of the SObject to generate for. The generators describe it in
1201
+ --target-org.
1202
+ --dry-run Show the files that would be written, and any validation issues, without writing anything.
1203
+ --force Write even if validation finds an error-severity issue the generated binding records would
1204
+ introduce. The issues are still printed and returned.
1205
+ --overwrite Replace files that already exist at a planned path. Without it, the command refuses before
1206
+ writing anything.
1207
+ --prefix=<value> Class-name prefix, upper-cased and joined with an underscore (--prefix acme gives
1208
+ ACME_Accounts).
1209
+
1210
+ GLOBAL FLAGS
1211
+ --flags-dir=<value> Import flag values from a directory.
1212
+ --json Format output as json.
1213
+
1214
+ DESCRIPTION
1215
+ Generate a domain class, its interface, test, and trigger, and its AT4DX binding for an SObject.
1216
+
1217
+ Describes --sobject in --target-org and scaffolds the domain into --output-dir: the implementation, its interface, a
1218
+ unit test, the trigger that hands every event to fflib_SObjectDomain.triggerHandler, and their -meta.xml files. With
1219
+ --flavor at4dx it also writes the ApplicationFactory_DomainBinding record.
1220
+
1221
+ An SObject can have only one Domain binding, so generating one where the project already has one fails validation;
1222
+ pass --force to write it anyway. See `simply aep generate --help` for the full --force and --overwrite rules.
1223
+
1224
+ EXAMPLES
1225
+ Generate an AT4DX domain for Account:
1226
+
1227
+ $ sf simply aep generate domain --target-org myOrg --sobject Account --flavor at4dx
1228
+
1229
+ Preview the files without writing them:
1230
+
1231
+ $ sf simply aep generate domain --target-org myOrg --sobject Account --flavor at4dx --dry-run
1232
+
1233
+ FLAG DESCRIPTIONS
1234
+ -d, --output-dir=<value> Directory to write into, relative to the project root unless absolute.
1235
+
1236
+ Files go under main/classes, main/schema, and test/classes inside it. Defaults to generated-files, as apx's
1237
+ --output-path did, so generated paths don't move.
1238
+
1239
+ -f, --flavor=at4dx|fflib Framework to generate for: at4dx or fflib.
1240
+
1241
+ Sets the templates for every file: the interface and implementation shape, base classes, and whether Application
1242
+ Factory binding records are written. fflib writes none; at4dx writes one per layer.
1243
+ ```
1244
+
1245
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/generate/domain.js)_
1246
+
1247
+ ## `sf simply aep generate selector`
1248
+
1249
+ Generate a selector class, its interface and test, and its AT4DX binding for an SObject.
1250
+
1251
+ ```
1252
+ USAGE
1253
+ $ sf simply aep generate selector -o <value> -s <value> -f at4dx|fflib [--json] [--flags-dir <value>] [-a <value>] [--prefix
1254
+ <value>] [-d <value>] [--dry-run] [--overwrite] [--force]
1255
+
1256
+ FLAGS
1257
+ -a, --api-version=<value> Override the api version used for api requests made by this command
1258
+ -d, --output-dir=<value> [default: generated-files] Directory to write into, relative to the project root unless
1259
+ absolute.
1260
+ -f, --flavor=<option> (required) Framework to generate for: at4dx or fflib.
1261
+ <options: at4dx|fflib>
1262
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1263
+ configuration variable is already set.
1264
+ -s, --sobject=<value> (required) API name of the SObject to generate for. The generators describe it in
1265
+ --target-org.
1266
+ --dry-run Show the files that would be written, and any validation issues, without writing anything.
1267
+ --force Write even if validation finds an error-severity issue the generated binding records would
1268
+ introduce. The issues are still printed and returned.
1269
+ --overwrite Replace files that already exist at a planned path. Without it, the command refuses before
1270
+ writing anything.
1271
+ --prefix=<value> Class-name prefix, upper-cased and joined with an underscore (--prefix acme gives
1272
+ ACME_Accounts).
1273
+
1274
+ GLOBAL FLAGS
1275
+ --flags-dir=<value> Import flag values from a directory.
1276
+ --json Format output as json.
1277
+
1278
+ DESCRIPTION
1279
+ Generate a selector class, its interface and test, and its AT4DX binding for an SObject.
1280
+
1281
+ Describes --sobject in --target-org and scaffolds the selector into --output-dir: the implementation (selecting every
1282
+ filterable, non-textarea field), its interface, a unit test, and their -meta.xml files. With --flavor at4dx it also
1283
+ writes the ApplicationFactory_SelectorBinding record, using BindingSObject__c when EntityDefinition can reference the
1284
+ object and BindingSObjectAlternate__c when it can't.
1285
+
1286
+ The binding is checked against the project's package directories and --output-dir before anything is written; see
1287
+ `simply aep generate --help` for the --force and --overwrite rules.
1288
+
1289
+ EXAMPLES
1290
+ Generate an AT4DX selector for Account:
1291
+
1292
+ $ sf simply aep generate selector --target-org myOrg --sobject Account --flavor at4dx
1293
+
1294
+ Generate an fflib selector with a class prefix:
1295
+
1296
+ $ sf simply aep generate selector --target-org myOrg --sobject Property__c --flavor fflib --prefix acme
1297
+
1298
+ FLAG DESCRIPTIONS
1299
+ -d, --output-dir=<value> Directory to write into, relative to the project root unless absolute.
1300
+
1301
+ Files go under main/classes, main/schema, and test/classes inside it. Defaults to generated-files, as apx's
1302
+ --output-path did, so generated paths don't move.
1303
+
1304
+ -f, --flavor=at4dx|fflib Framework to generate for: at4dx or fflib.
1305
+
1306
+ Sets the templates for every file: the interface and implementation shape, base classes, and whether Application
1307
+ Factory binding records are written. fflib writes none; at4dx writes one per layer.
1308
+ ```
1309
+
1310
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/generate/selector.js)_
1311
+
1312
+ ## `sf simply aep generate service`
1313
+
1314
+ Generate a service facade, interface, implementation, exception, and test, and its AT4DX binding.
1315
+
1316
+ ```
1317
+ USAGE
1318
+ $ sf simply aep generate service --service-basename <value> -f at4dx|fflib [--json] [--flags-dir <value>] [-o <value>] [-a
1319
+ <value>] [--prefix <value>] [-d <value>] [--dry-run] [--overwrite] [--force]
1320
+
1321
+ FLAGS
1322
+ -a, --api-version=<value> Override the api version used for api requests made by this command
1323
+ -d, --output-dir=<value> [default: generated-files] Directory to write into, relative to the project root
1324
+ unless absolute.
1325
+ -f, --flavor=<option> (required) Framework to generate for: at4dx or fflib.
1326
+ <options: at4dx|fflib>
1327
+ -o, --target-org=<value> Org whose API version the generated metadata declares, when --api-version isn't given.
1328
+ Nothing is read from it.
1329
+ --dry-run Show the files that would be written, and any validation issues, without writing
1330
+ anything.
1331
+ --force Write even if validation finds an error-severity issue the generated binding records
1332
+ would introduce. The issues are still printed and returned.
1333
+ --overwrite Replace files that already exist at a planned path. Without it, the command refuses
1334
+ before writing anything.
1335
+ --prefix=<value> Class-name prefix, upper-cased and joined with an underscore (--prefix acme gives
1336
+ ACME_Accounts).
1337
+ --service-basename=<value> (required) Base name for the generated classes, used as given (not pluralized).
1338
+
1339
+ GLOBAL FLAGS
1340
+ --flags-dir=<value> Import flag values from a directory.
1341
+ --json Format output as json.
1342
+
1343
+ DESCRIPTION
1344
+ Generate a service facade, interface, implementation, exception, and test, and its AT4DX binding.
1345
+
1346
+ Scaffolds a service named from --service-basename into --output-dir — `--service-basename Billing` gives
1347
+ BillingService, IBillingService, BillingServiceImpl, BillingServiceException, and BillingServiceTest — with their
1348
+ -meta.xml files. With --flavor at4dx it also writes the ApplicationFactory_ServiceBinding record mapping the interface
1349
+ to the implementation.
1350
+
1351
+ A service isn't tied to an SObject, so nothing is described and no org is needed. The generated -meta.xml files
1352
+ declare --api-version, else the version of --target-org if one is given, else 60.0.
1353
+
1354
+ EXAMPLES
1355
+ Generate an AT4DX service without an org:
1356
+
1357
+ $ sf simply aep generate service --service-basename LimitMonitors --flavor at4dx --api-version 62.0
1358
+
1359
+ Generate an fflib service at a connected org's API version:
1360
+
1361
+ $ sf simply aep generate service --target-org myOrg --service-basename Billing --flavor fflib
1362
+
1363
+ FLAG DESCRIPTIONS
1364
+ -d, --output-dir=<value> Directory to write into, relative to the project root unless absolute.
1365
+
1366
+ Files go under main/classes, main/schema, and test/classes inside it. Defaults to generated-files, as apx's
1367
+ --output-path did, so generated paths don't move.
1368
+
1369
+ -f, --flavor=at4dx|fflib Framework to generate for: at4dx or fflib.
1370
+
1371
+ Sets the templates for every file: the interface and implementation shape, base classes, and whether Application
1372
+ Factory binding records are written. fflib writes none; at4dx writes one per layer.
1373
+ ```
1374
+
1375
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/generate/service.js)_
1376
+
1377
+ ## `sf simply aep generate unit-of-work`
1378
+
1379
+ Generate an AT4DX unit-of-work binding for an SObject, or print the fflib Application entry to add.
1380
+
1381
+ ```
1382
+ USAGE
1383
+ $ sf simply aep generate unit-of-work -o <value> -s <value> -f at4dx|fflib [--json] [--flags-dir <value>] [-a <value>] [--prefix
1384
+ <value>] [--sequence <value>] [-d <value>] [--dry-run] [--overwrite] [--force]
1385
+
1386
+ FLAGS
1387
+ -a, --api-version=<value> Override the api version used for api requests made by this command
1388
+ -d, --output-dir=<value> [default: generated-files] Directory to write into, relative to the project root unless
1389
+ absolute.
1390
+ -f, --flavor=<option> (required) Framework to generate for: at4dx or fflib.
1391
+ <options: at4dx|fflib>
1392
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
1393
+ configuration variable is already set.
1394
+ -s, --sobject=<value> (required) API name of the SObject to generate for. The generators describe it in
1395
+ --target-org.
1396
+ --dry-run Show the files that would be written, and any validation issues, without writing anything.
1397
+ --force Write even if validation finds an error-severity issue the generated binding records would
1398
+ introduce. The issues are still printed and returned.
1399
+ --overwrite Replace files that already exist at a planned path. Without it, the command refuses before
1400
+ writing anything.
1401
+ --prefix=<value> Class-name prefix, upper-cased and joined with an underscore (--prefix acme gives
1402
+ ACME_Accounts).
1403
+ --sequence=<value> BindingSequence__c: where the SObject falls in the commit order, lower first. Defaults to
1404
+ 1000.
1405
+
1406
+ GLOBAL FLAGS
1407
+ --flags-dir=<value> Import flag values from a directory.
1408
+ --json Format output as json.
1409
+
1410
+ DESCRIPTION
1411
+ Generate an AT4DX unit-of-work binding for an SObject, or print the fflib Application entry to add.
1412
+
1413
+ With --flavor at4dx, writes the ApplicationFactory_UnitOfWorkBinding record registering --sobject with the Unit of
1414
+ Work at --sequence. With --flavor fflib nothing is written, since fflib has no unit-of-work binding: the command
1415
+ prints the Application.UnitOfWorkFactory entry to add by hand, and returns it as manualSteps.
1416
+
1417
+ Two unit-of-work bindings can't share a sequence or an SObject, so a run that would introduce either fails validation
1418
+ unless you pass --force.
1419
+
1420
+ EXAMPLES
1421
+ Register Account with the AT4DX Unit of Work:
1422
+
1423
+ $ sf simply aep generate unit-of-work --target-org myOrg --sobject Account --flavor at4dx --sequence 1000
1424
+
1425
+ Print the fflib Application entry for Account:
1426
+
1427
+ $ sf simply aep generate unit-of-work --target-org myOrg --sobject Account --flavor fflib
1428
+
1429
+ FLAG DESCRIPTIONS
1430
+ -d, --output-dir=<value> Directory to write into, relative to the project root unless absolute.
1431
+
1432
+ Files go under main/classes, main/schema, and test/classes inside it. Defaults to generated-files, as apx's
1433
+ --output-path did, so generated paths don't move.
1434
+
1435
+ -f, --flavor=at4dx|fflib Framework to generate for: at4dx or fflib.
1436
+
1437
+ Sets the templates for every file: the interface and implementation shape, base classes, and whether Application
1438
+ Factory binding records are written. fflib writes none; at4dx writes one per layer.
1439
+ ```
1440
+
1441
+ _See code: [@simplysf/simply-aep](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-aep@0.16.0/packages/simply-aep/lib/commands/simply/aep/generate/unit-of-work.js)_
1099
1442
 
1100
1443
  ## `sf simply apex execute`
1101
1444
 
@@ -1130,7 +1473,7 @@ FLAG DESCRIPTIONS
1130
1473
  The path to the local .apex file containing the anonymous Apex code to execute.
1131
1474
  ```
1132
1475
 
1133
- _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.12/packages/simply-apex/lib/commands/simply/apex/execute.js)_
1476
+ _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.14/packages/simply-apex/lib/commands/simply/apex/execute.js)_
1134
1477
 
1135
1478
  ## `sf simply apex logs purge`
1136
1479
 
@@ -1186,7 +1529,7 @@ FLAG DESCRIPTIONS
1186
1529
  elapses, then throws.
1187
1530
  ```
1188
1531
 
1189
- _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.12/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
1532
+ _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.14/packages/simply-apex/lib/commands/simply/apex/logs/purge.js)_
1190
1533
 
1191
1534
  ## `sf simply apex test-suite generate`
1192
1535
 
@@ -1234,7 +1577,7 @@ FLAG DESCRIPTIONS
1234
1577
  pass that directory explicitly, e.g. force-app/main/default/testSuites.
1235
1578
  ```
1236
1579
 
1237
- _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.12/packages/simply-apex/lib/commands/simply/apex/test-suite/generate.js)_
1580
+ _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.14/packages/simply-apex/lib/commands/simply/apex/test-suite/generate.js)_
1238
1581
 
1239
1582
  ## `sf simply apex trace setup`
1240
1583
 
@@ -1294,7 +1637,7 @@ FLAG DESCRIPTIONS
1294
1637
  Defaults to the current date/time.
1295
1638
  ```
1296
1639
 
1297
- _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.12/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
1640
+ _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.14/packages/simply-apex/lib/commands/simply/apex/trace/setup.js)_
1298
1641
 
1299
1642
  ## `sf simply apex trace silence`
1300
1643
 
@@ -1358,7 +1701,7 @@ FLAG DESCRIPTIONS
1358
1701
  Adds di_Binding, di_Module, di_PlatformCache, and di_Injector to the classes to silence.
1359
1702
  ```
1360
1703
 
1361
- _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.12/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
1704
+ _See code: [@simplysf/simply-apex](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-apex@1.8.14/packages/simply-apex/lib/commands/simply/apex/trace/silence.js)_
1362
1705
 
1363
1706
  ## `sf simply community publish`
1364
1707
 
@@ -1407,7 +1750,7 @@ EXAMPLES
1407
1750
  $ sf simply community publish --target-org my-org --name "My Community" --ignore-errors
1408
1751
  ```
1409
1752
 
1410
- _See code: [@simplysf/simply-community](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-community@0.6.16/packages/simply-community/lib/commands/simply/community/publish.js)_
1753
+ _See code: [@simplysf/simply-community](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-community@0.6.19/packages/simply-community/lib/commands/simply/community/publish.js)_
1411
1754
 
1412
1755
  ## `sf simply community url set`
1413
1756
 
@@ -1481,7 +1824,7 @@ EXAMPLES
1481
1824
  $ sf simply community url set --site Partner_Portal --domain partners.acme.com --deploy --target-org my-org # retrieves the site file first if it isn't found locally
1482
1825
  ```
1483
1826
 
1484
- _See code: [@simplysf/simply-community](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-community@0.6.16/packages/simply-community/lib/commands/simply/community/url/set.js)_
1827
+ _See code: [@simplysf/simply-community](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-community@0.6.19/packages/simply-community/lib/commands/simply/community/url/set.js)_
1485
1828
 
1486
1829
  ## `sf simply data file upload`
1487
1830
 
@@ -1537,7 +1880,7 @@ FLAG DESCRIPTIONS
1537
1880
  Setup and Configuration" permission — the command warns and proceeds rather than failing.
1538
1881
  ```
1539
1882
 
1540
- _See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-data@2.4.14/packages/simply-data/lib/commands/simply/data/file/upload.js)_
1883
+ _See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-data@2.4.15/packages/simply-data/lib/commands/simply/data/file/upload.js)_
1541
1884
 
1542
1885
  ## `sf simply data files download`
1543
1886
 
@@ -1599,7 +1942,7 @@ FLAG DESCRIPTIONS
1599
1942
  Provide a WHERE clause to allow the plugin to specify which ContentVersion records should be downloaded.
1600
1943
  ```
1601
1944
 
1602
- _See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-data@2.4.14/packages/simply-data/lib/commands/simply/data/files/download.js)_
1945
+ _See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-data@2.4.15/packages/simply-data/lib/commands/simply/data/files/download.js)_
1603
1946
 
1604
1947
  ## `sf simply data files upload`
1605
1948
 
@@ -1665,7 +2008,7 @@ FLAG DESCRIPTIONS
1665
2008
  quasi concurrent uploads. Please note that setting this value too high can cause performance issues.
1666
2009
  ```
1667
2010
 
1668
- _See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-data@2.4.14/packages/simply-data/lib/commands/simply/data/files/upload.js)_
2011
+ _See code: [@simplysf/simply-data](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-data@2.4.15/packages/simply-data/lib/commands/simply/data/files/upload.js)_
1669
2012
 
1670
2013
  ## `sf simply document diff`
1671
2014
 
@@ -1718,7 +2061,7 @@ FLAG DESCRIPTIONS
1718
2061
  available partials.
1719
2062
  ```
1720
2063
 
1721
- _See code: [@simplysf/simply-document](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-document@0.4.11/packages/simply-document/lib/commands/simply/document/diff.js)_
2064
+ _See code: [@simplysf/simply-document](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-document@0.4.13/packages/simply-document/lib/commands/simply/document/diff.js)_
1722
2065
 
1723
2066
  ## `sf simply document generate`
1724
2067
 
@@ -1764,7 +2107,7 @@ FLAG DESCRIPTIONS
1764
2107
  for the data shape.
1765
2108
  ```
1766
2109
 
1767
- _See code: [@simplysf/simply-document](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-document@0.4.11/packages/simply-document/lib/commands/simply/document/generate.js)_
2110
+ _See code: [@simplysf/simply-document](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-document@0.4.13/packages/simply-document/lib/commands/simply/document/generate.js)_
1768
2111
 
1769
2112
  ## `sf simply flow delete`
1770
2113
 
@@ -1807,7 +2150,7 @@ EXAMPLES
1807
2150
  $ sf simply flow delete --manifest destructive/pre/destructiveChanges.xml --target-org myOrg --json
1808
2151
  ```
1809
2152
 
1810
- _See code: [@simplysf/simply-flow](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.12/packages/simply-flow/lib/commands/simply/flow/delete.js)_
2153
+ _See code: [@simplysf/simply-flow](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.14/packages/simply-flow/lib/commands/simply/flow/delete.js)_
1811
2154
 
1812
2155
  ## `sf simply flow version prune`
1813
2156
 
@@ -1849,7 +2192,7 @@ EXAMPLES
1849
2192
  $ sf simply flow version prune --target-org myOrg --flow-name My_Flow --flow-name Another_Flow
1850
2193
  ```
1851
2194
 
1852
- _See code: [@simplysf/simply-flow](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.12/packages/simply-flow/lib/commands/simply/flow/version/prune.js)_
2195
+ _See code: [@simplysf/simply-flow](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-flow@0.4.14/packages/simply-flow/lib/commands/simply/flow/version/prune.js)_
1853
2196
 
1854
2197
  ## `sf simply package dependencies install`
1855
2198
 
@@ -1983,7 +2326,7 @@ FLAG DESCRIPTIONS
1983
2326
  Packages not listed here use --retry-attempts.
1984
2327
  ```
1985
2328
 
1986
- _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.5/packages/simply-package/lib/commands/simply/package/dependencies/install.js)_
2329
+ _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.7/packages/simply-package/lib/commands/simply/package/dependencies/install.js)_
1987
2330
 
1988
2331
  ## `sf simply package dependencies manage`
1989
2332
 
@@ -2042,7 +2385,7 @@ FLAG DESCRIPTIONS
2042
2385
  version without interactive prompts. Mutually exclusive with --update-to-latest.
2043
2386
  ```
2044
2387
 
2045
- _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.5/packages/simply-package/lib/commands/simply/package/dependencies/manage.js)_
2388
+ _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.7/packages/simply-package/lib/commands/simply/package/dependencies/manage.js)_
2046
2389
 
2047
2390
  ## `sf simply package version cleanup`
2048
2391
 
@@ -2099,7 +2442,7 @@ FLAG DESCRIPTIONS
2099
2442
  that does not match any of the given selectors is deleted. Mutually exclusive with --selector.
2100
2443
  ```
2101
2444
 
2102
- _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.5/packages/simply-package/lib/commands/simply/package/version/cleanup.js)_
2445
+ _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.7/packages/simply-package/lib/commands/simply/package/version/cleanup.js)_
2103
2446
 
2104
2447
  ## `sf simply package version get`
2105
2448
 
@@ -2159,7 +2502,7 @@ FLAG DESCRIPTIONS
2159
2502
  "test-package@0.1.0+2", pass "test-package".
2160
2503
  ```
2161
2504
 
2162
- _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.5/packages/simply-package/lib/commands/simply/package/version/get.js)_
2505
+ _See code: [@simplysf/simply-package](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-package@3.1.7/packages/simply-package/lib/commands/simply/package/version/get.js)_
2163
2506
 
2164
2507
  ## `sf simply permissions analyze`
2165
2508
 
@@ -2203,7 +2546,7 @@ FLAG DESCRIPTIONS
2203
2546
  The path to write the generated HTML report to.
2204
2547
  ```
2205
2548
 
2206
- _See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-permissions@1.4.1/packages/simply-permissions/lib/commands/simply/permissions/analyze.js)_
2549
+ _See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-permissions@1.4.3/packages/simply-permissions/lib/commands/simply/permissions/analyze.js)_
2207
2550
 
2208
2551
  ## `sf simply permissions assignment delete`
2209
2552
 
@@ -2246,7 +2589,7 @@ EXAMPLES
2246
2589
  $ sf simply permissions assignment delete --permission-set-group-name My_Permission_Set_Group --target-org myOrg
2247
2590
  ```
2248
2591
 
2249
- _See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-permissions@1.4.1/packages/simply-permissions/lib/commands/simply/permissions/assignment/delete.js)_
2592
+ _See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-permissions@1.4.3/packages/simply-permissions/lib/commands/simply/permissions/assignment/delete.js)_
2250
2593
 
2251
2594
  ## `sf simply permissions build`
2252
2595
 
@@ -2357,7 +2700,7 @@ FLAG DESCRIPTIONS
2357
2700
  Required unless --file is used.
2358
2701
  ```
2359
2702
 
2360
- _See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-permissions@1.4.1/packages/simply-permissions/lib/commands/simply/permissions/build.js)_
2703
+ _See code: [@simplysf/simply-permissions](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-permissions@1.4.3/packages/simply-permissions/lib/commands/simply/permissions/build.js)_
2361
2704
 
2362
2705
  ## `sf simply project update api-version`
2363
2706
 
@@ -2396,7 +2739,7 @@ FLAG DESCRIPTIONS
2396
2739
  The path to the Salesforce project directory to scan for metadata files.
2397
2740
  ```
2398
2741
 
2399
- _See code: [@simplysf/simply-project](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-project@1.2.27/packages/simply-project/lib/commands/simply/project/update/api-version.js)_
2742
+ _See code: [@simplysf/simply-project](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-project@1.2.29/packages/simply-project/lib/commands/simply/project/update/api-version.js)_
2400
2743
 
2401
2744
  ## `sf simply schema generate`
2402
2745
 
@@ -2437,7 +2780,7 @@ FLAG DESCRIPTIONS
2437
2780
  A `.csv` file processed as the flat CSV flow, or a `.xlsx`/`.xls` file processed as the Excel flow.
2438
2781
  ```
2439
2782
 
2440
- _See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-schema@0.3.32/packages/simply-schema/lib/commands/simply/schema/generate.js)_
2783
+ _See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-schema@0.3.34/packages/simply-schema/lib/commands/simply/schema/generate.js)_
2441
2784
 
2442
2785
  ## `sf simply schema visualize`
2443
2786
 
@@ -2499,7 +2842,169 @@ FLAG DESCRIPTIONS
2499
2842
  specified, every discovered object is included. If not specified, every object matching `--object-type` is included.
2500
2843
  ```
2501
2844
 
2502
- _See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-schema@0.3.32/packages/simply-schema/lib/commands/simply/schema/visualize.js)_
2845
+ _See code: [@simplysf/simply-schema](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-schema@0.3.34/packages/simply-schema/lib/commands/simply/schema/visualize.js)_
2846
+
2847
+ ## `sf simply settings address state activate`
2848
+
2849
+ Activate and show states in State and Country/Territory Picklists by deploying the org's AddressSettings.
2850
+
2851
+ ```
2852
+ USAGE
2853
+ $ sf simply settings address state activate -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-f <value>]
2854
+ [--iso-codes-version <value> --iso-codes debian] [--all-levels ] [-c <value>...] [-w <value>] [--dry-run]
2855
+
2856
+ FLAGS
2857
+ -c, --country=<value>... Only activate states in these countries (two-letter ISO 3166-1 codes). Can be
2858
+ specified multiple times.
2859
+ -f, --file=<value> JSON file mapping ISO 3166-2 codes to state names, e.g. {"US-CA": "California"}.
2860
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
2861
+ configuration variable is already set.
2862
+ -w, --wait=<value> [default: 33 minutes] Minutes to wait for the AddressSettings retrieve and deploy.
2863
+ --all-levels Include subdivisions nested under another subdivision, such as French departments
2864
+ under their regions. By default only top-level subdivisions are used.
2865
+ --api-version=<value> Override the api version used for api requests made by this command
2866
+ --dry-run Report which states would be activated, without deploying anything.
2867
+ --iso-codes=<option> Download the states from this ISO 3166-2 source at run time, instead of reading a
2868
+ file.
2869
+ <options: debian>
2870
+ --iso-codes-version=<value> Version of the --iso-codes source to use. For "debian", a tag such as v4.20.1, or a
2871
+ branch such as main. Defaults to the latest release.
2872
+
2873
+ GLOBAL FLAGS
2874
+ --flags-dir=<value> Import flag values from a directory.
2875
+ --json Format output as json.
2876
+
2877
+ DESCRIPTION
2878
+ Activate and show states in State and Country/Territory Picklists by deploying the org's AddressSettings.
2879
+
2880
+ Retrieves the org's AddressSettings, sets `<active>` and `<visible>` to true on exactly the states listed in the JSON
2881
+ file, and deploys the settings back. This is the step `simply settings address state create` leaves for afterwards,
2882
+ because new states are created inactive and hidden.
2883
+
2884
+ Only the listed states are changed. Other states, including standard ones an admin deliberately hid, and every
2885
+ country, are left as they are. A listed state that isn't in the org is reported and skipped; create it first.
2886
+
2887
+ States come from the same places as for `create`: a `--file` mapping ISO 3166-2 codes to state names, e.g. `{ "US-CA":
2888
+ "California" }`, or `--iso-codes debian` to download them from Debian's iso-codes project. Use the same flags as the
2889
+ `create` run, including `--iso-codes-version`, so the same states are activated.
2890
+
2891
+ EXAMPLES
2892
+ Activate every state listed in states.json:
2893
+
2894
+ $ sf simply settings address state activate --target-org my-org --file states.json
2895
+
2896
+ Activate only the United States entries:
2897
+
2898
+ $ sf simply settings address state activate --target-org my-org --file states.json --country US
2899
+
2900
+ See which states would be activated without deploying:
2901
+
2902
+ $ sf simply settings address state activate --target-org my-org --file states.json --dry-run
2903
+
2904
+ Activate the French states created from Debian's iso-codes, using the same pinned release:
2905
+
2906
+ $ sf simply settings address state activate --target-org my-org --iso-codes debian --iso-codes-version v4.20.1 \
2907
+ --country FR
2908
+
2909
+ FLAG DESCRIPTIONS
2910
+ --iso-codes=debian Download the states from this ISO 3166-2 source at run time, instead of reading a file.
2911
+
2912
+ "debian" is Debian's iso-codes project (https://salsa.debian.org/iso-codes-team/iso-codes). The data is downloaded
2913
+ each time the command runs and is never stored, so it's always as current as the version you choose. Downloads honor
2914
+ the HTTPS_PROXY and NO_PROXY environment variables.
2915
+ ```
2916
+
2917
+ _See code: [@simplysf/simply-settings](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-settings@0.3.0/packages/simply-settings/lib/commands/simply/settings/address/state/activate.js)_
2918
+
2919
+ ## `sf simply settings address state create`
2920
+
2921
+ Create missing states in State and Country/Territory Picklists by submitting Setup's Configure New State form.
2922
+
2923
+ ```
2924
+ USAGE
2925
+ $ sf simply settings address state create -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-f <value>]
2926
+ [--iso-codes-version <value> --iso-codes debian] [--all-levels ] [-c <value>...] [--concurrency <value>] [-w
2927
+ <value>] [--dry-run]
2928
+
2929
+ FLAGS
2930
+ -c, --country=<value>... Only create states in these countries (two-letter ISO 3166-1 codes). Can be specified
2931
+ multiple times.
2932
+ -f, --file=<value> JSON file mapping ISO 3166-2 codes to state names, e.g. {"US-CA": "California"}.
2933
+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
2934
+ configuration variable is already set.
2935
+ -w, --wait=<value> [default: 33 minutes] Minutes to wait for the AddressSettings retrieve.
2936
+ --all-levels Include subdivisions nested under another subdivision, such as French departments
2937
+ under their regions. By default only top-level subdivisions are used.
2938
+ --api-version=<value> Override the api version used for api requests made by this command
2939
+ --concurrency=<value> [default: 4] How many states to submit at the same time.
2940
+ --dry-run Report which states would be created, without submitting anything.
2941
+ --iso-codes=<option> Download the states from this ISO 3166-2 source at run time, instead of reading a
2942
+ file.
2943
+ <options: debian>
2944
+ --iso-codes-version=<value> Version of the --iso-codes source to use. For "debian", a tag such as v4.20.1, or a
2945
+ branch such as main. Defaults to the latest release.
2946
+
2947
+ GLOBAL FLAGS
2948
+ --flags-dir=<value> Import flag values from a directory.
2949
+ --json Format output as json.
2950
+
2951
+ DESCRIPTION
2952
+ Create missing states in State and Country/Territory Picklists by submitting Setup's Configure New State form.
2953
+
2954
+ Salesforce offers no API for creating states (only for editing existing ones), so this command does what an admin
2955
+ would do by hand in Setup: for each state, it loads the Configure New State form for the state's country and submits
2956
+ it.
2957
+
2958
+ It reads the org's AddressSettings first. A state whose ISO code already exists under its country is reported as
2959
+ `exists`, and a state whose country isn't in the org is reported as `country-missing`; neither causes any Setup
2960
+ traffic. Everything else is submitted, several states at a time.
2961
+
2962
+ The states come from one of two places. Use `--file` for a JSON file that maps ISO 3166-2 codes to state names, e.g.
2963
+ `{ "US-CA": "California", "AD-02": "Canillo" }`. Or use `--iso-codes debian` to download them from Debian's iso-codes
2964
+ project (https://salsa.debian.org/iso-codes-team/iso-codes) each time the command runs, so the list never goes out of
2965
+ date. Pin `--iso-codes-version` so `create` and `activate` use the same data. Only top-level subdivisions are used
2966
+ unless you pass `--all-levels`. Each state's integration value is set to its name.
2967
+
2968
+ New states are created inactive and hidden. Run `simply settings address state activate` with the same flags
2969
+ afterwards to activate them.
2970
+
2971
+ The org's auth must be able to open Setup pages (the `web` or `full` OAuth scope, as granted by `sf org login web`).
2972
+
2973
+ Exits with code 1 when any state is `rejected` or `failed`; the JSON result still lists every state.
2974
+
2975
+ EXAMPLES
2976
+ Create every state listed in states.json that the org is missing:
2977
+
2978
+ $ sf simply settings address state create --target-org my-org --file states.json
2979
+
2980
+ Create only the United States and Canada entries, two at a time:
2981
+
2982
+ $ sf simply settings address state create --target-org my-org --file states.json --country US --country CA \
2983
+ --concurrency 2
2984
+
2985
+ See what would be created without changing anything:
2986
+
2987
+ $ sf simply settings address state create --target-org my-org --file states.json --dry-run
2988
+
2989
+ Create France's and Germany's states from Debian's iso-codes, pinned to a release:
2990
+
2991
+ $ sf simply settings address state create --target-org my-org --iso-codes debian --iso-codes-version v4.20.1 \
2992
+ --country FR --country DE
2993
+
2994
+ See which of France's states, including departments, the org is missing according to the latest iso-codes release:
2995
+
2996
+ $ sf simply settings address state create --target-org my-org --iso-codes debian --all-levels --country FR \
2997
+ --dry-run
2998
+
2999
+ FLAG DESCRIPTIONS
3000
+ --iso-codes=debian Download the states from this ISO 3166-2 source at run time, instead of reading a file.
3001
+
3002
+ "debian" is Debian's iso-codes project (https://salsa.debian.org/iso-codes-team/iso-codes). The data is downloaded
3003
+ each time the command runs and is never stored, so it's always as current as the version you choose. Downloads honor
3004
+ the HTTPS_PROXY and NO_PROXY environment variables.
3005
+ ```
3006
+
3007
+ _See code: [@simplysf/simply-settings](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-settings@0.3.0/packages/simply-settings/lib/commands/simply/settings/address/state/create.js)_
2503
3008
 
2504
3009
  ## `sf simply sobject backup`
2505
3010
 
@@ -2560,7 +3065,7 @@ FLAG DESCRIPTIONS
2560
3065
  OwnerId, are skipped.
2561
3066
  ```
2562
3067
 
2563
- _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.21/packages/simply-sobject/lib/commands/simply/sobject/backup.js)_
3068
+ _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.23/packages/simply-sobject/lib/commands/simply/sobject/backup.js)_
2564
3069
 
2565
3070
  ## `sf simply sobject deduplicate`
2566
3071
 
@@ -2613,7 +3118,7 @@ FLAG DESCRIPTIONS
2613
3118
  The directory to write the generated CSV files to. Defaults to ./temp/<primaryObjectApiName>.
2614
3119
  ```
2615
3120
 
2616
- _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.21/packages/simply-sobject/lib/commands/simply/sobject/deduplicate.js)_
3121
+ _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.23/packages/simply-sobject/lib/commands/simply/sobject/deduplicate.js)_
2617
3122
 
2618
3123
  ## `sf simply sobject history export`
2619
3124
 
@@ -2667,7 +3172,7 @@ FLAG DESCRIPTIONS
2667
3172
  The start of the date range to export history for, inclusive.
2668
3173
  ```
2669
3174
 
2670
- _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.21/packages/simply-sobject/lib/commands/simply/sobject/history/export.js)_
3175
+ _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.23/packages/simply-sobject/lib/commands/simply/sobject/history/export.js)_
2671
3176
 
2672
3177
  ## `sf simply sobject history query`
2673
3178
 
@@ -2723,7 +3228,7 @@ FLAG DESCRIPTIONS
2723
3228
  The API name of the SObject to query field history for (e.g. Account or Custom_Object__c).
2724
3229
  ```
2725
3230
 
2726
- _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.21/packages/simply-sobject/lib/commands/simply/sobject/history/query.js)_
3231
+ _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.23/packages/simply-sobject/lib/commands/simply/sobject/history/query.js)_
2727
3232
 
2728
3233
  ## `sf simply sobject history schema`
2729
3234
 
@@ -2761,7 +3266,7 @@ FLAG DESCRIPTIONS
2761
3266
  The directory to save the generated CSV and HTML report files to. Defaults to the current directory.
2762
3267
  ```
2763
3268
 
2764
- _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.21/packages/simply-sobject/lib/commands/simply/sobject/history/schema.js)_
3269
+ _See code: [@simplysf/simply-sobject](https://github.com/SimplySF/simply-plugins/blob/@simplysf/simply-sobject@1.6.23/packages/simply-sobject/lib/commands/simply/sobject/history/schema.js)_
2765
3270
  <!-- commandsstop -->
2766
3271
 
2767
3272
  ## License
@@ -0,0 +1,4 @@
1
+ {
2
+ "commands": {},
3
+ "version": "6.10.0"
4
+ }
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": "6.7.0",
4
+ "version": "6.10.0",
5
5
  "author": "@ClayChipps",
6
6
  "homepage": "https://github.com/SimplySF/simply-plugins",
7
7
  "bugs": "https://github.com/SimplySF/simply-plugins/issues",
@@ -65,6 +65,7 @@
65
65
  "@simplysf/simply-permissions",
66
66
  "@simplysf/simply-project",
67
67
  "@simplysf/simply-schema",
68
+ "@simplysf/simply-settings",
68
69
  "@simplysf/simply-sobject"
69
70
  ],
70
71
  "repositoryPrefix": "<%- repo %>/blob/@simplysf/simply@<%- version %>/packages/simply/<%- commandPath %>",
@@ -75,17 +76,18 @@
75
76
  },
76
77
  "dependencies": {
77
78
  "@oclif/core": "^4.11.2",
78
- "@simplysf/simply-aep": "^0.15.7",
79
- "@simplysf/simply-apex": "^1.8.12",
80
- "@simplysf/simply-community": "^0.6.16",
81
- "@simplysf/simply-data": "^2.4.14",
82
- "@simplysf/simply-document": "^0.4.11",
83
- "@simplysf/simply-flow": "^0.4.12",
84
- "@simplysf/simply-package": "^3.1.5",
85
- "@simplysf/simply-permissions": "^1.4.1",
86
- "@simplysf/simply-project": "^1.2.27",
87
- "@simplysf/simply-schema": "^0.3.32",
88
- "@simplysf/simply-sobject": "^1.6.21",
79
+ "@simplysf/simply-aep": "^0.16.0",
80
+ "@simplysf/simply-apex": "^1.8.14",
81
+ "@simplysf/simply-community": "^0.6.19",
82
+ "@simplysf/simply-data": "^2.4.15",
83
+ "@simplysf/simply-document": "^0.4.13",
84
+ "@simplysf/simply-flow": "^0.4.14",
85
+ "@simplysf/simply-package": "^3.1.7",
86
+ "@simplysf/simply-permissions": "^1.4.3",
87
+ "@simplysf/simply-project": "^1.2.29",
88
+ "@simplysf/simply-schema": "^0.3.34",
89
+ "@simplysf/simply-settings": "^0.3.0",
90
+ "@simplysf/simply-sobject": "^1.6.23",
89
91
  "debug": "^4.4.3"
90
92
  },
91
93
  "devDependencies": {
@@ -101,9 +103,12 @@
101
103
  "format": "wireit",
102
104
  "lint": "wireit",
103
105
  "oclif-artifacts": "oclif manifest",
106
+ "postpack": "node -e \"require('node:fs').rmSync('oclif.manifest.json', { force: true })\"",
107
+ "prepack": "oclif manifest .",
104
108
  "prepare": "pnpm run compile && pnpm run lint",
105
109
  "promote": "oclif promote",
106
- "readme": "oclif readme --no-aliases"
110
+ "readme": "oclif readme --no-aliases",
111
+ "version": "pnpm run readme"
107
112
  },
108
113
  "wireit": {
109
114
  "build": {
@@ -133,6 +138,7 @@
133
138
  "../simply-permissions:compile",
134
139
  "../simply-project:compile",
135
140
  "../simply-schema:compile",
141
+ "../simply-settings:compile",
136
142
  "../simply-sobject:compile"
137
143
  ]
138
144
  },
@@ -174,5 +180,5 @@
174
180
  "output": []
175
181
  }
176
182
  },
177
- "gitHead": "e97be761884ef0e59fac289b520afe41b90d8dd3"
183
+ "gitHead": "507cbec8228050d9a034704936d8a8dbdcd31013"
178
184
  }