@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525$ sf COMMAND
2626running command...
2727$ sf (--version| -v)
28- @salesforce/cli/2.130.5 linux-x64 node-v22.22.1
28+ @salesforce/cli/2.130.6 linux-x64 node-v22.22.1
2929$ sf --help [COMMAND]
3030USAGE
3131 $ sf COMMAND
@@ -9773,7 +9773,7 @@ FLAG DESCRIPTIONS
97739773 directory.
97749774```
97759775
9776- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/analytics/template.ts ) _
9776+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/analytics/template.ts ) _
97779777
97789778## ` sf template generate apex class `
97799779
@@ -9833,7 +9833,7 @@ FLAG DESCRIPTIONS
98339833 Supplied parameter values or default values are filled into a copy of the template.
98349834```
98359835
9836- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/apex/class.ts ) _
9836+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/apex/class.ts ) _
98379837
98389838## ` sf template generate apex trigger `
98399839
@@ -9903,7 +9903,7 @@ FLAG DESCRIPTIONS
99039903 Supplied parameter values or default values are filled into a copy of the template.
99049904```
99059905
9906- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/apex/trigger.ts ) _
9906+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/apex/trigger.ts ) _
99079907
99089908## ` sf template generate digital-experience site `
99099909
@@ -9957,7 +9957,7 @@ FLAG DESCRIPTIONS
99579957 project, defaults to the current directory.
99589958```
99599959
9960- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/digital-experience/site.ts ) _
9960+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/digital-experience/site.ts ) _
99619961
99629962## ` sf template generate flexipage `
99639963
@@ -10039,7 +10039,7 @@ FLAG DESCRIPTIONS
1003910039 'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
1004010040```
1004110041
10042- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/flexipage/index.ts ) _
10042+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/flexipage/index.ts ) _
1004310043
1004410044## ` sf template generate lightning app `
1004510045
@@ -10095,7 +10095,7 @@ FLAG DESCRIPTIONS
1009510095 Supplied parameter values or default values are filled into a copy of the template.
1009610096```
1009710097
10098- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/lightning/app.ts ) _
10098+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/lightning/app.ts ) _
1009910099
1010010100## ` sf template generate lightning component `
1010110101
@@ -10165,7 +10165,7 @@ FLAG DESCRIPTIONS
1016510165 Supplied parameter values or default values are filled into a copy of the template.
1016610166```
1016710167
10168- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/lightning/component.ts ) _
10168+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/lightning/component.ts ) _
1016910169
1017010170## ` sf template generate lightning event `
1017110171
@@ -10221,7 +10221,7 @@ FLAG DESCRIPTIONS
1022110221 Supplied parameter values or default values are filled into a copy of the template.
1022210222```
1022310223
10224- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/lightning/event.ts ) _
10224+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/lightning/event.ts ) _
1022510225
1022610226## ` sf template generate lightning interface `
1022710227
@@ -10277,7 +10277,7 @@ FLAG DESCRIPTIONS
1027710277 Supplied parameter values or default values are filled into a copy of the template.
1027810278```
1027910279
10280- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/lightning/interface.ts ) _
10280+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/lightning/interface.ts ) _
1028110281
1028210282## ` sf template generate lightning test `
1028310283
@@ -10333,7 +10333,7 @@ FLAG DESCRIPTIONS
1033310333 Supplied parameter values or default values are filled into a copy of the template.
1033410334```
1033510335
10336- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/lightning/test.ts ) _
10336+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/lightning/test.ts ) _
1033710337
1033810338## ` sf template generate project `
1033910339
@@ -10446,7 +10446,7 @@ FLAG DESCRIPTIONS
1044610446 Override the api version used for api requests made by this command
1044710447```
1044810448
10449- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/project/index.ts ) _
10449+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/project/index.ts ) _
1045010450
1045110451## ` sf template generate static-resource `
1045210452
@@ -10509,22 +10509,22 @@ FLAG DESCRIPTIONS
1050910509 etc.
1051010510```
1051110511
10512- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/static-resource/index.ts ) _
10512+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/static-resource/index.ts ) _
1051310513
1051410514## ` sf template generate ui-bundle `
1051510515
10516- Generate a UI bundle.
10516+ Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce frameworks, such as React .
1051710517
1051810518```
1051910519USAGE
1052010520 $ sf template generate ui-bundle -n <value> [--json] [--flags-dir <value>] [-t default|reactbasic] [-l <value>] [-d <value>]
1052110521 [--api-version <value>]
1052210522
1052310523FLAGS
10524- -d, --output-dir=<value> Directory for saving the created files.
10524+ -d, --output-dir=<value> Directory into which the files are created .
1052510525 -l, --label=<value> Master label for the UI bundle.
10526- -n, --name=<value> (required) Name of the generated UI bundle.
10527- -t, --template=<option> [default: default] Template to use for file creation .
10526+ -n, --name=<value> (required) API name of the generated UI bundle.
10527+ -t, --template=<option> [default: default] Template to use when creating the files for a specific UI framework .
1052810528 <options: default|reactbasic>
1052910529 --api-version=<value> Override the api version used for api requests made by this command
1053010530
@@ -10533,12 +10533,20 @@ GLOBAL FLAGS
1053310533 --json Format output as json.
1053410534
1053510535DESCRIPTION
10536- Generate a UI bundle.
10536+ Generate a UI bundle, which contains the code and metadata to build a UI experience that uses non-native Salesforce
10537+ frameworks, such as React.
10538+
10539+ Salesforce provides native UI frameworks, such as Lighting Web Components (LWC), to build applications that run on the
10540+ Salesforce Platform. But you can also use non-native JavaScript- or TypeScript-based UI frameworks, such as React, to
10541+ build a UI experience for the Salesforce Platform and that you can launch from the App Launcher.
10542+
10543+ These non-native UI experiences are defined by the "UIBundle" metadata type in your DX project. Use this command to
10544+ generate the required DX project structure and files. For example, when you run this command and specify the name
10545+ MyUiBundle, then the files are generated into a "uiBundles/MyUiBundle" directory. Use the --output-dir flag to specify
10546+ a different directory.
1053710547
10538- Generates a UI bundle in the specified directory or the current working directory. The UI bundle files are created in
10539- a folder with the designated name. UI bundle files must be contained in a parent directory called "uiBundles" in your
10540- package directory. Either run this command from an existing directory of this name, or use the --output-dir flag to
10541- create one or point to an existing one.
10548+ Use the --template flag for generating the files to get started with a speciic UI framework, such as React. Check out
10549+ the README.md file in the generated "uiBundles/<bundlename>" directory for more information about the template.
1054210550
1054310551ALIASES
1054410552 $ sf ui-bundle generate
@@ -10552,42 +10560,43 @@ EXAMPLES
1055210560
1055310561 $ sf template generate ui-bundle --name MyReactApp --template reactbasic
1055410562
10555- Generate the UI bundle in the "force-app/main/default/uiBundles" directory:
10563+ Generate the React-based UI bundle in the "force-app/main/default/uiBundles" directory:
1055610564
10557- $ sf template generate ui-bundle --name MyUiBundle --output-dir force-app/main/default/uiBundles
10565+ $ sf template generate ui-bundle --name MyUiBundle --template reactbasic --output-dir \
10566+ force-app/main/default/uiBundles
1055810567
1055910568FLAG DESCRIPTIONS
10560- -d, --output-dir=<value> Directory for saving the created files.
10569+ -d, --output-dir=<value> Directory into which the files are created .
1056110570
1056210571 The location can be an absolute path or relative to the current working directory.
1056310572
10564- **Important:** The generator automatically ensures the output directory ends with "uiBundles". If your specified
10565- path doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
10573+ If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default
10574+ package directory. When running outside a Salesforce DX project, defaults to the current directory.
10575+
10576+ **Important:** This command automatically ensures the output directory ends with "uiBundles". If your specified path
10577+ doesn't end with "uiBundles", it's automatically appended. The UI bundle is created at "<output-dir>/<name>".
1056610578
1056710579 **Examples:**
1056810580
1056910581 - "--output-dir force-app/main/default" → Creates a UI bundle at "force-app/main/default/uiBundles/MyUiBundle/"
1057010582 - "--output-dir force-app/main/default/uiBundles" → Creates a UI bundle at
1057110583 "force-app/main/default/uiBundles/MyUiBundle/" (no change)
1057210584
10573- If not specified, the command reads your sfdx-project.json and defaults to "uiBundles" directory within your default
10574- package directory. When running outside a Salesforce DX project, defaults to the current directory.
10575-
1057610585 -l, --label=<value> Master label for the UI bundle.
1057710586
1057810587 If not specified, the label is derived from the name.
1057910588
10580- -n, --name=<value> Name of the generated UI bundle.
10589+ -n, --name=<value> API name of the generated UI bundle.
1058110590
1058210591 This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin
1058310592 with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
1058410593
10585- -t, --template=default|reactbasic Template to use for file creation .
10594+ -t, --template=default|reactbasic Template to use when creating the files for a specific UI framework .
1058610595
1058710596 Supplied parameter values or default values are filled into a copy of the template.
1058810597```
1058910598
10590- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/ui-bundle/index.ts ) _
10599+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/ui-bundle/index.ts ) _
1059110600
1059210601## ` sf template generate visualforce component `
1059310602
@@ -10644,7 +10653,7 @@ FLAG DESCRIPTIONS
1064410653 Supplied parameter values or default values are filled into a copy of the template.
1064510654```
1064610655
10647- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/visualforce/component.ts ) _
10656+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/visualforce/component.ts ) _
1064810657
1064910658## ` sf template generate visualforce page `
1065010659
@@ -10695,7 +10704,7 @@ FLAG DESCRIPTIONS
1069510704 The name can be up to 40 characters and must start with a letter.
1069610705```
1069710706
10698- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.1 /src/commands/template/generate/visualforce/page.ts ) _
10707+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.13.3 /src/commands/template/generate/visualforce/page.ts ) _
1069910708
1070010709## ` sf update [CHANNEL] `
1070110710
0 commit comments