@kitalive/sfdx-plugin 1.0.0-rc.2 → 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.
- package/README.md +127 -127
- package/lib/bulk.js +55 -108
- package/lib/bulk.js.map +1 -1
- package/lib/commands/kit/data/bulk/delete.js +14 -9
- package/lib/commands/kit/data/bulk/delete.js.map +1 -1
- package/lib/commands/kit/data/bulk/query.js +5 -3
- package/lib/commands/kit/data/bulk/query.js.map +1 -1
- package/lib/commands/kit/data/bulk/upsert.js +4 -2
- package/lib/commands/kit/data/bulk/upsert.js.map +1 -1
- package/lib/commands/kit/data/csv/convert.js +104 -30
- package/lib/commands/kit/data/csv/convert.js.map +1 -1
- package/lib/commands/kit/graphql/editor.js.map +1 -1
- package/lib/commands/kit/object/fields/setup.js +1 -0
- package/lib/commands/kit/object/fields/setup.js.map +1 -1
- package/lib/commands/kit/script/execute.js +11 -1
- package/lib/commands/kit/script/execute.js.map +1 -1
- package/lib/utils.js.map +1 -1
- package/messages/data.bulk.md +7 -7
- package/messages/data.bulk.query.md +1 -1
- package/messages/data.bulk.upsert.md +1 -1
- package/messages/data.csv.convert.md +2 -2
- package/oclif.lock +2779 -1950
- package/oclif.manifest.json +212 -116
- package/package.json +1 -1
- package/public/graphql/index.html +67 -53
package/oclif.manifest.json
CHANGED
|
@@ -300,17 +300,29 @@
|
|
|
300
300
|
"allowNo": false,
|
|
301
301
|
"type": "boolean"
|
|
302
302
|
},
|
|
303
|
-
"
|
|
304
|
-
"
|
|
303
|
+
"concurrency-mode": {
|
|
304
|
+
"aliases": [
|
|
305
|
+
"concurrencymode"
|
|
306
|
+
],
|
|
307
|
+
"deprecateAliases": true,
|
|
308
|
+
"name": "concurrency-mode",
|
|
305
309
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
306
310
|
"default": "Parallel",
|
|
307
311
|
"hasDynamicHelp": false,
|
|
308
312
|
"multiple": false,
|
|
313
|
+
"options": [
|
|
314
|
+
"Serial",
|
|
315
|
+
"Parallel"
|
|
316
|
+
],
|
|
309
317
|
"type": "option"
|
|
310
318
|
},
|
|
311
|
-
"
|
|
319
|
+
"batch-size": {
|
|
320
|
+
"aliases": [
|
|
321
|
+
"batchsize"
|
|
322
|
+
],
|
|
312
323
|
"char": "s",
|
|
313
|
-
"
|
|
324
|
+
"deprecateAliases": true,
|
|
325
|
+
"name": "batch-size",
|
|
314
326
|
"summary": "The batch size of the job",
|
|
315
327
|
"default": 10000,
|
|
316
328
|
"hasDynamicHelp": false,
|
|
@@ -396,24 +408,9 @@
|
|
|
396
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.",
|
|
397
409
|
"examples": [
|
|
398
410
|
"Insert Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
399
|
-
"
|
|
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"
|
|
400
412
|
],
|
|
401
413
|
"flags": {
|
|
402
|
-
"json": {
|
|
403
|
-
"description": "Format output as json.",
|
|
404
|
-
"helpGroup": "GLOBAL",
|
|
405
|
-
"name": "json",
|
|
406
|
-
"allowNo": false,
|
|
407
|
-
"type": "boolean"
|
|
408
|
-
},
|
|
409
|
-
"flags-dir": {
|
|
410
|
-
"helpGroup": "GLOBAL",
|
|
411
|
-
"name": "flags-dir",
|
|
412
|
-
"summary": "Import flag values from a directory.",
|
|
413
|
-
"hasDynamicHelp": false,
|
|
414
|
-
"multiple": false,
|
|
415
|
-
"type": "option"
|
|
416
|
-
},
|
|
417
414
|
"sobject": {
|
|
418
415
|
"char": "s",
|
|
419
416
|
"name": "sobject",
|
|
@@ -423,18 +420,26 @@
|
|
|
423
420
|
"multiple": false,
|
|
424
421
|
"type": "option"
|
|
425
422
|
},
|
|
426
|
-
"
|
|
423
|
+
"csv-file": {
|
|
424
|
+
"aliases": [
|
|
425
|
+
"csvfile"
|
|
426
|
+
],
|
|
427
427
|
"char": "f",
|
|
428
|
-
"
|
|
428
|
+
"deprecateAliases": true,
|
|
429
|
+
"name": "csv-file",
|
|
429
430
|
"required": true,
|
|
430
431
|
"summary": "The CSV file path that defines the records to insert",
|
|
431
432
|
"hasDynamicHelp": false,
|
|
432
433
|
"multiple": false,
|
|
433
434
|
"type": "option"
|
|
434
435
|
},
|
|
435
|
-
"
|
|
436
|
+
"result-file": {
|
|
437
|
+
"aliases": [
|
|
438
|
+
"resultfile"
|
|
439
|
+
],
|
|
436
440
|
"char": "r",
|
|
437
|
-
"
|
|
441
|
+
"deprecateAliases": true,
|
|
442
|
+
"name": "result-file",
|
|
438
443
|
"summary": "The CSV file path for writing the insert results",
|
|
439
444
|
"hasDynamicHelp": false,
|
|
440
445
|
"multiple": false,
|
|
@@ -467,8 +472,12 @@
|
|
|
467
472
|
"multiple": false,
|
|
468
473
|
"type": "option"
|
|
469
474
|
},
|
|
470
|
-
"
|
|
471
|
-
"
|
|
475
|
+
"skip-lines": {
|
|
476
|
+
"aliases": [
|
|
477
|
+
"skiplines"
|
|
478
|
+
],
|
|
479
|
+
"deprecateAliases": true,
|
|
480
|
+
"name": "skip-lines",
|
|
472
481
|
"summary": "The number of lines to skip",
|
|
473
482
|
"default": 0,
|
|
474
483
|
"hasDynamicHelp": false,
|
|
@@ -497,35 +506,59 @@
|
|
|
497
506
|
"multiple": false,
|
|
498
507
|
"type": "option"
|
|
499
508
|
},
|
|
500
|
-
"
|
|
501
|
-
"
|
|
509
|
+
"set-null": {
|
|
510
|
+
"aliases": [
|
|
511
|
+
"setnull"
|
|
512
|
+
],
|
|
513
|
+
"deprecateAliases": true,
|
|
514
|
+
"name": "set-null",
|
|
502
515
|
"summary": "Set blank values as null values during insert operations (default: empty field values are ignored)",
|
|
503
516
|
"allowNo": false,
|
|
504
517
|
"type": "boolean"
|
|
505
518
|
},
|
|
506
|
-
"
|
|
507
|
-
"
|
|
519
|
+
"convert-only": {
|
|
520
|
+
"aliases": [
|
|
521
|
+
"convertonly"
|
|
522
|
+
],
|
|
523
|
+
"deprecateAliases": true,
|
|
524
|
+
"name": "convert-only",
|
|
508
525
|
"summary": "Output converted.csv file and skip insert for debugging",
|
|
509
526
|
"allowNo": false,
|
|
510
527
|
"type": "boolean"
|
|
511
528
|
},
|
|
512
|
-
"
|
|
513
|
-
"
|
|
529
|
+
"concurrency-mode": {
|
|
530
|
+
"aliases": [
|
|
531
|
+
"concurrencymode"
|
|
532
|
+
],
|
|
533
|
+
"deprecateAliases": true,
|
|
534
|
+
"name": "concurrency-mode",
|
|
514
535
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
515
536
|
"default": "Parallel",
|
|
516
537
|
"hasDynamicHelp": false,
|
|
517
538
|
"multiple": false,
|
|
539
|
+
"options": [
|
|
540
|
+
"Serial",
|
|
541
|
+
"Parallel"
|
|
542
|
+
],
|
|
518
543
|
"type": "option"
|
|
519
544
|
},
|
|
520
|
-
"
|
|
521
|
-
"
|
|
545
|
+
"assignment-rule-id": {
|
|
546
|
+
"aliases": [
|
|
547
|
+
"assignmentruleid"
|
|
548
|
+
],
|
|
549
|
+
"deprecateAliases": true,
|
|
550
|
+
"name": "assignment-rule-id",
|
|
522
551
|
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
523
552
|
"hasDynamicHelp": false,
|
|
524
553
|
"multiple": false,
|
|
525
554
|
"type": "option"
|
|
526
555
|
},
|
|
527
|
-
"
|
|
528
|
-
"
|
|
556
|
+
"batch-size": {
|
|
557
|
+
"aliases": [
|
|
558
|
+
"batchsize"
|
|
559
|
+
],
|
|
560
|
+
"deprecateAliases": true,
|
|
561
|
+
"name": "batch-size",
|
|
529
562
|
"summary": "The batch size of the job",
|
|
530
563
|
"default": 10000,
|
|
531
564
|
"hasDynamicHelp": false,
|
|
@@ -564,8 +597,6 @@
|
|
|
564
597
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
565
598
|
"pluginName": "@kitalive/sfdx-plugin",
|
|
566
599
|
"pluginType": "core",
|
|
567
|
-
"strict": true,
|
|
568
|
-
"enableJsonFlag": true,
|
|
569
600
|
"requiresProject": false,
|
|
570
601
|
"isESM": true,
|
|
571
602
|
"relativePath": [
|
|
@@ -635,9 +666,13 @@
|
|
|
635
666
|
"multiple": false,
|
|
636
667
|
"type": "option"
|
|
637
668
|
},
|
|
638
|
-
"
|
|
669
|
+
"csv-file": {
|
|
670
|
+
"aliases": [
|
|
671
|
+
"csvfile"
|
|
672
|
+
],
|
|
639
673
|
"char": "f",
|
|
640
|
-
"
|
|
674
|
+
"deprecateAliases": true,
|
|
675
|
+
"name": "csv-file",
|
|
641
676
|
"summary": "[default: standard output] Output csv file",
|
|
642
677
|
"hasDynamicHelp": false,
|
|
643
678
|
"multiple": false,
|
|
@@ -728,24 +763,9 @@
|
|
|
728
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.",
|
|
729
764
|
"examples": [
|
|
730
765
|
"Update Account records with mapping.json:\n<%= config.bin %> <%= command.id %> -o Account -f ./path/to/Account.csv -m ./path/to/mapping.json",
|
|
731
|
-
"
|
|
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"
|
|
732
767
|
],
|
|
733
768
|
"flags": {
|
|
734
|
-
"json": {
|
|
735
|
-
"description": "Format output as json.",
|
|
736
|
-
"helpGroup": "GLOBAL",
|
|
737
|
-
"name": "json",
|
|
738
|
-
"allowNo": false,
|
|
739
|
-
"type": "boolean"
|
|
740
|
-
},
|
|
741
|
-
"flags-dir": {
|
|
742
|
-
"helpGroup": "GLOBAL",
|
|
743
|
-
"name": "flags-dir",
|
|
744
|
-
"summary": "Import flag values from a directory.",
|
|
745
|
-
"hasDynamicHelp": false,
|
|
746
|
-
"multiple": false,
|
|
747
|
-
"type": "option"
|
|
748
|
-
},
|
|
749
769
|
"sobject": {
|
|
750
770
|
"char": "s",
|
|
751
771
|
"name": "sobject",
|
|
@@ -755,18 +775,26 @@
|
|
|
755
775
|
"multiple": false,
|
|
756
776
|
"type": "option"
|
|
757
777
|
},
|
|
758
|
-
"
|
|
778
|
+
"csv-file": {
|
|
779
|
+
"aliases": [
|
|
780
|
+
"csvfile"
|
|
781
|
+
],
|
|
759
782
|
"char": "f",
|
|
760
|
-
"
|
|
783
|
+
"deprecateAliases": true,
|
|
784
|
+
"name": "csv-file",
|
|
761
785
|
"required": true,
|
|
762
786
|
"summary": "The CSV file path that defines the records to update",
|
|
763
787
|
"hasDynamicHelp": false,
|
|
764
788
|
"multiple": false,
|
|
765
789
|
"type": "option"
|
|
766
790
|
},
|
|
767
|
-
"
|
|
791
|
+
"result-file": {
|
|
792
|
+
"aliases": [
|
|
793
|
+
"resultfile"
|
|
794
|
+
],
|
|
768
795
|
"char": "r",
|
|
769
|
-
"
|
|
796
|
+
"deprecateAliases": true,
|
|
797
|
+
"name": "result-file",
|
|
770
798
|
"summary": "The CSV file path for writing the update results",
|
|
771
799
|
"hasDynamicHelp": false,
|
|
772
800
|
"multiple": false,
|
|
@@ -799,8 +827,12 @@
|
|
|
799
827
|
"multiple": false,
|
|
800
828
|
"type": "option"
|
|
801
829
|
},
|
|
802
|
-
"
|
|
803
|
-
"
|
|
830
|
+
"skip-lines": {
|
|
831
|
+
"aliases": [
|
|
832
|
+
"skiplines"
|
|
833
|
+
],
|
|
834
|
+
"deprecateAliases": true,
|
|
835
|
+
"name": "skip-lines",
|
|
804
836
|
"summary": "The number of lines to skip",
|
|
805
837
|
"default": 0,
|
|
806
838
|
"hasDynamicHelp": false,
|
|
@@ -829,35 +861,59 @@
|
|
|
829
861
|
"multiple": false,
|
|
830
862
|
"type": "option"
|
|
831
863
|
},
|
|
832
|
-
"
|
|
833
|
-
"
|
|
864
|
+
"set-null": {
|
|
865
|
+
"aliases": [
|
|
866
|
+
"setnull"
|
|
867
|
+
],
|
|
868
|
+
"deprecateAliases": true,
|
|
869
|
+
"name": "set-null",
|
|
834
870
|
"summary": "Set blank values as null values during update operations (default: empty field values are ignored)",
|
|
835
871
|
"allowNo": false,
|
|
836
872
|
"type": "boolean"
|
|
837
873
|
},
|
|
838
|
-
"
|
|
839
|
-
"
|
|
874
|
+
"convert-only": {
|
|
875
|
+
"aliases": [
|
|
876
|
+
"convertonly"
|
|
877
|
+
],
|
|
878
|
+
"deprecateAliases": true,
|
|
879
|
+
"name": "convert-only",
|
|
840
880
|
"summary": "Output converted.csv file and skip update for debugging",
|
|
841
881
|
"allowNo": false,
|
|
842
882
|
"type": "boolean"
|
|
843
883
|
},
|
|
844
|
-
"
|
|
845
|
-
"
|
|
884
|
+
"concurrency-mode": {
|
|
885
|
+
"aliases": [
|
|
886
|
+
"concurrencymode"
|
|
887
|
+
],
|
|
888
|
+
"deprecateAliases": true,
|
|
889
|
+
"name": "concurrency-mode",
|
|
846
890
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
847
891
|
"default": "Parallel",
|
|
848
892
|
"hasDynamicHelp": false,
|
|
849
893
|
"multiple": false,
|
|
894
|
+
"options": [
|
|
895
|
+
"Serial",
|
|
896
|
+
"Parallel"
|
|
897
|
+
],
|
|
850
898
|
"type": "option"
|
|
851
899
|
},
|
|
852
|
-
"
|
|
853
|
-
"
|
|
900
|
+
"assignment-rule-id": {
|
|
901
|
+
"aliases": [
|
|
902
|
+
"assignmentruleid"
|
|
903
|
+
],
|
|
904
|
+
"deprecateAliases": true,
|
|
905
|
+
"name": "assignment-rule-id",
|
|
854
906
|
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
855
907
|
"hasDynamicHelp": false,
|
|
856
908
|
"multiple": false,
|
|
857
909
|
"type": "option"
|
|
858
910
|
},
|
|
859
|
-
"
|
|
860
|
-
"
|
|
911
|
+
"batch-size": {
|
|
912
|
+
"aliases": [
|
|
913
|
+
"batchsize"
|
|
914
|
+
],
|
|
915
|
+
"deprecateAliases": true,
|
|
916
|
+
"name": "batch-size",
|
|
861
917
|
"summary": "The batch size of the job",
|
|
862
918
|
"default": 10000,
|
|
863
919
|
"hasDynamicHelp": false,
|
|
@@ -896,8 +952,6 @@
|
|
|
896
952
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
897
953
|
"pluginName": "@kitalive/sfdx-plugin",
|
|
898
954
|
"pluginType": "core",
|
|
899
|
-
"strict": true,
|
|
900
|
-
"enableJsonFlag": true,
|
|
901
955
|
"requiresProject": false,
|
|
902
956
|
"isESM": true,
|
|
903
957
|
"relativePath": [
|
|
@@ -945,21 +999,6 @@
|
|
|
945
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"
|
|
946
1000
|
],
|
|
947
1001
|
"flags": {
|
|
948
|
-
"json": {
|
|
949
|
-
"description": "Format output as json.",
|
|
950
|
-
"helpGroup": "GLOBAL",
|
|
951
|
-
"name": "json",
|
|
952
|
-
"allowNo": false,
|
|
953
|
-
"type": "boolean"
|
|
954
|
-
},
|
|
955
|
-
"flags-dir": {
|
|
956
|
-
"helpGroup": "GLOBAL",
|
|
957
|
-
"name": "flags-dir",
|
|
958
|
-
"summary": "Import flag values from a directory.",
|
|
959
|
-
"hasDynamicHelp": false,
|
|
960
|
-
"multiple": false,
|
|
961
|
-
"type": "option"
|
|
962
|
-
},
|
|
963
1002
|
"sobject": {
|
|
964
1003
|
"char": "s",
|
|
965
1004
|
"name": "sobject",
|
|
@@ -969,18 +1008,26 @@
|
|
|
969
1008
|
"multiple": false,
|
|
970
1009
|
"type": "option"
|
|
971
1010
|
},
|
|
972
|
-
"
|
|
1011
|
+
"csv-file": {
|
|
1012
|
+
"aliases": [
|
|
1013
|
+
"csvfile"
|
|
1014
|
+
],
|
|
973
1015
|
"char": "f",
|
|
974
|
-
"
|
|
1016
|
+
"deprecateAliases": true,
|
|
1017
|
+
"name": "csv-file",
|
|
975
1018
|
"required": true,
|
|
976
1019
|
"summary": "The CSV file path that defines the records to upsert",
|
|
977
1020
|
"hasDynamicHelp": false,
|
|
978
1021
|
"multiple": false,
|
|
979
1022
|
"type": "option"
|
|
980
1023
|
},
|
|
981
|
-
"
|
|
1024
|
+
"result-file": {
|
|
1025
|
+
"aliases": [
|
|
1026
|
+
"resultfile"
|
|
1027
|
+
],
|
|
982
1028
|
"char": "r",
|
|
983
|
-
"
|
|
1029
|
+
"deprecateAliases": true,
|
|
1030
|
+
"name": "result-file",
|
|
984
1031
|
"summary": "The CSV file path for writing the upsert results",
|
|
985
1032
|
"hasDynamicHelp": false,
|
|
986
1033
|
"multiple": false,
|
|
@@ -1013,8 +1060,12 @@
|
|
|
1013
1060
|
"multiple": false,
|
|
1014
1061
|
"type": "option"
|
|
1015
1062
|
},
|
|
1016
|
-
"
|
|
1017
|
-
"
|
|
1063
|
+
"skip-lines": {
|
|
1064
|
+
"aliases": [
|
|
1065
|
+
"skiplines"
|
|
1066
|
+
],
|
|
1067
|
+
"deprecateAliases": true,
|
|
1068
|
+
"name": "skip-lines",
|
|
1018
1069
|
"summary": "The number of lines to skip",
|
|
1019
1070
|
"default": 0,
|
|
1020
1071
|
"hasDynamicHelp": false,
|
|
@@ -1043,35 +1094,59 @@
|
|
|
1043
1094
|
"multiple": false,
|
|
1044
1095
|
"type": "option"
|
|
1045
1096
|
},
|
|
1046
|
-
"
|
|
1047
|
-
"
|
|
1097
|
+
"set-null": {
|
|
1098
|
+
"aliases": [
|
|
1099
|
+
"setnull"
|
|
1100
|
+
],
|
|
1101
|
+
"deprecateAliases": true,
|
|
1102
|
+
"name": "set-null",
|
|
1048
1103
|
"summary": "Set blank values as null values during upsert operations (default: empty field values are ignored)",
|
|
1049
1104
|
"allowNo": false,
|
|
1050
1105
|
"type": "boolean"
|
|
1051
1106
|
},
|
|
1052
|
-
"
|
|
1053
|
-
"
|
|
1107
|
+
"convert-only": {
|
|
1108
|
+
"aliases": [
|
|
1109
|
+
"convertonly"
|
|
1110
|
+
],
|
|
1111
|
+
"deprecateAliases": true,
|
|
1112
|
+
"name": "convert-only",
|
|
1054
1113
|
"summary": "Output converted.csv file and skip upsert for debugging",
|
|
1055
1114
|
"allowNo": false,
|
|
1056
1115
|
"type": "boolean"
|
|
1057
1116
|
},
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1117
|
+
"concurrency-mode": {
|
|
1118
|
+
"aliases": [
|
|
1119
|
+
"concurrencymode"
|
|
1120
|
+
],
|
|
1121
|
+
"deprecateAliases": true,
|
|
1122
|
+
"name": "concurrency-mode",
|
|
1060
1123
|
"summary": "The concurrency mode (Parallel or Serial) for the job",
|
|
1061
1124
|
"default": "Parallel",
|
|
1062
1125
|
"hasDynamicHelp": false,
|
|
1063
1126
|
"multiple": false,
|
|
1127
|
+
"options": [
|
|
1128
|
+
"Serial",
|
|
1129
|
+
"Parallel"
|
|
1130
|
+
],
|
|
1064
1131
|
"type": "option"
|
|
1065
1132
|
},
|
|
1066
|
-
"
|
|
1067
|
-
"
|
|
1133
|
+
"assignment-rule-id": {
|
|
1134
|
+
"aliases": [
|
|
1135
|
+
"assignmentruleid"
|
|
1136
|
+
],
|
|
1137
|
+
"deprecateAliases": true,
|
|
1138
|
+
"name": "assignment-rule-id",
|
|
1068
1139
|
"summary": "The ID of a specific assignment rule to run for a case or a lead",
|
|
1069
1140
|
"hasDynamicHelp": false,
|
|
1070
1141
|
"multiple": false,
|
|
1071
1142
|
"type": "option"
|
|
1072
1143
|
},
|
|
1073
|
-
"
|
|
1074
|
-
"
|
|
1144
|
+
"batch-size": {
|
|
1145
|
+
"aliases": [
|
|
1146
|
+
"batchsize"
|
|
1147
|
+
],
|
|
1148
|
+
"deprecateAliases": true,
|
|
1149
|
+
"name": "batch-size",
|
|
1075
1150
|
"summary": "The batch size of the job",
|
|
1076
1151
|
"default": 10000,
|
|
1077
1152
|
"hasDynamicHelp": false,
|
|
@@ -1103,9 +1178,13 @@
|
|
|
1103
1178
|
"multiple": false,
|
|
1104
1179
|
"type": "option"
|
|
1105
1180
|
},
|
|
1106
|
-
"
|
|
1181
|
+
"external-id": {
|
|
1182
|
+
"aliases": [
|
|
1183
|
+
"externalid"
|
|
1184
|
+
],
|
|
1107
1185
|
"char": "i",
|
|
1108
|
-
"
|
|
1186
|
+
"deprecateAliases": true,
|
|
1187
|
+
"name": "external-id",
|
|
1109
1188
|
"required": true,
|
|
1110
1189
|
"summary": "The column name of the external ID",
|
|
1111
1190
|
"default": "Id",
|
|
@@ -1120,8 +1199,6 @@
|
|
|
1120
1199
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
1121
1200
|
"pluginName": "@kitalive/sfdx-plugin",
|
|
1122
1201
|
"pluginType": "core",
|
|
1123
|
-
"strict": true,
|
|
1124
|
-
"enableJsonFlag": true,
|
|
1125
1202
|
"requiresProject": false,
|
|
1126
1203
|
"isESM": true,
|
|
1127
1204
|
"relativePath": [
|
|
@@ -1165,7 +1242,7 @@
|
|
|
1165
1242
|
"args": {},
|
|
1166
1243
|
"examples": [
|
|
1167
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",
|
|
1168
|
-
"Convert csv file using script and output to specified path:\n<%= config.bin %> <%= command.id %> -i ./path/to/input.csv -
|
|
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"
|
|
1169
1246
|
],
|
|
1170
1247
|
"flags": {
|
|
1171
1248
|
"json": {
|
|
@@ -1192,7 +1269,7 @@
|
|
|
1192
1269
|
"type": "option"
|
|
1193
1270
|
},
|
|
1194
1271
|
"output": {
|
|
1195
|
-
"char": "
|
|
1272
|
+
"char": "f",
|
|
1196
1273
|
"name": "output",
|
|
1197
1274
|
"summary": "[default: standard output] The path of the output CSV file",
|
|
1198
1275
|
"hasDynamicHelp": false,
|
|
@@ -1226,8 +1303,12 @@
|
|
|
1226
1303
|
"multiple": false,
|
|
1227
1304
|
"type": "option"
|
|
1228
1305
|
},
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1306
|
+
"skip-lines": {
|
|
1307
|
+
"aliases": [
|
|
1308
|
+
"skiplines"
|
|
1309
|
+
],
|
|
1310
|
+
"deprecateAliases": true,
|
|
1311
|
+
"name": "skip-lines",
|
|
1231
1312
|
"summary": "The number of lines to skip",
|
|
1232
1313
|
"default": 0,
|
|
1233
1314
|
"hasDynamicHelp": false,
|
|
@@ -1255,9 +1336,25 @@
|
|
|
1255
1336
|
"hasDynamicHelp": false,
|
|
1256
1337
|
"multiple": false,
|
|
1257
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"
|
|
1258
1355
|
}
|
|
1259
1356
|
},
|
|
1260
|
-
"hasDynamicHelp":
|
|
1357
|
+
"hasDynamicHelp": true,
|
|
1261
1358
|
"hiddenAliases": [],
|
|
1262
1359
|
"id": "kit:data:csv:convert",
|
|
1263
1360
|
"pluginAlias": "@kitalive/sfdx-plugin",
|
|
@@ -1265,7 +1362,6 @@
|
|
|
1265
1362
|
"pluginType": "core",
|
|
1266
1363
|
"strict": true,
|
|
1267
1364
|
"summary": "Convert CSV data using column mapping file or Node.js script.",
|
|
1268
|
-
"enableJsonFlag": true,
|
|
1269
1365
|
"isESM": true,
|
|
1270
1366
|
"relativePath": [
|
|
1271
1367
|
"lib",
|
|
@@ -1748,5 +1844,5 @@
|
|
|
1748
1844
|
]
|
|
1749
1845
|
}
|
|
1750
1846
|
},
|
|
1751
|
-
"version": "1.0.0-rc.
|
|
1847
|
+
"version": "1.0.0-rc.3"
|
|
1752
1848
|
}
|
package/package.json
CHANGED