@salesforce/cli 1.68.1 → 1.69.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/bin/dev +2 -0
- package/bin/run +1 -1
- package/dist/cli.js +7 -1
- package/npm-shrinkwrap.json +224 -253
- package/oclif.manifest.json +404 -10
- package/package.json +28 -27
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.69.0",
|
|
3
3
|
"commands": {
|
|
4
4
|
"cmdt:generate:field": {
|
|
5
5
|
"id": "cmdt:generate:field",
|
|
@@ -574,13 +574,15 @@
|
|
|
574
574
|
"Create a site using 'Partner Central' template:\n<%= config.bin %> <%= command.id %> --name partnercentral --template-name 'Partner Central' --url-path-prefix partners",
|
|
575
575
|
"Create a site using the 'Build Your Own (LWR)' template with authentication type of UNAUTHENTICATED:\n<%= config.bin %> <%= command.id %> --name lwrsite --template-name 'Build Your Own (LWR)' --url-path-prefix lwrsite templateParams.AuthenticationType=UNAUTHENTICATED"
|
|
576
576
|
],
|
|
577
|
+
"deprecateAliases": true,
|
|
577
578
|
"flags": {
|
|
578
579
|
"json": {
|
|
579
580
|
"name": "json",
|
|
580
581
|
"type": "boolean",
|
|
581
582
|
"description": "Format output as json.",
|
|
582
583
|
"helpGroup": "GLOBAL",
|
|
583
|
-
"allowNo": false
|
|
584
|
+
"allowNo": false,
|
|
585
|
+
"deprecateAliases": true
|
|
584
586
|
},
|
|
585
587
|
"name": {
|
|
586
588
|
"name": "name",
|
|
@@ -588,7 +590,8 @@
|
|
|
588
590
|
"char": "n",
|
|
589
591
|
"summary": "Name of the site to create.",
|
|
590
592
|
"required": true,
|
|
591
|
-
"multiple": false
|
|
593
|
+
"multiple": false,
|
|
594
|
+
"deprecateAliases": true
|
|
592
595
|
},
|
|
593
596
|
"template-name": {
|
|
594
597
|
"name": "template-name",
|
|
@@ -598,6 +601,7 @@
|
|
|
598
601
|
"description": "An example of a template is Customer Service. Run the \"community template list\" command to see which templates are available in your org.",
|
|
599
602
|
"required": true,
|
|
600
603
|
"multiple": false,
|
|
604
|
+
"deprecateAliases": true,
|
|
601
605
|
"aliases": [
|
|
602
606
|
"templatename"
|
|
603
607
|
]
|
|
@@ -610,6 +614,7 @@
|
|
|
610
614
|
"description": "For example, if your domain name is https://MyDomainName.my.site.com and you create a customer site, enter 'customers' to create the unique URL https://MyDomainName.my.site.com/customers.",
|
|
611
615
|
"required": true,
|
|
612
616
|
"multiple": false,
|
|
617
|
+
"deprecateAliases": true,
|
|
613
618
|
"aliases": [
|
|
614
619
|
"urlpathprefix"
|
|
615
620
|
]
|
|
@@ -620,7 +625,8 @@
|
|
|
620
625
|
"char": "d",
|
|
621
626
|
"summary": "Description of the site.",
|
|
622
627
|
"description": "The description displays in Digital Experiences - All Sites in Setup and helps with site identification.",
|
|
623
|
-
"multiple": false
|
|
628
|
+
"multiple": false,
|
|
629
|
+
"deprecateAliases": true
|
|
624
630
|
},
|
|
625
631
|
"target-org": {
|
|
626
632
|
"name": "target-org",
|
|
@@ -629,6 +635,7 @@
|
|
|
629
635
|
"summary": "Username or alias of the target org.",
|
|
630
636
|
"required": true,
|
|
631
637
|
"multiple": false,
|
|
638
|
+
"deprecateAliases": true,
|
|
632
639
|
"aliases": [
|
|
633
640
|
"targetusername",
|
|
634
641
|
"u"
|
|
@@ -641,13 +648,15 @@
|
|
|
641
648
|
"multiple": false,
|
|
642
649
|
"deprecated": {
|
|
643
650
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
644
|
-
}
|
|
651
|
+
},
|
|
652
|
+
"deprecateAliases": true
|
|
645
653
|
},
|
|
646
654
|
"api-version": {
|
|
647
655
|
"name": "api-version",
|
|
648
656
|
"type": "option",
|
|
649
657
|
"description": "Override the api version used for api requests made by this command",
|
|
650
658
|
"multiple": false,
|
|
659
|
+
"deprecateAliases": true,
|
|
651
660
|
"aliases": [
|
|
652
661
|
"apiversion"
|
|
653
662
|
]
|
|
@@ -677,13 +686,15 @@
|
|
|
677
686
|
"examples": [
|
|
678
687
|
"Publish the Experience Builder site with name \"My Customer Site':\n<%= config.bin %> <%= command.id %> --name 'My Customer Site'"
|
|
679
688
|
],
|
|
689
|
+
"deprecateAliases": true,
|
|
680
690
|
"flags": {
|
|
681
691
|
"json": {
|
|
682
692
|
"name": "json",
|
|
683
693
|
"type": "boolean",
|
|
684
694
|
"description": "Format output as json.",
|
|
685
695
|
"helpGroup": "GLOBAL",
|
|
686
|
-
"allowNo": false
|
|
696
|
+
"allowNo": false,
|
|
697
|
+
"deprecateAliases": true
|
|
687
698
|
},
|
|
688
699
|
"name": {
|
|
689
700
|
"name": "name",
|
|
@@ -691,7 +702,8 @@
|
|
|
691
702
|
"char": "n",
|
|
692
703
|
"summary": "Name of the Experience Builder site to publish.",
|
|
693
704
|
"required": true,
|
|
694
|
-
"multiple": false
|
|
705
|
+
"multiple": false,
|
|
706
|
+
"deprecateAliases": true
|
|
695
707
|
},
|
|
696
708
|
"target-org": {
|
|
697
709
|
"name": "target-org",
|
|
@@ -700,6 +712,7 @@
|
|
|
700
712
|
"summary": "Username or alias of the target org.",
|
|
701
713
|
"required": true,
|
|
702
714
|
"multiple": false,
|
|
715
|
+
"deprecateAliases": true,
|
|
703
716
|
"aliases": [
|
|
704
717
|
"targetusername",
|
|
705
718
|
"u"
|
|
@@ -710,6 +723,7 @@
|
|
|
710
723
|
"type": "option",
|
|
711
724
|
"description": "Override the api version used for api requests made by this command",
|
|
712
725
|
"multiple": false,
|
|
726
|
+
"deprecateAliases": true,
|
|
713
727
|
"aliases": [
|
|
714
728
|
"apiversion"
|
|
715
729
|
]
|
|
@@ -721,7 +735,8 @@
|
|
|
721
735
|
"multiple": false,
|
|
722
736
|
"deprecated": {
|
|
723
737
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
724
|
-
}
|
|
738
|
+
},
|
|
739
|
+
"deprecateAliases": true
|
|
725
740
|
}
|
|
726
741
|
},
|
|
727
742
|
"args": {},
|
|
@@ -741,13 +756,15 @@
|
|
|
741
756
|
"examples": [
|
|
742
757
|
"Retrieve the template list from an org with alias my-scratch-org:\n<%= config.bin %> <%= command.id %> --target-org my-scratch-org"
|
|
743
758
|
],
|
|
759
|
+
"deprecateAliases": true,
|
|
744
760
|
"flags": {
|
|
745
761
|
"json": {
|
|
746
762
|
"name": "json",
|
|
747
763
|
"type": "boolean",
|
|
748
764
|
"description": "Format output as json.",
|
|
749
765
|
"helpGroup": "GLOBAL",
|
|
750
|
-
"allowNo": false
|
|
766
|
+
"allowNo": false,
|
|
767
|
+
"deprecateAliases": true
|
|
751
768
|
},
|
|
752
769
|
"target-org": {
|
|
753
770
|
"name": "target-org",
|
|
@@ -756,6 +773,7 @@
|
|
|
756
773
|
"summary": "Username or alias of the target org.",
|
|
757
774
|
"required": true,
|
|
758
775
|
"multiple": false,
|
|
776
|
+
"deprecateAliases": true,
|
|
759
777
|
"aliases": [
|
|
760
778
|
"targetusername",
|
|
761
779
|
"u"
|
|
@@ -766,6 +784,7 @@
|
|
|
766
784
|
"type": "option",
|
|
767
785
|
"description": "Override the api version used for api requests made by this command",
|
|
768
786
|
"multiple": false,
|
|
787
|
+
"deprecateAliases": true,
|
|
769
788
|
"aliases": [
|
|
770
789
|
"apiversion"
|
|
771
790
|
]
|
|
@@ -777,12 +796,387 @@
|
|
|
777
796
|
"multiple": false,
|
|
778
797
|
"deprecated": {
|
|
779
798
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
780
|
-
}
|
|
799
|
+
},
|
|
800
|
+
"deprecateAliases": true
|
|
781
801
|
}
|
|
782
802
|
},
|
|
783
803
|
"args": {},
|
|
784
804
|
"hasDynamicHelp": true
|
|
785
805
|
},
|
|
806
|
+
"dev:hook": {
|
|
807
|
+
"id": "dev:hook",
|
|
808
|
+
"summary": "Run a hook. For testing purposes only.",
|
|
809
|
+
"strict": true,
|
|
810
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
811
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
812
|
+
"pluginType": "jit",
|
|
813
|
+
"aliases": [],
|
|
814
|
+
"examples": [
|
|
815
|
+
{
|
|
816
|
+
"description": "Execute a hook by name:",
|
|
817
|
+
"command": "<%= config.bin %> <%= command.id %> sf:env:list"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"description": "Execute a hook by name in a specific plugin:",
|
|
821
|
+
"command": "<%= config.bin %> <%= command.id %> sf:env:list --plugin env"
|
|
822
|
+
}
|
|
823
|
+
],
|
|
824
|
+
"flags": {
|
|
825
|
+
"json": {
|
|
826
|
+
"name": "json",
|
|
827
|
+
"type": "boolean",
|
|
828
|
+
"description": "Format output as json.",
|
|
829
|
+
"helpGroup": "GLOBAL",
|
|
830
|
+
"allowNo": false
|
|
831
|
+
},
|
|
832
|
+
"plugin": {
|
|
833
|
+
"name": "plugin",
|
|
834
|
+
"type": "option",
|
|
835
|
+
"char": "p",
|
|
836
|
+
"summary": "Specific plugin from which to execute hook",
|
|
837
|
+
"multiple": false
|
|
838
|
+
}
|
|
839
|
+
},
|
|
840
|
+
"args": {
|
|
841
|
+
"hook": {
|
|
842
|
+
"name": "hook",
|
|
843
|
+
"description": "Name of hook to execute.",
|
|
844
|
+
"required": true
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
"dev:audit:messages": {
|
|
849
|
+
"id": "dev:audit:messages",
|
|
850
|
+
"summary": "Audit messages in a plugin's messages directory to locate unused messages and missing messages that have references in source code.",
|
|
851
|
+
"description": "Audit messages in a plugin's messages directory to locate unused messages and missing messages that have references in source code.",
|
|
852
|
+
"strict": true,
|
|
853
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
854
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
855
|
+
"pluginType": "jit",
|
|
856
|
+
"aliases": [],
|
|
857
|
+
"examples": [
|
|
858
|
+
"sf dev audit messages\nsf dev audit messages --json\nsf dev audit messages --messages-dir ./messages --source-dir ./src"
|
|
859
|
+
],
|
|
860
|
+
"flags": {
|
|
861
|
+
"json": {
|
|
862
|
+
"name": "json",
|
|
863
|
+
"type": "boolean",
|
|
864
|
+
"description": "Format output as json.",
|
|
865
|
+
"helpGroup": "GLOBAL",
|
|
866
|
+
"allowNo": false
|
|
867
|
+
},
|
|
868
|
+
"project-dir": {
|
|
869
|
+
"name": "project-dir",
|
|
870
|
+
"type": "option",
|
|
871
|
+
"char": "p",
|
|
872
|
+
"summary": "Location project where messages are to be audited.",
|
|
873
|
+
"description": "The project directory.",
|
|
874
|
+
"multiple": false,
|
|
875
|
+
"default": ".",
|
|
876
|
+
"aliases": [
|
|
877
|
+
"projectdir"
|
|
878
|
+
]
|
|
879
|
+
},
|
|
880
|
+
"messages-dir": {
|
|
881
|
+
"name": "messages-dir",
|
|
882
|
+
"type": "option",
|
|
883
|
+
"char": "m",
|
|
884
|
+
"summary": "Location of the message bundle directory.",
|
|
885
|
+
"description": "The directory that holds the message bundle files. The default is the messages directory in the current working directory.",
|
|
886
|
+
"multiple": false,
|
|
887
|
+
"default": "messages",
|
|
888
|
+
"aliases": [
|
|
889
|
+
"messagesdir"
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
|
+
"source-dir": {
|
|
893
|
+
"name": "source-dir",
|
|
894
|
+
"type": "option",
|
|
895
|
+
"char": "s",
|
|
896
|
+
"summary": "Location of the plugin's source code.",
|
|
897
|
+
"description": "The directory that holds the plugin's source code. The default is the src directory in the current working directory.",
|
|
898
|
+
"multiple": false,
|
|
899
|
+
"default": "src",
|
|
900
|
+
"aliases": [
|
|
901
|
+
"sourcedir"
|
|
902
|
+
]
|
|
903
|
+
}
|
|
904
|
+
},
|
|
905
|
+
"args": {}
|
|
906
|
+
},
|
|
907
|
+
"dev:configure:repo": {
|
|
908
|
+
"id": "dev:configure:repo",
|
|
909
|
+
"summary": "Configure github repo for Actions pipeline.",
|
|
910
|
+
"description": "Sets up labels and exempts the CLI bot for branch protection and PR rules",
|
|
911
|
+
"strict": true,
|
|
912
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
913
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
914
|
+
"pluginType": "jit",
|
|
915
|
+
"aliases": [],
|
|
916
|
+
"examples": [
|
|
917
|
+
"<%= config.bin %> <%= command.id %> -r salesforcecli/testPackageRelease"
|
|
918
|
+
],
|
|
919
|
+
"flags": {
|
|
920
|
+
"json": {
|
|
921
|
+
"name": "json",
|
|
922
|
+
"type": "boolean",
|
|
923
|
+
"description": "Format output as json.",
|
|
924
|
+
"helpGroup": "GLOBAL",
|
|
925
|
+
"allowNo": false
|
|
926
|
+
},
|
|
927
|
+
"repository": {
|
|
928
|
+
"name": "repository",
|
|
929
|
+
"type": "option",
|
|
930
|
+
"char": "r",
|
|
931
|
+
"summary": "The github owner/repo",
|
|
932
|
+
"required": true,
|
|
933
|
+
"multiple": false
|
|
934
|
+
},
|
|
935
|
+
"dry-run": {
|
|
936
|
+
"name": "dry-run",
|
|
937
|
+
"type": "boolean",
|
|
938
|
+
"char": "d",
|
|
939
|
+
"summary": "Make no changes",
|
|
940
|
+
"allowNo": false,
|
|
941
|
+
"aliases": [
|
|
942
|
+
"dryrun"
|
|
943
|
+
]
|
|
944
|
+
},
|
|
945
|
+
"bot": {
|
|
946
|
+
"name": "bot",
|
|
947
|
+
"type": "option",
|
|
948
|
+
"char": "b",
|
|
949
|
+
"summary": "The github login/username for the bot.",
|
|
950
|
+
"multiple": false,
|
|
951
|
+
"default": "SF-CLI-BOT"
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
"args": {}
|
|
955
|
+
},
|
|
956
|
+
"dev:configure:secrets": {
|
|
957
|
+
"id": "dev:configure:secrets",
|
|
958
|
+
"summary": "Ensures a repo has correct access to secrets based on its workflows",
|
|
959
|
+
"description": "Inspects a repo's yaml files and verifies that secrets required are available for the repo (either set at the repo level or shared via organization-level secrets).\n\nThis command requires scope:admin permissions to inspect the org secrets and admin access to the repo to inspect the repo secrets",
|
|
960
|
+
"strict": true,
|
|
961
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
962
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
963
|
+
"pluginType": "jit",
|
|
964
|
+
"aliases": [],
|
|
965
|
+
"examples": [
|
|
966
|
+
"<%= config.bin %> <%= command.id %> -r salesforcecli/testPackageRelease"
|
|
967
|
+
],
|
|
968
|
+
"flags": {
|
|
969
|
+
"json": {
|
|
970
|
+
"name": "json",
|
|
971
|
+
"type": "boolean",
|
|
972
|
+
"description": "Format output as json.",
|
|
973
|
+
"helpGroup": "GLOBAL",
|
|
974
|
+
"allowNo": false
|
|
975
|
+
},
|
|
976
|
+
"repository": {
|
|
977
|
+
"name": "repository",
|
|
978
|
+
"type": "option",
|
|
979
|
+
"char": "r",
|
|
980
|
+
"summary": "The github owner/repo",
|
|
981
|
+
"required": true,
|
|
982
|
+
"multiple": false
|
|
983
|
+
},
|
|
984
|
+
"dry-run": {
|
|
985
|
+
"name": "dry-run",
|
|
986
|
+
"type": "boolean",
|
|
987
|
+
"char": "d",
|
|
988
|
+
"summary": "Make no changes",
|
|
989
|
+
"allowNo": false,
|
|
990
|
+
"aliases": [
|
|
991
|
+
"dryrun"
|
|
992
|
+
]
|
|
993
|
+
}
|
|
994
|
+
},
|
|
995
|
+
"args": {}
|
|
996
|
+
},
|
|
997
|
+
"dev:convert:messages": {
|
|
998
|
+
"id": "dev:convert:messages",
|
|
999
|
+
"summary": "Convert a .json messages file",
|
|
1000
|
+
"strict": true,
|
|
1001
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1002
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1003
|
+
"pluginType": "jit",
|
|
1004
|
+
"aliases": [],
|
|
1005
|
+
"examples": [
|
|
1006
|
+
"<%= config.bin %> <%= command.id %> --filename something.json",
|
|
1007
|
+
"<%= config.bin %> <%= command.id %> --project-dir ./path/to/plugin --filename something.json"
|
|
1008
|
+
],
|
|
1009
|
+
"flags": {
|
|
1010
|
+
"json": {
|
|
1011
|
+
"name": "json",
|
|
1012
|
+
"type": "boolean",
|
|
1013
|
+
"description": "Format output as json.",
|
|
1014
|
+
"helpGroup": "GLOBAL",
|
|
1015
|
+
"allowNo": false
|
|
1016
|
+
},
|
|
1017
|
+
"project-dir": {
|
|
1018
|
+
"name": "project-dir",
|
|
1019
|
+
"type": "option",
|
|
1020
|
+
"char": "p",
|
|
1021
|
+
"summary": "Location of the project whose messages are to be audited.",
|
|
1022
|
+
"description": "Location of the project whose messages are to be audited.",
|
|
1023
|
+
"multiple": false,
|
|
1024
|
+
"default": ".",
|
|
1025
|
+
"aliases": [
|
|
1026
|
+
"projectdir"
|
|
1027
|
+
]
|
|
1028
|
+
},
|
|
1029
|
+
"file-name": {
|
|
1030
|
+
"name": "file-name",
|
|
1031
|
+
"type": "option",
|
|
1032
|
+
"char": "f",
|
|
1033
|
+
"summary": "Filename to convert",
|
|
1034
|
+
"required": true,
|
|
1035
|
+
"multiple": true,
|
|
1036
|
+
"aliases": [
|
|
1037
|
+
"filename"
|
|
1038
|
+
]
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
"args": {}
|
|
1042
|
+
},
|
|
1043
|
+
"dev:generate:command": {
|
|
1044
|
+
"id": "dev:generate:command",
|
|
1045
|
+
"summary": "Generate a new sf command.",
|
|
1046
|
+
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThe command generates basic source files, messages (\\*.md), and test files for your new command. The Typescript files contain import statements for the minimum required Salesforce libraries, and scaffold some basic code. The new type names come from the value you passed to the --name flag.\n\nThe command updates the package.json file, so if it detects conflicts with the existing file, you're prompted whether you want to overwrite the file. There are a number of package.json updates required for a new command, so we recommend you answer \"y\" so the command takes care of them all. If you answer \"n\", you must update the package.json file manually.",
|
|
1047
|
+
"strict": true,
|
|
1048
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1049
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1050
|
+
"pluginType": "jit",
|
|
1051
|
+
"aliases": [],
|
|
1052
|
+
"examples": [
|
|
1053
|
+
"Generate the files for a new \"sf my exciting command\":\n<%= config.bin %> <%= command.id %> --name my:exciting:command"
|
|
1054
|
+
],
|
|
1055
|
+
"flags": {
|
|
1056
|
+
"name": {
|
|
1057
|
+
"name": "name",
|
|
1058
|
+
"type": "option",
|
|
1059
|
+
"char": "n",
|
|
1060
|
+
"summary": "Name of the new command. Use colons to separate the topic and command names.",
|
|
1061
|
+
"required": true,
|
|
1062
|
+
"multiple": false
|
|
1063
|
+
},
|
|
1064
|
+
"force": {
|
|
1065
|
+
"name": "force",
|
|
1066
|
+
"type": "boolean",
|
|
1067
|
+
"summary": "Overwrite existing files.",
|
|
1068
|
+
"allowNo": false
|
|
1069
|
+
},
|
|
1070
|
+
"nuts": {
|
|
1071
|
+
"name": "nuts",
|
|
1072
|
+
"type": "boolean",
|
|
1073
|
+
"summary": "Generate a NUT test file for the command.",
|
|
1074
|
+
"allowNo": true
|
|
1075
|
+
},
|
|
1076
|
+
"unit": {
|
|
1077
|
+
"name": "unit",
|
|
1078
|
+
"type": "boolean",
|
|
1079
|
+
"summary": "Generate a unit test file for the command.",
|
|
1080
|
+
"allowNo": true
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"args": {}
|
|
1084
|
+
},
|
|
1085
|
+
"dev:generate:flag": {
|
|
1086
|
+
"id": "dev:generate:flag",
|
|
1087
|
+
"summary": "Generate a flag for an existing command.",
|
|
1088
|
+
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThis command is interactive. It first discovers all the commands currently implemented in the plugin, and asks you which you want to create a new flag for. It then prompts for other flag properties, such as its long name, optional short name, type, whether it's required, and so on. Long flag names must be kebab-case and not camelCase. The command doesn't let you use an existing long or short flag name. When the command completes, the Typescript file for the command is updated with the code for the new flag.\n\nUse the --dry-run flag to review new code for the command file without actually udpating it.",
|
|
1089
|
+
"strict": true,
|
|
1090
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1091
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1092
|
+
"pluginType": "jit",
|
|
1093
|
+
"aliases": [],
|
|
1094
|
+
"examples": [
|
|
1095
|
+
"Generate a new flag and update the command file:\n<%= config.bin %> <%= command.id %>",
|
|
1096
|
+
"Don't actually update the command file, just view the generated code:\n<%= config.bin %> <%= command.id %> --dry-run"
|
|
1097
|
+
],
|
|
1098
|
+
"flags": {
|
|
1099
|
+
"dry-run": {
|
|
1100
|
+
"name": "dry-run",
|
|
1101
|
+
"type": "boolean",
|
|
1102
|
+
"char": "d",
|
|
1103
|
+
"summary": "Print new flag code instead of adding it to the command file.",
|
|
1104
|
+
"allowNo": false,
|
|
1105
|
+
"aliases": [
|
|
1106
|
+
"dryrun"
|
|
1107
|
+
]
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1110
|
+
"args": {}
|
|
1111
|
+
},
|
|
1112
|
+
"dev:generate:hook": {
|
|
1113
|
+
"id": "dev:generate:hook",
|
|
1114
|
+
"summary": "Generate a new sf hook.",
|
|
1115
|
+
"description": "You must run this command from within a plugin directory, such as the directory created with the \"sf dev generate plugin\" command.\n\nThe command generates a basic Typescript source file in the \"src/hooks\" directory to get you started. The source file's name is based on the event you're hooking into, such as envList.ts for the \"sf env list\" command.\n\nThe command updates the package.json file, so if it detects conflicts with the existing file, you're prompted whether you want to overwrite the file. There are a number of package.json updates required for a new hook, so we recommend you answer \"y\" so the command takes care of them all. If you answer \"n\", you must update the package.json file manually.",
|
|
1116
|
+
"strict": true,
|
|
1117
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1118
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1119
|
+
"pluginType": "jit",
|
|
1120
|
+
"aliases": [],
|
|
1121
|
+
"examples": [
|
|
1122
|
+
"Generate source file for a hook into the \"sf env display\" command:\n<%= config.bin %> <%= command.id %> --event sf:env:display"
|
|
1123
|
+
],
|
|
1124
|
+
"flags": {
|
|
1125
|
+
"force": {
|
|
1126
|
+
"name": "force",
|
|
1127
|
+
"type": "boolean",
|
|
1128
|
+
"summary": "Overwrite existing files.",
|
|
1129
|
+
"allowNo": false
|
|
1130
|
+
},
|
|
1131
|
+
"event": {
|
|
1132
|
+
"name": "event",
|
|
1133
|
+
"type": "option",
|
|
1134
|
+
"summary": "Event to run hook on. Use colons to separate topic and command names of the event.",
|
|
1135
|
+
"required": true,
|
|
1136
|
+
"multiple": false,
|
|
1137
|
+
"options": [
|
|
1138
|
+
"sf:env:list",
|
|
1139
|
+
"sf:env:display",
|
|
1140
|
+
"sf:deploy",
|
|
1141
|
+
"sf:logout"
|
|
1142
|
+
]
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
"args": {}
|
|
1146
|
+
},
|
|
1147
|
+
"dev:generate:library": {
|
|
1148
|
+
"id": "dev:generate:library",
|
|
1149
|
+
"summary": "Generate a new library.",
|
|
1150
|
+
"description": "This command is interactive. You're prompted for information to populate the new library, such as the npm scope (which must start with \"@\"), the name and description of the library, and its GitHub organization. The command clones the 'forcedotcom/library-template' GitHub repository, installs the library's npm package dependencies using yarn install, and updates the package properties.\n\nWhen the command completes, your new library contains a few sample source and test files to get you started.",
|
|
1151
|
+
"strict": true,
|
|
1152
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1153
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1154
|
+
"pluginType": "jit",
|
|
1155
|
+
"aliases": [],
|
|
1156
|
+
"examples": [
|
|
1157
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1158
|
+
],
|
|
1159
|
+
"flags": {},
|
|
1160
|
+
"args": {}
|
|
1161
|
+
},
|
|
1162
|
+
"dev:generate:plugin": {
|
|
1163
|
+
"id": "dev:generate:plugin",
|
|
1164
|
+
"summary": "Generate a new sf plugin.",
|
|
1165
|
+
"description": "This command is interactive. You're prompted for information to populate your new plugin, such as its name, description, author, and percentage of code coverage you want. The command clones the 'salesforcecli/plugin-template-sf' GitHub repository, installs the plug-in's npm package dependencies using yarn install, and updates the package properties.\n\nWhen the command completes, your new plugin contains the source, message, and test files for a sample \"sf hello world\" command.",
|
|
1166
|
+
"strict": true,
|
|
1167
|
+
"pluginName": "@salesforce/plugin-dev",
|
|
1168
|
+
"pluginAlias": "@salesforce/plugin-dev",
|
|
1169
|
+
"pluginType": "jit",
|
|
1170
|
+
"aliases": [
|
|
1171
|
+
"plugins:generate"
|
|
1172
|
+
],
|
|
1173
|
+
"examples": [
|
|
1174
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1175
|
+
],
|
|
1176
|
+
"deprecateAliases": true,
|
|
1177
|
+
"flags": {},
|
|
1178
|
+
"args": {}
|
|
1179
|
+
},
|
|
786
1180
|
"package:convert": {
|
|
787
1181
|
"id": "package:convert",
|
|
788
1182
|
"summary": "Create a second-generation package version from a first-generation package.",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/cli",
|
|
3
3
|
"description": "The Salesforce CLI",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.69.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sf": "./bin/run"
|
|
@@ -63,10 +63,11 @@
|
|
|
63
63
|
"@salesforce/plugin-user"
|
|
64
64
|
],
|
|
65
65
|
"jitPlugins": {
|
|
66
|
-
"@salesforce/plugin-custom-metadata": "2.1.
|
|
67
|
-
"@salesforce/plugin-community": "2.2.
|
|
68
|
-
"@salesforce/plugin-
|
|
69
|
-
"@salesforce/plugin-
|
|
66
|
+
"@salesforce/plugin-custom-metadata": "2.1.6",
|
|
67
|
+
"@salesforce/plugin-community": "2.2.4",
|
|
68
|
+
"@salesforce/plugin-dev": "0.7.0",
|
|
69
|
+
"@salesforce/plugin-packaging": "1.15.2",
|
|
70
|
+
"@salesforce/plugin-signups": "1.4.6",
|
|
70
71
|
"@salesforce/sfdx-scanner": "3.10.0"
|
|
71
72
|
},
|
|
72
73
|
"devPlugins": [
|
|
@@ -109,35 +110,35 @@
|
|
|
109
110
|
]
|
|
110
111
|
},
|
|
111
112
|
"dependencies": {
|
|
112
|
-
"@oclif/core": "2.
|
|
113
|
-
"@oclif/plugin-autocomplete": "2.1.
|
|
113
|
+
"@oclif/core": "2.5.1",
|
|
114
|
+
"@oclif/plugin-autocomplete": "2.1.4",
|
|
114
115
|
"@oclif/plugin-commands": "2.2.10",
|
|
115
|
-
"@oclif/plugin-help": "5.2.
|
|
116
|
+
"@oclif/plugin-help": "5.2.7",
|
|
116
117
|
"@oclif/plugin-not-found": "2.3.21",
|
|
117
118
|
"@oclif/plugin-plugins": "2.3.2",
|
|
118
|
-
"@oclif/plugin-search": "0.0.
|
|
119
|
+
"@oclif/plugin-search": "0.0.14",
|
|
119
120
|
"@oclif/plugin-update": "3.1.6",
|
|
120
121
|
"@oclif/plugin-version": "1.2.1",
|
|
121
|
-
"@oclif/plugin-warn-if-update-available": "2.0.
|
|
122
|
+
"@oclif/plugin-warn-if-update-available": "2.0.30",
|
|
122
123
|
"@oclif/plugin-which": "2.2.16",
|
|
123
|
-
"@salesforce/core": "3.33.
|
|
124
|
-
"@salesforce/plugin-apex": "2.2.
|
|
125
|
-
"@salesforce/plugin-auth": "2.7.
|
|
126
|
-
"@salesforce/plugin-data": "2.3.
|
|
124
|
+
"@salesforce/core": "3.33.6",
|
|
125
|
+
"@salesforce/plugin-apex": "2.2.2",
|
|
126
|
+
"@salesforce/plugin-auth": "2.7.7",
|
|
127
|
+
"@salesforce/plugin-data": "2.3.6",
|
|
127
128
|
"@salesforce/plugin-deploy-retrieve": "1.8.2",
|
|
128
|
-
"@salesforce/plugin-env": "2.1.
|
|
129
|
+
"@salesforce/plugin-env": "2.1.2",
|
|
129
130
|
"@salesforce/plugin-functions": "1.21.2",
|
|
130
|
-
"@salesforce/plugin-info": "2.
|
|
131
|
-
"@salesforce/plugin-limits": "2.3.
|
|
132
|
-
"@salesforce/plugin-login": "1.2.
|
|
133
|
-
"@salesforce/plugin-org": "2.4.
|
|
134
|
-
"@salesforce/plugin-schema": "2.3.
|
|
135
|
-
"@salesforce/plugin-settings": "1.4.
|
|
136
|
-
"@salesforce/plugin-sobject": "0.1.
|
|
137
|
-
"@salesforce/plugin-telemetry": "2.1.
|
|
131
|
+
"@salesforce/plugin-info": "2.5.1",
|
|
132
|
+
"@salesforce/plugin-limits": "2.3.8",
|
|
133
|
+
"@salesforce/plugin-login": "1.2.2",
|
|
134
|
+
"@salesforce/plugin-org": "2.4.6",
|
|
135
|
+
"@salesforce/plugin-schema": "2.3.3",
|
|
136
|
+
"@salesforce/plugin-settings": "1.4.2",
|
|
137
|
+
"@salesforce/plugin-sobject": "0.1.8",
|
|
138
|
+
"@salesforce/plugin-telemetry": "2.1.3",
|
|
138
139
|
"@salesforce/plugin-templates": "55.4.4",
|
|
139
140
|
"@salesforce/plugin-trust": "2.4.4",
|
|
140
|
-
"@salesforce/plugin-user": "2.3.
|
|
141
|
+
"@salesforce/plugin-user": "2.3.3",
|
|
141
142
|
"@salesforce/sf-plugins-core": "2.2.4",
|
|
142
143
|
"semver": "^7.3.8",
|
|
143
144
|
"tslib": "^2.4.1"
|
|
@@ -222,12 +223,12 @@
|
|
|
222
223
|
"@salesforce/ts-sinon": "^1.4.6",
|
|
223
224
|
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
|
224
225
|
"@typescript-eslint/parser": "^5.54.0",
|
|
225
|
-
"aws-sdk": "2.
|
|
226
|
+
"aws-sdk": "2.1329.0",
|
|
226
227
|
"chai": "^4.3.7",
|
|
227
228
|
"eslint": "^8.35.0",
|
|
228
229
|
"eslint-config-oclif": "^3.1",
|
|
229
230
|
"eslint-config-oclif-typescript": "^0.2.0",
|
|
230
|
-
"eslint-config-prettier": "^8.
|
|
231
|
+
"eslint-config-prettier": "^8.7.0",
|
|
231
232
|
"eslint-config-salesforce": "^1.1.1",
|
|
232
233
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
233
234
|
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
@@ -238,7 +239,7 @@
|
|
|
238
239
|
"husky": "^7.0.4",
|
|
239
240
|
"mocha": "^9.2.2",
|
|
240
241
|
"nyc": "^15.1.0",
|
|
241
|
-
"oclif": "^3.
|
|
242
|
+
"oclif": "^3.7.0",
|
|
242
243
|
"prettier": "^2.8.4",
|
|
243
244
|
"pretty-quick": "^3.1.3",
|
|
244
245
|
"sinon": "^11.1.2",
|