@kitalive/sfdx-plugin 1.0.0-rc.1 → 1.0.0-rc.3

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.
@@ -24,6 +24,19 @@
24
24
  "multiple": false,
25
25
  "type": "option"
26
26
  },
27
+ "browser": {
28
+ "char": "b",
29
+ "name": "browser",
30
+ "summary": "browser to use",
31
+ "hasDynamicHelp": false,
32
+ "multiple": false,
33
+ "options": [
34
+ "chrome",
35
+ "firefox",
36
+ "edge"
37
+ ],
38
+ "type": "option"
39
+ },
27
40
  "port": {
28
41
  "char": "p",
29
42
  "name": "port",
@@ -100,6 +113,19 @@
100
113
  "multiple": false,
101
114
  "type": "option"
102
115
  },
116
+ "browser": {
117
+ "char": "b",
118
+ "name": "browser",
119
+ "summary": "browser to use",
120
+ "hasDynamicHelp": false,
121
+ "multiple": false,
122
+ "options": [
123
+ "chrome",
124
+ "firefox",
125
+ "edge"
126
+ ],
127
+ "type": "option"
128
+ },
103
129
  "port": {
104
130
  "char": "p",
105
131
  "name": "port",
@@ -274,17 +300,29 @@
274
300
  "allowNo": false,
275
301
  "type": "boolean"
276
302
  },
277
- "concurrencymode": {
278
- "name": "concurrencymode",
303
+ "concurrency-mode": {
304
+ "aliases": [
305
+ "concurrencymode"
306
+ ],
307
+ "deprecateAliases": true,
308
+ "name": "concurrency-mode",
279
309
  "summary": "The concurrency mode (Parallel or Serial) for the job",
280
310
  "default": "Parallel",
281
311
  "hasDynamicHelp": false,
282
312
  "multiple": false,
313
+ "options": [
314
+ "Serial",
315
+ "Parallel"
316
+ ],
283
317
  "type": "option"
284
318
  },
285
- "batchsize": {
319
+ "batch-size": {
320
+ "aliases": [
321
+ "batchsize"
322
+ ],
286
323
  "char": "s",
287
- "name": "batchsize",
324
+ "deprecateAliases": true,
325
+ "name": "batch-size",
288
326
  "summary": "The batch size of the job",
289
327
  "default": 10000,
290
328
  "hasDynamicHelp": false,
@@ -295,6 +333,7 @@
295
333
  "char": "w",
296
334
  "name": "wait",
297
335
  "summary": "The number of minutes to wait for the command to complete before displaying the results",
336
+ "default": 0,
298
337
  "hasDynamicHelp": false,
299
338
  "multiple": false,
300
339
  "type": "option"
@@ -369,24 +408,9 @@
369
408
  "description": "For information about CSV file formats, see [Prepare CSV Files](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm) in the Bulk API Developer Guide.",
370
409
  "examples": [
371
410
  "Insert Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
372
- "Insert MyObject__c records with convert.js:\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -w 10"
411
+ "%s MyObject__c records with convert.js:\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -w 10"
373
412
  ],
374
413
  "flags": {
375
- "json": {
376
- "description": "Format output as json.",
377
- "helpGroup": "GLOBAL",
378
- "name": "json",
379
- "allowNo": false,
380
- "type": "boolean"
381
- },
382
- "flags-dir": {
383
- "helpGroup": "GLOBAL",
384
- "name": "flags-dir",
385
- "summary": "Import flag values from a directory.",
386
- "hasDynamicHelp": false,
387
- "multiple": false,
388
- "type": "option"
389
- },
390
414
  "sobject": {
391
415
  "char": "s",
392
416
  "name": "sobject",
@@ -396,18 +420,26 @@
396
420
  "multiple": false,
397
421
  "type": "option"
398
422
  },
399
- "csvfile": {
423
+ "csv-file": {
424
+ "aliases": [
425
+ "csvfile"
426
+ ],
400
427
  "char": "f",
401
- "name": "csvfile",
428
+ "deprecateAliases": true,
429
+ "name": "csv-file",
402
430
  "required": true,
403
431
  "summary": "The CSV file path that defines the records to insert",
404
432
  "hasDynamicHelp": false,
405
433
  "multiple": false,
406
434
  "type": "option"
407
435
  },
408
- "resultfile": {
436
+ "result-file": {
437
+ "aliases": [
438
+ "resultfile"
439
+ ],
409
440
  "char": "r",
410
- "name": "resultfile",
441
+ "deprecateAliases": true,
442
+ "name": "result-file",
411
443
  "summary": "The CSV file path for writing the insert results",
412
444
  "hasDynamicHelp": false,
413
445
  "multiple": false,
@@ -440,8 +472,12 @@
440
472
  "multiple": false,
441
473
  "type": "option"
442
474
  },
443
- "skiplines": {
444
- "name": "skiplines",
475
+ "skip-lines": {
476
+ "aliases": [
477
+ "skiplines"
478
+ ],
479
+ "deprecateAliases": true,
480
+ "name": "skip-lines",
445
481
  "summary": "The number of lines to skip",
446
482
  "default": 0,
447
483
  "hasDynamicHelp": false,
@@ -470,35 +506,59 @@
470
506
  "multiple": false,
471
507
  "type": "option"
472
508
  },
473
- "setnull": {
474
- "name": "setnull",
509
+ "set-null": {
510
+ "aliases": [
511
+ "setnull"
512
+ ],
513
+ "deprecateAliases": true,
514
+ "name": "set-null",
475
515
  "summary": "Set blank values as null values during insert operations (default: empty field values are ignored)",
476
516
  "allowNo": false,
477
517
  "type": "boolean"
478
518
  },
479
- "convertonly": {
480
- "name": "convertonly",
519
+ "convert-only": {
520
+ "aliases": [
521
+ "convertonly"
522
+ ],
523
+ "deprecateAliases": true,
524
+ "name": "convert-only",
481
525
  "summary": "Output converted.csv file and skip insert for debugging",
482
526
  "allowNo": false,
483
527
  "type": "boolean"
484
528
  },
485
- "concurrencymode": {
486
- "name": "concurrencymode",
529
+ "concurrency-mode": {
530
+ "aliases": [
531
+ "concurrencymode"
532
+ ],
533
+ "deprecateAliases": true,
534
+ "name": "concurrency-mode",
487
535
  "summary": "The concurrency mode (Parallel or Serial) for the job",
488
536
  "default": "Parallel",
489
537
  "hasDynamicHelp": false,
490
538
  "multiple": false,
539
+ "options": [
540
+ "Serial",
541
+ "Parallel"
542
+ ],
491
543
  "type": "option"
492
544
  },
493
- "assignmentruleid": {
494
- "name": "assignmentruleid",
545
+ "assignment-rule-id": {
546
+ "aliases": [
547
+ "assignmentruleid"
548
+ ],
549
+ "deprecateAliases": true,
550
+ "name": "assignment-rule-id",
495
551
  "summary": "The ID of a specific assignment rule to run for a case or a lead",
496
552
  "hasDynamicHelp": false,
497
553
  "multiple": false,
498
554
  "type": "option"
499
555
  },
500
- "batchsize": {
501
- "name": "batchsize",
556
+ "batch-size": {
557
+ "aliases": [
558
+ "batchsize"
559
+ ],
560
+ "deprecateAliases": true,
561
+ "name": "batch-size",
502
562
  "summary": "The batch size of the job",
503
563
  "default": 10000,
504
564
  "hasDynamicHelp": false,
@@ -537,8 +597,6 @@
537
597
  "pluginAlias": "@kitalive/sfdx-plugin",
538
598
  "pluginName": "@kitalive/sfdx-plugin",
539
599
  "pluginType": "core",
540
- "strict": true,
541
- "enableJsonFlag": true,
542
600
  "requiresProject": false,
543
601
  "isESM": true,
544
602
  "relativePath": [
@@ -608,9 +666,13 @@
608
666
  "multiple": false,
609
667
  "type": "option"
610
668
  },
611
- "csvfile": {
669
+ "csv-file": {
670
+ "aliases": [
671
+ "csvfile"
672
+ ],
612
673
  "char": "f",
613
- "name": "csvfile",
674
+ "deprecateAliases": true,
675
+ "name": "csv-file",
614
676
  "summary": "[default: standard output] Output csv file",
615
677
  "hasDynamicHelp": false,
616
678
  "multiple": false,
@@ -701,24 +763,9 @@
701
763
  "description": "For information about CSV file formats, see [Prepare CSV Files](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/datafiles_csv_preparing.htm) in the Bulk API Developer Guide.",
702
764
  "examples": [
703
765
  "Update Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
704
- "Update MyObject__c records with convert.js:\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -w 10"
766
+ "%s MyObject__c records with convert.js:\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -w 10"
705
767
  ],
706
768
  "flags": {
707
- "json": {
708
- "description": "Format output as json.",
709
- "helpGroup": "GLOBAL",
710
- "name": "json",
711
- "allowNo": false,
712
- "type": "boolean"
713
- },
714
- "flags-dir": {
715
- "helpGroup": "GLOBAL",
716
- "name": "flags-dir",
717
- "summary": "Import flag values from a directory.",
718
- "hasDynamicHelp": false,
719
- "multiple": false,
720
- "type": "option"
721
- },
722
769
  "sobject": {
723
770
  "char": "s",
724
771
  "name": "sobject",
@@ -728,18 +775,26 @@
728
775
  "multiple": false,
729
776
  "type": "option"
730
777
  },
731
- "csvfile": {
778
+ "csv-file": {
779
+ "aliases": [
780
+ "csvfile"
781
+ ],
732
782
  "char": "f",
733
- "name": "csvfile",
783
+ "deprecateAliases": true,
784
+ "name": "csv-file",
734
785
  "required": true,
735
786
  "summary": "The CSV file path that defines the records to update",
736
787
  "hasDynamicHelp": false,
737
788
  "multiple": false,
738
789
  "type": "option"
739
790
  },
740
- "resultfile": {
791
+ "result-file": {
792
+ "aliases": [
793
+ "resultfile"
794
+ ],
741
795
  "char": "r",
742
- "name": "resultfile",
796
+ "deprecateAliases": true,
797
+ "name": "result-file",
743
798
  "summary": "The CSV file path for writing the update results",
744
799
  "hasDynamicHelp": false,
745
800
  "multiple": false,
@@ -772,8 +827,12 @@
772
827
  "multiple": false,
773
828
  "type": "option"
774
829
  },
775
- "skiplines": {
776
- "name": "skiplines",
830
+ "skip-lines": {
831
+ "aliases": [
832
+ "skiplines"
833
+ ],
834
+ "deprecateAliases": true,
835
+ "name": "skip-lines",
777
836
  "summary": "The number of lines to skip",
778
837
  "default": 0,
779
838
  "hasDynamicHelp": false,
@@ -802,35 +861,59 @@
802
861
  "multiple": false,
803
862
  "type": "option"
804
863
  },
805
- "setnull": {
806
- "name": "setnull",
864
+ "set-null": {
865
+ "aliases": [
866
+ "setnull"
867
+ ],
868
+ "deprecateAliases": true,
869
+ "name": "set-null",
807
870
  "summary": "Set blank values as null values during update operations (default: empty field values are ignored)",
808
871
  "allowNo": false,
809
872
  "type": "boolean"
810
873
  },
811
- "convertonly": {
812
- "name": "convertonly",
874
+ "convert-only": {
875
+ "aliases": [
876
+ "convertonly"
877
+ ],
878
+ "deprecateAliases": true,
879
+ "name": "convert-only",
813
880
  "summary": "Output converted.csv file and skip update for debugging",
814
881
  "allowNo": false,
815
882
  "type": "boolean"
816
883
  },
817
- "concurrencymode": {
818
- "name": "concurrencymode",
884
+ "concurrency-mode": {
885
+ "aliases": [
886
+ "concurrencymode"
887
+ ],
888
+ "deprecateAliases": true,
889
+ "name": "concurrency-mode",
819
890
  "summary": "The concurrency mode (Parallel or Serial) for the job",
820
891
  "default": "Parallel",
821
892
  "hasDynamicHelp": false,
822
893
  "multiple": false,
894
+ "options": [
895
+ "Serial",
896
+ "Parallel"
897
+ ],
823
898
  "type": "option"
824
899
  },
825
- "assignmentruleid": {
826
- "name": "assignmentruleid",
900
+ "assignment-rule-id": {
901
+ "aliases": [
902
+ "assignmentruleid"
903
+ ],
904
+ "deprecateAliases": true,
905
+ "name": "assignment-rule-id",
827
906
  "summary": "The ID of a specific assignment rule to run for a case or a lead",
828
907
  "hasDynamicHelp": false,
829
908
  "multiple": false,
830
909
  "type": "option"
831
910
  },
832
- "batchsize": {
833
- "name": "batchsize",
911
+ "batch-size": {
912
+ "aliases": [
913
+ "batchsize"
914
+ ],
915
+ "deprecateAliases": true,
916
+ "name": "batch-size",
834
917
  "summary": "The batch size of the job",
835
918
  "default": 10000,
836
919
  "hasDynamicHelp": false,
@@ -869,8 +952,6 @@
869
952
  "pluginAlias": "@kitalive/sfdx-plugin",
870
953
  "pluginName": "@kitalive/sfdx-plugin",
871
954
  "pluginType": "core",
872
- "strict": true,
873
- "enableJsonFlag": true,
874
955
  "requiresProject": false,
875
956
  "isESM": true,
876
957
  "relativePath": [
@@ -918,21 +999,6 @@
918
999
  "Upsert MyObject__c with convert.js and external ID\n<%= config.bin %> <%= command.id %> -o MyObject__c -f ./path/to/MyObject__c.csv -c ./path/to/convert.js -i MyExternalId__c -w 10"
919
1000
  ],
920
1001
  "flags": {
921
- "json": {
922
- "description": "Format output as json.",
923
- "helpGroup": "GLOBAL",
924
- "name": "json",
925
- "allowNo": false,
926
- "type": "boolean"
927
- },
928
- "flags-dir": {
929
- "helpGroup": "GLOBAL",
930
- "name": "flags-dir",
931
- "summary": "Import flag values from a directory.",
932
- "hasDynamicHelp": false,
933
- "multiple": false,
934
- "type": "option"
935
- },
936
1002
  "sobject": {
937
1003
  "char": "s",
938
1004
  "name": "sobject",
@@ -942,18 +1008,26 @@
942
1008
  "multiple": false,
943
1009
  "type": "option"
944
1010
  },
945
- "csvfile": {
1011
+ "csv-file": {
1012
+ "aliases": [
1013
+ "csvfile"
1014
+ ],
946
1015
  "char": "f",
947
- "name": "csvfile",
1016
+ "deprecateAliases": true,
1017
+ "name": "csv-file",
948
1018
  "required": true,
949
1019
  "summary": "The CSV file path that defines the records to upsert",
950
1020
  "hasDynamicHelp": false,
951
1021
  "multiple": false,
952
1022
  "type": "option"
953
1023
  },
954
- "resultfile": {
1024
+ "result-file": {
1025
+ "aliases": [
1026
+ "resultfile"
1027
+ ],
955
1028
  "char": "r",
956
- "name": "resultfile",
1029
+ "deprecateAliases": true,
1030
+ "name": "result-file",
957
1031
  "summary": "The CSV file path for writing the upsert results",
958
1032
  "hasDynamicHelp": false,
959
1033
  "multiple": false,
@@ -986,8 +1060,12 @@
986
1060
  "multiple": false,
987
1061
  "type": "option"
988
1062
  },
989
- "skiplines": {
990
- "name": "skiplines",
1063
+ "skip-lines": {
1064
+ "aliases": [
1065
+ "skiplines"
1066
+ ],
1067
+ "deprecateAliases": true,
1068
+ "name": "skip-lines",
991
1069
  "summary": "The number of lines to skip",
992
1070
  "default": 0,
993
1071
  "hasDynamicHelp": false,
@@ -1016,35 +1094,59 @@
1016
1094
  "multiple": false,
1017
1095
  "type": "option"
1018
1096
  },
1019
- "setnull": {
1020
- "name": "setnull",
1097
+ "set-null": {
1098
+ "aliases": [
1099
+ "setnull"
1100
+ ],
1101
+ "deprecateAliases": true,
1102
+ "name": "set-null",
1021
1103
  "summary": "Set blank values as null values during upsert operations (default: empty field values are ignored)",
1022
1104
  "allowNo": false,
1023
1105
  "type": "boolean"
1024
1106
  },
1025
- "convertonly": {
1026
- "name": "convertonly",
1107
+ "convert-only": {
1108
+ "aliases": [
1109
+ "convertonly"
1110
+ ],
1111
+ "deprecateAliases": true,
1112
+ "name": "convert-only",
1027
1113
  "summary": "Output converted.csv file and skip upsert for debugging",
1028
1114
  "allowNo": false,
1029
1115
  "type": "boolean"
1030
1116
  },
1031
- "concurrencymode": {
1032
- "name": "concurrencymode",
1117
+ "concurrency-mode": {
1118
+ "aliases": [
1119
+ "concurrencymode"
1120
+ ],
1121
+ "deprecateAliases": true,
1122
+ "name": "concurrency-mode",
1033
1123
  "summary": "The concurrency mode (Parallel or Serial) for the job",
1034
1124
  "default": "Parallel",
1035
1125
  "hasDynamicHelp": false,
1036
1126
  "multiple": false,
1127
+ "options": [
1128
+ "Serial",
1129
+ "Parallel"
1130
+ ],
1037
1131
  "type": "option"
1038
1132
  },
1039
- "assignmentruleid": {
1040
- "name": "assignmentruleid",
1133
+ "assignment-rule-id": {
1134
+ "aliases": [
1135
+ "assignmentruleid"
1136
+ ],
1137
+ "deprecateAliases": true,
1138
+ "name": "assignment-rule-id",
1041
1139
  "summary": "The ID of a specific assignment rule to run for a case or a lead",
1042
1140
  "hasDynamicHelp": false,
1043
1141
  "multiple": false,
1044
1142
  "type": "option"
1045
1143
  },
1046
- "batchsize": {
1047
- "name": "batchsize",
1144
+ "batch-size": {
1145
+ "aliases": [
1146
+ "batchsize"
1147
+ ],
1148
+ "deprecateAliases": true,
1149
+ "name": "batch-size",
1048
1150
  "summary": "The batch size of the job",
1049
1151
  "default": 10000,
1050
1152
  "hasDynamicHelp": false,
@@ -1076,9 +1178,13 @@
1076
1178
  "multiple": false,
1077
1179
  "type": "option"
1078
1180
  },
1079
- "externalid": {
1181
+ "external-id": {
1182
+ "aliases": [
1183
+ "externalid"
1184
+ ],
1080
1185
  "char": "i",
1081
- "name": "externalid",
1186
+ "deprecateAliases": true,
1187
+ "name": "external-id",
1082
1188
  "required": true,
1083
1189
  "summary": "The column name of the external ID",
1084
1190
  "default": "Id",
@@ -1093,8 +1199,6 @@
1093
1199
  "pluginAlias": "@kitalive/sfdx-plugin",
1094
1200
  "pluginName": "@kitalive/sfdx-plugin",
1095
1201
  "pluginType": "core",
1096
- "strict": true,
1097
- "enableJsonFlag": true,
1098
1202
  "requiresProject": false,
1099
1203
  "isESM": true,
1100
1204
  "relativePath": [
@@ -1138,7 +1242,7 @@
1138
1242
  "args": {},
1139
1243
  "examples": [
1140
1244
  "Convert csv file using mapping file and output to standard output:\n<%= config.bin %> <%= command.id %> -i ./path/to/input.csv -m ./path/to/mapping.json",
1141
- "Convert csv file using script and output to specified path:\n<%= config.bin %> <%= command.id %> -i ./path/to/input.csv -o ./path/to/output.csv -c ./path/to/convert.js"
1245
+ "Convert csv file using script and output to specified path:\n<%= config.bin %> <%= command.id %> -i ./path/to/input.csv -f ./path/to/output.csv -c ./path/to/convert.js"
1142
1246
  ],
1143
1247
  "flags": {
1144
1248
  "json": {
@@ -1165,7 +1269,7 @@
1165
1269
  "type": "option"
1166
1270
  },
1167
1271
  "output": {
1168
- "char": "o",
1272
+ "char": "f",
1169
1273
  "name": "output",
1170
1274
  "summary": "[default: standard output] The path of the output CSV file",
1171
1275
  "hasDynamicHelp": false,
@@ -1199,8 +1303,12 @@
1199
1303
  "multiple": false,
1200
1304
  "type": "option"
1201
1305
  },
1202
- "skiplines": {
1203
- "name": "skiplines",
1306
+ "skip-lines": {
1307
+ "aliases": [
1308
+ "skiplines"
1309
+ ],
1310
+ "deprecateAliases": true,
1311
+ "name": "skip-lines",
1204
1312
  "summary": "The number of lines to skip",
1205
1313
  "default": 0,
1206
1314
  "hasDynamicHelp": false,
@@ -1228,9 +1336,25 @@
1228
1336
  "hasDynamicHelp": false,
1229
1337
  "multiple": false,
1230
1338
  "type": "option"
1339
+ },
1340
+ "target-org": {
1341
+ "char": "o",
1342
+ "name": "target-org",
1343
+ "noCacheDefault": true,
1344
+ "summary": "Username or alias of the target org.",
1345
+ "hasDynamicHelp": true,
1346
+ "multiple": false,
1347
+ "type": "option"
1348
+ },
1349
+ "api-version": {
1350
+ "description": "Override the api version used for api requests made by this command",
1351
+ "name": "api-version",
1352
+ "hasDynamicHelp": false,
1353
+ "multiple": false,
1354
+ "type": "option"
1231
1355
  }
1232
1356
  },
1233
- "hasDynamicHelp": false,
1357
+ "hasDynamicHelp": true,
1234
1358
  "hiddenAliases": [],
1235
1359
  "id": "kit:data:csv:convert",
1236
1360
  "pluginAlias": "@kitalive/sfdx-plugin",
@@ -1238,7 +1362,6 @@
1238
1362
  "pluginType": "core",
1239
1363
  "strict": true,
1240
1364
  "summary": "Convert CSV data using column mapping file or Node.js script.",
1241
- "enableJsonFlag": true,
1242
1365
  "isESM": true,
1243
1366
  "relativePath": [
1244
1367
  "lib",
@@ -1721,5 +1844,5 @@
1721
1844
  ]
1722
1845
  }
1723
1846
  },
1724
- "version": "1.0.0-rc.1"
1847
+ "version": "1.0.0-rc.3"
1725
1848
  }