@salesforce/plugin-templates 56.13.1 → 56.13.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 CHANGED
@@ -177,7 +177,7 @@ FLAG DESCRIPTIONS
177
177
  directory.
178
178
  ```
179
179
 
180
- _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/analytics/template.ts)_
180
+ _See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/analytics/template.ts)_
181
181
 
182
182
  ## `sf template generate apex class`
183
183
 
@@ -237,7 +237,7 @@ FLAG DESCRIPTIONS
237
237
  Supplied parameter values or default values are filled into a copy of the template.
238
238
  ```
239
239
 
240
- _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/apex/class.ts)_
240
+ _See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/apex/class.ts)_
241
241
 
242
242
  ## `sf template generate apex trigger`
243
243
 
@@ -307,7 +307,7 @@ FLAG DESCRIPTIONS
307
307
  Supplied parameter values or default values are filled into a copy of the template.
308
308
  ```
309
309
 
310
- _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/apex/trigger.ts)_
310
+ _See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/apex/trigger.ts)_
311
311
 
312
312
  ## `sf template generate digital-experience site`
313
313
 
@@ -361,7 +361,7 @@ FLAG DESCRIPTIONS
361
361
  project, defaults to the current directory.
362
362
  ```
363
363
 
364
- _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/digital-experience/site.ts)_
364
+ _See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/digital-experience/site.ts)_
365
365
 
366
366
  ## `sf template generate flexipage`
367
367
 
@@ -443,7 +443,7 @@ FLAG DESCRIPTIONS
443
443
  'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
444
444
  ```
445
445
 
446
- _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/flexipage/index.ts)_
446
+ _See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/flexipage/index.ts)_
447
447
 
448
448
  ## `sf template generate lightning app`
449
449
 
@@ -499,7 +499,7 @@ FLAG DESCRIPTIONS
499
499
  Supplied parameter values or default values are filled into a copy of the template.
500
500
  ```
501
501
 
502
- _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/app.ts)_
502
+ _See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/app.ts)_
503
503
 
504
504
  ## `sf template generate lightning component`
505
505
 
@@ -569,7 +569,7 @@ FLAG DESCRIPTIONS
569
569
  Supplied parameter values or default values are filled into a copy of the template.
570
570
  ```
571
571
 
572
- _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/component.ts)_
572
+ _See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/component.ts)_
573
573
 
574
574
  ## `sf template generate lightning event`
575
575
 
@@ -625,7 +625,7 @@ FLAG DESCRIPTIONS
625
625
  Supplied parameter values or default values are filled into a copy of the template.
626
626
  ```
627
627
 
628
- _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/event.ts)_
628
+ _See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/event.ts)_
629
629
 
630
630
  ## `sf template generate lightning interface`
631
631
 
@@ -681,7 +681,7 @@ FLAG DESCRIPTIONS
681
681
  Supplied parameter values or default values are filled into a copy of the template.
682
682
  ```
683
683
 
684
- _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/interface.ts)_
684
+ _See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/interface.ts)_
685
685
 
686
686
  ## `sf template generate lightning test`
687
687
 
@@ -737,7 +737,7 @@ FLAG DESCRIPTIONS
737
737
  Supplied parameter values or default values are filled into a copy of the template.
738
738
  ```
739
739
 
740
- _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/lightning/test.ts)_
740
+ _See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/lightning/test.ts)_
741
741
 
742
742
  ## `sf template generate project`
743
743
 
@@ -850,7 +850,7 @@ FLAG DESCRIPTIONS
850
850
  Override the api version used for api requests made by this command
851
851
  ```
852
852
 
853
- _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/project/index.ts)_
853
+ _See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/project/index.ts)_
854
854
 
855
855
  ## `sf template generate static-resource`
856
856
 
@@ -913,11 +913,11 @@ FLAG DESCRIPTIONS
913
913
  etc.
914
914
  ```
915
915
 
916
- _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/static-resource/index.ts)_
916
+ _See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/static-resource/index.ts)_
917
917
 
918
918
  ## `sf template generate ui-bundle`
919
919
 
920
- Generate a UI bundle.
920
+ Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React.
921
921
 
922
922
  ```
923
923
  USAGE
@@ -925,10 +925,10 @@ USAGE
925
925
  [--api-version <value>]
926
926
 
927
927
  FLAGS
928
- -d, --output-dir=<value> Directory for saving the created files.
928
+ -d, --output-dir=<value> Directory into which the files are created.
929
929
  -l, --label=<value> Master label for the UI bundle.
930
- -n, --name=<value> (required) Name of the generated UI bundle.
931
- -t, --template=<option> [default: default] Template to use for file creation.
930
+ -n, --name=<value> (required) API name of the generated UI bundle.
931
+ -t, --template=<option> [default: default] Template to use when creating the files for a specific UI framework.
932
932
  <options: default|reactbasic>
933
933
  --api-version=<value> Override the api version used for api requests made by this command
934
934
 
@@ -937,12 +937,20 @@ GLOBAL FLAGS
937
937
  --json Format output as json.
938
938
 
939
939
  DESCRIPTION
940
- Generate a UI bundle.
940
+ Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce
941
+ frameworks, such as React.
942
+
943
+ Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the
944
+ Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to
945
+ build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.
946
+
947
+ These non-native UI experiences are defined by the "UIBundle" metadata type in your DX project. Use this command to
948
+ generate the required DX project structure and files. For example, when you run this command and specify the name
949
+ MyUiBundle, then the files are generated into a "uiBundles/MyUiBundle" directory. Use the --output-dir flag to specify
950
+ a different directory.
941
951
 
942
- Generates a UI bundle in the specified directory or the current working directory. The UI bundle files are created in
943
- a folder with the designated name. UI bundle files must be contained in a parent directory called "uiBundles" in your
944
- package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to
945
- create one or point to an existing one.
952
+ Use the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out
953
+ the README.md file in the generated "uiBundles/<bundlename>" directory for more information about the template.
946
954
 
947
955
  ALIASES
948
956
  $ sf ui-bundle generate
@@ -956,17 +964,21 @@ EXAMPLES
956
964
 
957
965
  $ sf template generate ui-bundle --name MyReactApp --template reactbasic
958
966
 
959
- Generate the UI bundle in the "force-app/main/default/uiBundles" directory:
967
+ Generate the React-based UI bundle in the "force-app/main/default/uiBundles" directory:
960
968
 
961
- $ sf template generate ui-bundle --name MyUiBundle --output-dir force-app/main/default/uiBundles
969
+ $ sf template generate ui-bundle --name MyUiBundle --template reactbasic --output-dir \
970
+ force-app/main/default/uiBundles
962
971
 
963
972
  FLAG DESCRIPTIONS
964
- -d, --output-dir=<value> Directory for saving the created files.
973
+ -d, --output-dir=<value> Directory into which the files are created.
965
974
 
966
975
  The location can be an absolute path or relative to the current working directory.
967
976
 
968
- **Important:** The generator automatically ensures the output directory ends with "uiBundles". If your specified
969
- path doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
977
+ If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default
978
+ package directory. When running outside a Salesforce DX project, defaults to the current directory.
979
+
980
+ **Important:** This command automatically ensures the output directory ends with "uiBundles". If your specified path
981
+ doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
970
982
 
971
983
  **Examples:**
972
984
 
@@ -974,24 +986,21 @@ FLAG DESCRIPTIONS
974
986
  - "--output-dir force-app/main/default/uiBundles" → Creates a UI bundle at
975
987
  "force-app/main/default/uiBundles/MyUiBundle/" (no change)
976
988
 
977
- If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default
978
- package directory. When running outside a Salesforce DX project, defaults to the current directory.
979
-
980
989
  -l, --label=<value> Master label for the UI bundle.
981
990
 
982
991
  If not specified, the label is derived from the name.
983
992
 
984
- -n, --name=<value> Name of the generated UI bundle.
993
+ -n, --name=<value> API name of the generated UI bundle.
985
994
 
986
995
  This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin
987
996
  with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
988
997
 
989
- -t, --template=default|reactbasic Template to use for file creation.
998
+ -t, --template=default|reactbasic Template to use when creating the files for a specific UI framework.
990
999
 
991
1000
  Supplied parameter values or default values are filled into a copy of the template.
992
1001
  ```
993
1002
 
994
- _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/ui-bundle/index.ts)_
1003
+ _See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/ui-bundle/index.ts)_
995
1004
 
996
1005
  ## `sf template generate visualforce component`
997
1006
 
@@ -1048,7 +1057,7 @@ FLAG DESCRIPTIONS
1048
1057
  Supplied parameter values or default values are filled into a copy of the template.
1049
1058
  ```
1050
1059
 
1051
- _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/visualforce/component.ts)_
1060
+ _See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/visualforce/component.ts)_
1052
1061
 
1053
1062
  ## `sf template generate visualforce page`
1054
1063
 
@@ -1099,6 +1108,6 @@ FLAG DESCRIPTIONS
1099
1108
  The name can be up to 40 characters and must start with a letter.
1100
1109
  ```
1101
1110
 
1102
- _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.1/src/commands/template/generate/visualforce/page.ts)_
1111
+ _See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.3/src/commands/template/generate/visualforce/page.ts)_
1103
1112
 
1104
1113
  <!-- commandsstop -->
@@ -1,10 +1,14 @@
1
1
  # summary
2
2
 
3
- Generate a UI bundle.
3
+ Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React.
4
4
 
5
5
  # description
6
6
 
7
- Generates a UI bundle in the specified directory or the current working directory. The UI bundle files are created in a folder with the designated name. UI bundle files must be contained in a parent directory called "uiBundles" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.
7
+ Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.
8
+
9
+ These non-native UI experiences are defined by the "UIBundle" metadata type in your DX project. Use this command to generate the required DX project structure and files. For example, when you run this command and specify the name MyUiBundle, then the files are generated into a "uiBundles/MyUiBundle" directory. Use the --output-dir flag to specify a different directory.
10
+
11
+ Use the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out the README.md file in the generated "uiBundles/<bundlename>" directory for more information about the template.
8
12
 
9
13
  # examples
10
14
 
@@ -16,13 +20,13 @@ Generates a UI bundle in the specified directory or the current working director
16
20
 
17
21
  <%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic
18
22
 
19
- - Generate the UI bundle in the "force-app/main/default/uiBundles" directory:
23
+ - Generate the React-based UI bundle in the "force-app/main/default/uiBundles" directory:
20
24
 
21
- <%= config.bin %> <%= command.id %> --name MyUiBundle --output-dir force-app/main/default/uiBundles
25
+ <%= config.bin %> <%= command.id %> --name MyUiBundle --template reactbasic --output-dir force-app/main/default/uiBundles
22
26
 
23
27
  # flags.name.summary
24
28
 
25
- Name of the generated UI bundle.
29
+ API name of the generated UI bundle.
26
30
 
27
31
  # flags.name.description
28
32
 
@@ -30,7 +34,7 @@ This name can contain only underscores and alphanumeric characters, and must be
30
34
 
31
35
  # flags.template.summary
32
36
 
33
- Template to use for file creation.
37
+ Template to use when creating the files for a specific UI framework.
34
38
 
35
39
  # flags.template.description
36
40
 
@@ -46,17 +50,17 @@ If not specified, the label is derived from the name.
46
50
 
47
51
  # flags.output-dir.summary
48
52
 
49
- Directory for saving the created files.
53
+ Directory into which the files are created.
50
54
 
51
55
  # flags.output-dir.description
52
56
 
53
57
  The location can be an absolute path or relative to the current working directory.
54
58
 
55
- **Important:** The generator automatically ensures the output directory ends with "uiBundles". If your specified path doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
59
+ If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.
60
+
61
+ **Important:** This command automatically ensures the output directory ends with "uiBundles". If your specified path doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
56
62
 
57
63
  **Examples:**
58
64
 
59
65
  - "--output-dir force-app/main/default" → Creates a UI bundle at "force-app/main/default/uiBundles/MyUiBundle/"
60
66
  - "--output-dir force-app/main/default/uiBundles" → Creates a UI bundle at "force-app/main/default/uiBundles/MyUiBundle/" (no change)
61
-
62
- If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.
@@ -1,5 +1,286 @@
1
1
  {
2
2
  "commands": {
3
+ "template:generate:analytics:template": {
4
+ "aliases": [
5
+ "force:analytics:template:create",
6
+ "analytics:generate:template"
7
+ ],
8
+ "args": {},
9
+ "deprecateAliases": true,
10
+ "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
11
+ "examples": [
12
+ "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
13
+ ],
14
+ "flags": {
15
+ "json": {
16
+ "description": "Format output as json.",
17
+ "helpGroup": "GLOBAL",
18
+ "name": "json",
19
+ "allowNo": false,
20
+ "type": "boolean"
21
+ },
22
+ "flags-dir": {
23
+ "helpGroup": "GLOBAL",
24
+ "name": "flags-dir",
25
+ "summary": "Import flag values from a directory.",
26
+ "hasDynamicHelp": false,
27
+ "multiple": false,
28
+ "type": "option"
29
+ },
30
+ "output-dir": {
31
+ "aliases": [
32
+ "outputdir"
33
+ ],
34
+ "char": "d",
35
+ "deprecateAliases": true,
36
+ "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
37
+ "name": "output-dir",
38
+ "summary": "Directory for saving the created files.",
39
+ "default": ".",
40
+ "hasDynamicHelp": false,
41
+ "multiple": false,
42
+ "type": "option"
43
+ },
44
+ "api-version": {
45
+ "aliases": [
46
+ "apiversion"
47
+ ],
48
+ "deprecateAliases": true,
49
+ "description": "Override the api version used for api requests made by this command",
50
+ "name": "api-version",
51
+ "hasDynamicHelp": false,
52
+ "multiple": false,
53
+ "type": "option"
54
+ },
55
+ "name": {
56
+ "aliases": [
57
+ "templatename"
58
+ ],
59
+ "char": "n",
60
+ "deprecateAliases": true,
61
+ "name": "name",
62
+ "required": true,
63
+ "summary": "Name of the Analytics template.",
64
+ "hasDynamicHelp": false,
65
+ "multiple": false,
66
+ "type": "option"
67
+ },
68
+ "loglevel": {
69
+ "deprecated": {
70
+ "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."
71
+ },
72
+ "hidden": true,
73
+ "name": "loglevel",
74
+ "hasDynamicHelp": false,
75
+ "multiple": false,
76
+ "type": "option"
77
+ }
78
+ },
79
+ "hasDynamicHelp": false,
80
+ "hiddenAliases": [],
81
+ "id": "template:generate:analytics:template",
82
+ "pluginAlias": "@salesforce/plugin-templates",
83
+ "pluginName": "@salesforce/plugin-templates",
84
+ "pluginType": "core",
85
+ "strict": true,
86
+ "summary": "Generate a simple Analytics template.",
87
+ "enableJsonFlag": true,
88
+ "isESM": true,
89
+ "relativePath": [
90
+ "lib",
91
+ "commands",
92
+ "template",
93
+ "generate",
94
+ "analytics",
95
+ "template.js"
96
+ ],
97
+ "aliasPermutations": [
98
+ "force:analytics:template:create",
99
+ "analytics:force:template:create",
100
+ "analytics:template:force:create",
101
+ "analytics:template:create:force",
102
+ "force:template:analytics:create",
103
+ "template:force:analytics:create",
104
+ "template:analytics:force:create",
105
+ "template:analytics:create:force",
106
+ "force:template:create:analytics",
107
+ "template:force:create:analytics",
108
+ "template:create:force:analytics",
109
+ "template:create:analytics:force",
110
+ "force:analytics:create:template",
111
+ "analytics:force:create:template",
112
+ "analytics:create:force:template",
113
+ "analytics:create:template:force",
114
+ "force:create:analytics:template",
115
+ "create:force:analytics:template",
116
+ "create:analytics:force:template",
117
+ "create:analytics:template:force",
118
+ "force:create:template:analytics",
119
+ "create:force:template:analytics",
120
+ "create:template:force:analytics",
121
+ "create:template:analytics:force",
122
+ "analytics:generate:template",
123
+ "generate:analytics:template",
124
+ "generate:template:analytics",
125
+ "analytics:template:generate",
126
+ "template:analytics:generate",
127
+ "template:generate:analytics"
128
+ ],
129
+ "permutations": [
130
+ "template:generate:analytics:template",
131
+ "generate:template:analytics:template",
132
+ "generate:analytics:template:template",
133
+ "generate:analytics:template:template",
134
+ "template:analytics:generate:template",
135
+ "analytics:template:generate:template",
136
+ "analytics:generate:template:template",
137
+ "analytics:generate:template:template",
138
+ "template:analytics:template:generate",
139
+ "analytics:template:template:generate",
140
+ "analytics:template:template:generate",
141
+ "analytics:template:generate:template",
142
+ "template:generate:template:analytics",
143
+ "generate:template:template:analytics",
144
+ "generate:template:template:analytics",
145
+ "generate:template:analytics:template",
146
+ "template:template:generate:analytics",
147
+ "template:template:generate:analytics",
148
+ "template:generate:template:analytics",
149
+ "template:generate:analytics:template",
150
+ "template:template:analytics:generate",
151
+ "template:template:analytics:generate",
152
+ "template:analytics:template:generate",
153
+ "template:analytics:generate:template"
154
+ ]
155
+ },
156
+ "template:generate:digital-experience:site": {
157
+ "aliases": [],
158
+ "args": {},
159
+ "description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
160
+ "examples": [
161
+ "Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
162
+ "Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
163
+ ],
164
+ "flags": {
165
+ "json": {
166
+ "description": "Format output as json.",
167
+ "helpGroup": "GLOBAL",
168
+ "name": "json",
169
+ "allowNo": false,
170
+ "type": "boolean"
171
+ },
172
+ "flags-dir": {
173
+ "helpGroup": "GLOBAL",
174
+ "name": "flags-dir",
175
+ "summary": "Import flag values from a directory.",
176
+ "hasDynamicHelp": false,
177
+ "multiple": false,
178
+ "type": "option"
179
+ },
180
+ "target-org": {
181
+ "char": "o",
182
+ "name": "target-org",
183
+ "noCacheDefault": true,
184
+ "summary": "Username or alias of the target org.",
185
+ "hasDynamicHelp": true,
186
+ "multiple": false,
187
+ "type": "option"
188
+ },
189
+ "name": {
190
+ "char": "n",
191
+ "name": "name",
192
+ "required": true,
193
+ "summary": "Name of the Experience Cloud site to generate.",
194
+ "hasDynamicHelp": false,
195
+ "multiple": false,
196
+ "type": "option"
197
+ },
198
+ "template-name": {
199
+ "char": "t",
200
+ "name": "template-name",
201
+ "required": true,
202
+ "summary": "Template to use when generating the site.",
203
+ "hasDynamicHelp": false,
204
+ "multiple": false,
205
+ "options": [
206
+ "Build Your Own (LWR)"
207
+ ],
208
+ "type": "option"
209
+ },
210
+ "url-path-prefix": {
211
+ "char": "p",
212
+ "name": "url-path-prefix",
213
+ "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
214
+ "default": "",
215
+ "hasDynamicHelp": false,
216
+ "multiple": false,
217
+ "type": "option"
218
+ },
219
+ "admin-email": {
220
+ "char": "e",
221
+ "name": "admin-email",
222
+ "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
223
+ "hasDynamicHelp": false,
224
+ "multiple": false,
225
+ "type": "option"
226
+ },
227
+ "output-dir": {
228
+ "char": "d",
229
+ "description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
230
+ "name": "output-dir",
231
+ "summary": "Directory to generate the site files in.",
232
+ "hasDynamicHelp": false,
233
+ "multiple": false,
234
+ "type": "option"
235
+ }
236
+ },
237
+ "hasDynamicHelp": true,
238
+ "hiddenAliases": [],
239
+ "id": "template:generate:digital-experience:site",
240
+ "pluginAlias": "@salesforce/plugin-templates",
241
+ "pluginName": "@salesforce/plugin-templates",
242
+ "pluginType": "core",
243
+ "state": "preview",
244
+ "strict": true,
245
+ "summary": "Generate an Experience Cloud site.",
246
+ "enableJsonFlag": true,
247
+ "isESM": true,
248
+ "relativePath": [
249
+ "lib",
250
+ "commands",
251
+ "template",
252
+ "generate",
253
+ "digital-experience",
254
+ "site.js"
255
+ ],
256
+ "aliasPermutations": [],
257
+ "permutations": [
258
+ "template:generate:digital-experience:site",
259
+ "generate:template:digital-experience:site",
260
+ "generate:digital-experience:template:site",
261
+ "generate:digital-experience:site:template",
262
+ "template:digital-experience:generate:site",
263
+ "digital-experience:template:generate:site",
264
+ "digital-experience:generate:template:site",
265
+ "digital-experience:generate:site:template",
266
+ "template:digital-experience:site:generate",
267
+ "digital-experience:template:site:generate",
268
+ "digital-experience:site:template:generate",
269
+ "digital-experience:site:generate:template",
270
+ "template:generate:site:digital-experience",
271
+ "generate:template:site:digital-experience",
272
+ "generate:site:template:digital-experience",
273
+ "generate:site:digital-experience:template",
274
+ "template:site:generate:digital-experience",
275
+ "site:template:generate:digital-experience",
276
+ "site:generate:template:digital-experience",
277
+ "site:generate:digital-experience:template",
278
+ "template:site:digital-experience:generate",
279
+ "site:template:digital-experience:generate",
280
+ "site:digital-experience:template:generate",
281
+ "site:digital-experience:generate:template"
282
+ ]
283
+ },
3
284
  "template:generate:apex:class": {
4
285
  "aliases": [
5
286
  "force:apex:class:create",
@@ -284,187 +565,28 @@
284
565
  "after update",
285
566
  "after delete",
286
567
  "after undelete"
287
- ],
288
- "type": "option"
289
- },
290
- "loglevel": {
291
- "deprecated": {
292
- "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."
293
- },
294
- "hidden": true,
295
- "name": "loglevel",
296
- "hasDynamicHelp": false,
297
- "multiple": false,
298
- "type": "option"
299
- }
300
- },
301
- "hasDynamicHelp": false,
302
- "hiddenAliases": [],
303
- "id": "template:generate:apex:trigger",
304
- "pluginAlias": "@salesforce/plugin-templates",
305
- "pluginName": "@salesforce/plugin-templates",
306
- "pluginType": "core",
307
- "strict": true,
308
- "summary": "Generate an Apex trigger.",
309
- "enableJsonFlag": true,
310
- "isESM": true,
311
- "relativePath": [
312
- "lib",
313
- "commands",
314
- "template",
315
- "generate",
316
- "apex",
317
- "trigger.js"
318
- ],
319
- "aliasPermutations": [
320
- "force:apex:trigger:create",
321
- "apex:force:trigger:create",
322
- "apex:trigger:force:create",
323
- "apex:trigger:create:force",
324
- "force:trigger:apex:create",
325
- "trigger:force:apex:create",
326
- "trigger:apex:force:create",
327
- "trigger:apex:create:force",
328
- "force:trigger:create:apex",
329
- "trigger:force:create:apex",
330
- "trigger:create:force:apex",
331
- "trigger:create:apex:force",
332
- "force:apex:create:trigger",
333
- "apex:force:create:trigger",
334
- "apex:create:force:trigger",
335
- "apex:create:trigger:force",
336
- "force:create:apex:trigger",
337
- "create:force:apex:trigger",
338
- "create:apex:force:trigger",
339
- "create:apex:trigger:force",
340
- "force:create:trigger:apex",
341
- "create:force:trigger:apex",
342
- "create:trigger:force:apex",
343
- "create:trigger:apex:force",
344
- "apex:generate:trigger",
345
- "generate:apex:trigger",
346
- "generate:trigger:apex",
347
- "apex:trigger:generate",
348
- "trigger:apex:generate",
349
- "trigger:generate:apex"
350
- ],
351
- "permutations": [
352
- "template:generate:apex:trigger",
353
- "generate:template:apex:trigger",
354
- "generate:apex:template:trigger",
355
- "generate:apex:trigger:template",
356
- "template:apex:generate:trigger",
357
- "apex:template:generate:trigger",
358
- "apex:generate:template:trigger",
359
- "apex:generate:trigger:template",
360
- "template:apex:trigger:generate",
361
- "apex:template:trigger:generate",
362
- "apex:trigger:template:generate",
363
- "apex:trigger:generate:template",
364
- "template:generate:trigger:apex",
365
- "generate:template:trigger:apex",
366
- "generate:trigger:template:apex",
367
- "generate:trigger:apex:template",
368
- "template:trigger:generate:apex",
369
- "trigger:template:generate:apex",
370
- "trigger:generate:template:apex",
371
- "trigger:generate:apex:template",
372
- "template:trigger:apex:generate",
373
- "trigger:template:apex:generate",
374
- "trigger:apex:template:generate",
375
- "trigger:apex:generate:template"
376
- ]
377
- },
378
- "template:generate:digital-experience:site": {
379
- "aliases": [],
380
- "args": {},
381
- "description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
382
- "examples": [
383
- "Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
384
- "Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
385
- ],
386
- "flags": {
387
- "json": {
388
- "description": "Format output as json.",
389
- "helpGroup": "GLOBAL",
390
- "name": "json",
391
- "allowNo": false,
392
- "type": "boolean"
393
- },
394
- "flags-dir": {
395
- "helpGroup": "GLOBAL",
396
- "name": "flags-dir",
397
- "summary": "Import flag values from a directory.",
398
- "hasDynamicHelp": false,
399
- "multiple": false,
400
- "type": "option"
401
- },
402
- "target-org": {
403
- "char": "o",
404
- "name": "target-org",
405
- "noCacheDefault": true,
406
- "summary": "Username or alias of the target org.",
407
- "hasDynamicHelp": true,
408
- "multiple": false,
409
- "type": "option"
410
- },
411
- "name": {
412
- "char": "n",
413
- "name": "name",
414
- "required": true,
415
- "summary": "Name of the Experience Cloud site to generate.",
416
- "hasDynamicHelp": false,
417
- "multiple": false,
418
- "type": "option"
419
- },
420
- "template-name": {
421
- "char": "t",
422
- "name": "template-name",
423
- "required": true,
424
- "summary": "Template to use when generating the site.",
425
- "hasDynamicHelp": false,
426
- "multiple": false,
427
- "options": [
428
- "Build Your Own (LWR)"
429
- ],
430
- "type": "option"
431
- },
432
- "url-path-prefix": {
433
- "char": "p",
434
- "name": "url-path-prefix",
435
- "summary": "URL path prefix for the site; must contain only alphanumeric characters.",
436
- "default": "",
437
- "hasDynamicHelp": false,
438
- "multiple": false,
439
- "type": "option"
440
- },
441
- "admin-email": {
442
- "char": "e",
443
- "name": "admin-email",
444
- "summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
445
- "hasDynamicHelp": false,
446
- "multiple": false,
447
- "type": "option"
448
- },
449
- "output-dir": {
450
- "char": "d",
451
- "description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
452
- "name": "output-dir",
453
- "summary": "Directory to generate the site files in.",
568
+ ],
569
+ "type": "option"
570
+ },
571
+ "loglevel": {
572
+ "deprecated": {
573
+ "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."
574
+ },
575
+ "hidden": true,
576
+ "name": "loglevel",
454
577
  "hasDynamicHelp": false,
455
578
  "multiple": false,
456
579
  "type": "option"
457
580
  }
458
581
  },
459
- "hasDynamicHelp": true,
582
+ "hasDynamicHelp": false,
460
583
  "hiddenAliases": [],
461
- "id": "template:generate:digital-experience:site",
584
+ "id": "template:generate:apex:trigger",
462
585
  "pluginAlias": "@salesforce/plugin-templates",
463
586
  "pluginName": "@salesforce/plugin-templates",
464
587
  "pluginType": "core",
465
- "state": "preview",
466
588
  "strict": true,
467
- "summary": "Generate an Experience Cloud site.",
589
+ "summary": "Generate an Apex trigger.",
468
590
  "enableJsonFlag": true,
469
591
  "isESM": true,
470
592
  "relativePath": [
@@ -472,35 +594,66 @@
472
594
  "commands",
473
595
  "template",
474
596
  "generate",
475
- "digital-experience",
476
- "site.js"
597
+ "apex",
598
+ "trigger.js"
599
+ ],
600
+ "aliasPermutations": [
601
+ "force:apex:trigger:create",
602
+ "apex:force:trigger:create",
603
+ "apex:trigger:force:create",
604
+ "apex:trigger:create:force",
605
+ "force:trigger:apex:create",
606
+ "trigger:force:apex:create",
607
+ "trigger:apex:force:create",
608
+ "trigger:apex:create:force",
609
+ "force:trigger:create:apex",
610
+ "trigger:force:create:apex",
611
+ "trigger:create:force:apex",
612
+ "trigger:create:apex:force",
613
+ "force:apex:create:trigger",
614
+ "apex:force:create:trigger",
615
+ "apex:create:force:trigger",
616
+ "apex:create:trigger:force",
617
+ "force:create:apex:trigger",
618
+ "create:force:apex:trigger",
619
+ "create:apex:force:trigger",
620
+ "create:apex:trigger:force",
621
+ "force:create:trigger:apex",
622
+ "create:force:trigger:apex",
623
+ "create:trigger:force:apex",
624
+ "create:trigger:apex:force",
625
+ "apex:generate:trigger",
626
+ "generate:apex:trigger",
627
+ "generate:trigger:apex",
628
+ "apex:trigger:generate",
629
+ "trigger:apex:generate",
630
+ "trigger:generate:apex"
477
631
  ],
478
- "aliasPermutations": [],
479
632
  "permutations": [
480
- "template:generate:digital-experience:site",
481
- "generate:template:digital-experience:site",
482
- "generate:digital-experience:template:site",
483
- "generate:digital-experience:site:template",
484
- "template:digital-experience:generate:site",
485
- "digital-experience:template:generate:site",
486
- "digital-experience:generate:template:site",
487
- "digital-experience:generate:site:template",
488
- "template:digital-experience:site:generate",
489
- "digital-experience:template:site:generate",
490
- "digital-experience:site:template:generate",
491
- "digital-experience:site:generate:template",
492
- "template:generate:site:digital-experience",
493
- "generate:template:site:digital-experience",
494
- "generate:site:template:digital-experience",
495
- "generate:site:digital-experience:template",
496
- "template:site:generate:digital-experience",
497
- "site:template:generate:digital-experience",
498
- "site:generate:template:digital-experience",
499
- "site:generate:digital-experience:template",
500
- "template:site:digital-experience:generate",
501
- "site:template:digital-experience:generate",
502
- "site:digital-experience:template:generate",
503
- "site:digital-experience:generate:template"
633
+ "template:generate:apex:trigger",
634
+ "generate:template:apex:trigger",
635
+ "generate:apex:template:trigger",
636
+ "generate:apex:trigger:template",
637
+ "template:apex:generate:trigger",
638
+ "apex:template:generate:trigger",
639
+ "apex:generate:template:trigger",
640
+ "apex:generate:trigger:template",
641
+ "template:apex:trigger:generate",
642
+ "apex:template:trigger:generate",
643
+ "apex:trigger:template:generate",
644
+ "apex:trigger:generate:template",
645
+ "template:generate:trigger:apex",
646
+ "generate:template:trigger:apex",
647
+ "generate:trigger:template:apex",
648
+ "generate:trigger:apex:template",
649
+ "template:trigger:generate:apex",
650
+ "trigger:template:generate:apex",
651
+ "trigger:generate:template:apex",
652
+ "trigger:generate:apex:template",
653
+ "template:trigger:apex:generate",
654
+ "trigger:template:apex:generate",
655
+ "trigger:apex:template:generate",
656
+ "trigger:apex:generate:template"
504
657
  ]
505
658
  },
506
659
  "template:generate:flexipage": {
@@ -686,159 +839,6 @@
686
839
  "flexipage:generate:template"
687
840
  ]
688
841
  },
689
- "template:generate:analytics:template": {
690
- "aliases": [
691
- "force:analytics:template:create",
692
- "analytics:generate:template"
693
- ],
694
- "args": {},
695
- "deprecateAliases": true,
696
- "description": "The metadata files associated with the Analytics template must be contained in a parent directory called \"waveTemplates\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to generate one or point to an existing one.",
697
- "examples": [
698
- "Generate the metadata files for a simple Analytics template file called myTemplate in the force-app/main/default/waveTemplates directory:\n<%= config.bin %> <%= command.id %> --name myTemplate --output-dir force-app/main/default/waveTemplates"
699
- ],
700
- "flags": {
701
- "json": {
702
- "description": "Format output as json.",
703
- "helpGroup": "GLOBAL",
704
- "name": "json",
705
- "allowNo": false,
706
- "type": "boolean"
707
- },
708
- "flags-dir": {
709
- "helpGroup": "GLOBAL",
710
- "name": "flags-dir",
711
- "summary": "Import flag values from a directory.",
712
- "hasDynamicHelp": false,
713
- "multiple": false,
714
- "type": "option"
715
- },
716
- "output-dir": {
717
- "aliases": [
718
- "outputdir"
719
- ],
720
- "char": "d",
721
- "deprecateAliases": true,
722
- "description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
723
- "name": "output-dir",
724
- "summary": "Directory for saving the created files.",
725
- "default": ".",
726
- "hasDynamicHelp": false,
727
- "multiple": false,
728
- "type": "option"
729
- },
730
- "api-version": {
731
- "aliases": [
732
- "apiversion"
733
- ],
734
- "deprecateAliases": true,
735
- "description": "Override the api version used for api requests made by this command",
736
- "name": "api-version",
737
- "hasDynamicHelp": false,
738
- "multiple": false,
739
- "type": "option"
740
- },
741
- "name": {
742
- "aliases": [
743
- "templatename"
744
- ],
745
- "char": "n",
746
- "deprecateAliases": true,
747
- "name": "name",
748
- "required": true,
749
- "summary": "Name of the Analytics template.",
750
- "hasDynamicHelp": false,
751
- "multiple": false,
752
- "type": "option"
753
- },
754
- "loglevel": {
755
- "deprecated": {
756
- "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."
757
- },
758
- "hidden": true,
759
- "name": "loglevel",
760
- "hasDynamicHelp": false,
761
- "multiple": false,
762
- "type": "option"
763
- }
764
- },
765
- "hasDynamicHelp": false,
766
- "hiddenAliases": [],
767
- "id": "template:generate:analytics:template",
768
- "pluginAlias": "@salesforce/plugin-templates",
769
- "pluginName": "@salesforce/plugin-templates",
770
- "pluginType": "core",
771
- "strict": true,
772
- "summary": "Generate a simple Analytics template.",
773
- "enableJsonFlag": true,
774
- "isESM": true,
775
- "relativePath": [
776
- "lib",
777
- "commands",
778
- "template",
779
- "generate",
780
- "analytics",
781
- "template.js"
782
- ],
783
- "aliasPermutations": [
784
- "force:analytics:template:create",
785
- "analytics:force:template:create",
786
- "analytics:template:force:create",
787
- "analytics:template:create:force",
788
- "force:template:analytics:create",
789
- "template:force:analytics:create",
790
- "template:analytics:force:create",
791
- "template:analytics:create:force",
792
- "force:template:create:analytics",
793
- "template:force:create:analytics",
794
- "template:create:force:analytics",
795
- "template:create:analytics:force",
796
- "force:analytics:create:template",
797
- "analytics:force:create:template",
798
- "analytics:create:force:template",
799
- "analytics:create:template:force",
800
- "force:create:analytics:template",
801
- "create:force:analytics:template",
802
- "create:analytics:force:template",
803
- "create:analytics:template:force",
804
- "force:create:template:analytics",
805
- "create:force:template:analytics",
806
- "create:template:force:analytics",
807
- "create:template:analytics:force",
808
- "analytics:generate:template",
809
- "generate:analytics:template",
810
- "generate:template:analytics",
811
- "analytics:template:generate",
812
- "template:analytics:generate",
813
- "template:generate:analytics"
814
- ],
815
- "permutations": [
816
- "template:generate:analytics:template",
817
- "generate:template:analytics:template",
818
- "generate:analytics:template:template",
819
- "generate:analytics:template:template",
820
- "template:analytics:generate:template",
821
- "analytics:template:generate:template",
822
- "analytics:generate:template:template",
823
- "analytics:generate:template:template",
824
- "template:analytics:template:generate",
825
- "analytics:template:template:generate",
826
- "analytics:template:template:generate",
827
- "analytics:template:generate:template",
828
- "template:generate:template:analytics",
829
- "generate:template:template:analytics",
830
- "generate:template:template:analytics",
831
- "generate:template:analytics:template",
832
- "template:template:generate:analytics",
833
- "template:template:generate:analytics",
834
- "template:generate:template:analytics",
835
- "template:generate:analytics:template",
836
- "template:template:analytics:generate",
837
- "template:template:analytics:generate",
838
- "template:analytics:template:generate",
839
- "template:analytics:generate:template"
840
- ]
841
- },
842
842
  "template:generate:lightning:app": {
843
843
  "aliases": [
844
844
  "force:lightning:app:create",
@@ -2047,11 +2047,11 @@
2047
2047
  "ui-bundle:generate"
2048
2048
  ],
2049
2049
  "args": {},
2050
- "description": "Generates a UI bundle in the specified directory or the current working directory. The UI bundle files are created in a folder with the designated name. UI bundle files must be contained in a parent directory called \"uiBundles\" in your package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to create one or point to an existing one.",
2050
+ "description": "Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.\n\nThese non-native UI experiences are defined by the \"UIBundle\" metadata type in your DX project. Use this command to generate the required DX project structure and files. For example, when you run this command and specify the name MyUiBundle, then the files are generated into a \"uiBundles/MyUiBundle\" directory. Use the --output-dir flag to specify a different directory.\n\nUse the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out the README.md file in the generated \"uiBundles/<bundlename>\" directory for more information about the template.",
2051
2051
  "examples": [
2052
2052
  "Generate a UI bundle called MyUiBundle in the current directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle",
2053
2053
  "Generate a React-based UI bundle:\n<%= config.bin %> <%= command.id %> --name MyReactApp --template reactbasic",
2054
- "Generate the UI bundle in the \"force-app/main/default/uiBundles\" directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle --output-dir force-app/main/default/uiBundles"
2054
+ "Generate the React-based UI bundle in the \"force-app/main/default/uiBundles\" directory:\n<%= config.bin %> <%= command.id %> --name MyUiBundle --template reactbasic --output-dir force-app/main/default/uiBundles"
2055
2055
  ],
2056
2056
  "flags": {
2057
2057
  "json": {
@@ -2074,7 +2074,7 @@
2074
2074
  "description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
2075
2075
  "name": "name",
2076
2076
  "required": true,
2077
- "summary": "Name of the generated UI bundle.",
2077
+ "summary": "API name of the generated UI bundle.",
2078
2078
  "hasDynamicHelp": false,
2079
2079
  "multiple": false,
2080
2080
  "type": "option"
@@ -2083,7 +2083,7 @@
2083
2083
  "char": "t",
2084
2084
  "description": "Supplied parameter values or default values are filled into a copy of the template.",
2085
2085
  "name": "template",
2086
- "summary": "Template to use for file creation.",
2086
+ "summary": "Template to use when creating the files for a specific UI framework.",
2087
2087
  "default": "default",
2088
2088
  "hasDynamicHelp": false,
2089
2089
  "multiple": false,
@@ -2104,9 +2104,9 @@
2104
2104
  },
2105
2105
  "output-dir": {
2106
2106
  "char": "d",
2107
- "description": "The location can be an absolute path or relative to the current working directory.\n\n**Important:** The generator automatically ensures the output directory ends with \"uiBundles\". If your specified path doesn't end with \"uiBundles\", it's automatically appended. The UI bundle is created at \"<output-dir>/<name>\".\n\n**Examples:**\n\n- \"--output-dir force-app/main/default\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\"\n- \"--output-dir force-app/main/default/uiBundles\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\" (no change)\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"uiBundles\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
2107
+ "description": "The location can be an absolute path or relative to the current working directory.\n\nIf not specified, the command reads your sfdx-project.json and defaults to \"uiBundles\" directory within your default package directory. When running outside a Salesforce DX project, defaults to the current directory.\n\n**Important:** This command automatically ensures the output directory ends with \"uiBundles\". If your specified path doesn't end with \"uiBundles\", it's automatically appended. The UI bundle is created at \"<output-dir>/<name>\".\n\n**Examples:**\n\n- \"--output-dir force-app/main/default\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\"\n- \"--output-dir force-app/main/default/uiBundles\" → Creates a UI bundle at \"force-app/main/default/uiBundles/MyUiBundle/\" (no change)",
2108
2108
  "name": "output-dir",
2109
- "summary": "Directory for saving the created files.",
2109
+ "summary": "Directory into which the files are created.",
2110
2110
  "hasDynamicHelp": false,
2111
2111
  "multiple": false,
2112
2112
  "type": "option"
@@ -2126,7 +2126,7 @@
2126
2126
  "pluginName": "@salesforce/plugin-templates",
2127
2127
  "pluginType": "core",
2128
2128
  "strict": true,
2129
- "summary": "Generate a UI bundle.",
2129
+ "summary": "Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React.",
2130
2130
  "enableJsonFlag": true,
2131
2131
  "isESM": true,
2132
2132
  "relativePath": [
@@ -2506,5 +2506,5 @@
2506
2506
  ]
2507
2507
  }
2508
2508
  },
2509
- "version": "56.13.1"
2509
+ "version": "56.13.3"
2510
2510
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-templates",
3
3
  "description": "Commands to create metadata from a default or custom template",
4
- "version": "56.13.1",
4
+ "version": "56.13.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/salesforcecli/plugin-templates/issues",
7
7
  "enableO11y": true,
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "@salesforce/core": "^8.27.1",
11
11
  "@salesforce/sf-plugins-core": "^12",
12
- "@salesforce/templates": "^66.7.2"
12
+ "@salesforce/templates": "^66.7.4"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@oclif/plugin-command-snapshot": "^5.3.13",
@@ -252,7 +252,7 @@
252
252
  "exports": "./lib/index.js",
253
253
  "type": "module",
254
254
  "sfdx": {
255
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.1.crt",
256
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.1.sig"
255
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.3.crt",
256
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.3.sig"
257
257
  }
258
258
  }