@@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
2525$ sf COMMAND
2626running command...
2727$ sf (--version| -v)
28- @salesforce/cli/2.124.0 linux-x64 node-v22.22.0
28+ @salesforce/cli/2.124.1 linux-x64 node-v22.22.0
2929$ sf --help [COMMAND]
3030USAGE
3131 $ sf COMMAND
@@ -203,6 +203,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI.
203203- [ ` sf template generate apex class ` ] ( #sf-template-generate-apex-class )
204204- [ ` sf template generate apex trigger ` ] ( #sf-template-generate-apex-trigger )
205205- [ ` sf template generate digital-experience site ` ] ( #sf-template-generate-digital-experience-site )
206+ - [ ` sf template generate flexipage ` ] ( #sf-template-generate-flexipage )
206207- [ ` sf template generate lightning app ` ] ( #sf-template-generate-lightning-app )
207208- [ ` sf template generate lightning component ` ] ( #sf-template-generate-lightning-component )
208209- [ ` sf template generate lightning event ` ] ( #sf-template-generate-lightning-event )
@@ -1889,7 +1890,7 @@ EXAMPLES
18891890 $ sf api request graphql --body example.txt --stream-to-file output.txt --include
18901891```
18911892
1892- _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.9 /src/commands/api/request/graphql.ts ) _
1893+ _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.10 /src/commands/api/request/graphql.ts ) _
18931894
18941895## ` sf api request rest [URL] `
18951896
@@ -1998,7 +1999,7 @@ FLAG DESCRIPTIONS
19981999 https://github.com/salesforcecli/plugin-api/tree/main/test/test-files/data-project.
19992000```
20002001
2001- _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.9 /src/commands/api/request/rest.ts ) _
2002+ _ See code: [ @salesforce/plugin-api ] ( https://github.com/salesforcecli/plugin-api/blob/1.3.10 /src/commands/api/request/rest.ts ) _
20022003
20032004## ` sf autocomplete [SHELL] `
20042005
@@ -9661,7 +9662,7 @@ FLAG DESCRIPTIONS
96619662 directory.
96629663```
96639664
9664- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/analytics/template.ts ) _
9665+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/analytics/template.ts ) _
96659666
96669667## ` sf template generate apex class `
96679668
@@ -9721,7 +9722,7 @@ FLAG DESCRIPTIONS
97219722 Supplied parameter values or default values are filled into a copy of the template.
97229723```
97239724
9724- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/apex/class.ts ) _
9725+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/apex/class.ts ) _
97259726
97269727## ` sf template generate apex trigger `
97279728
@@ -9791,7 +9792,7 @@ FLAG DESCRIPTIONS
97919792 Supplied parameter values or default values are filled into a copy of the template.
97929793```
97939794
9794- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/apex/trigger.ts ) _
9795+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/apex/trigger.ts ) _
97959796
97969797## ` sf template generate digital-experience site `
97979798
@@ -9841,7 +9842,89 @@ FLAG DESCRIPTIONS
98419842 project, defaults to the current directory.
98429843```
98439844
9844- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1/src/commands/template/generate/digital-experience/site.ts ) _
9845+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/digital-experience/site.ts ) _
9846+
9847+ ## ` sf template generate flexipage `
9848+
9849+ Generate a FlexiPage, also known as a Lightning page.
9850+
9851+ ```
9852+ USAGE
9853+ $ sf template generate flexipage -n <value> -t RecordPage|AppPage|HomePage [--json] [--flags-dir <value>] [-d <value>]
9854+ [--api-version <value>] [--label <value>] [--description <value>] [-s <value>] [--primary-field <value>]
9855+ [--secondary-fields <value>...] [--detail-fields <value>...]
9856+
9857+ FLAGS
9858+ -d, --output-dir=<value> [default: .] Directory for saving the created files.
9859+ -n, --name=<value> (required) Name of the FlexiPage.
9860+ -s, --sobject=<value> API name of the Salesforce object; required when creating a RecordPage.
9861+ -t, --template=<option> (required) Template type for the FlexiPage.
9862+ <options: RecordPage|AppPage|HomePage>
9863+ --api-version=<value> Override the api version used for api requests made by this command
9864+ --description=<value> Description for the FlexiPage, which provides context about its purpose.
9865+ --detail-fields=<value>... Fields to display in the Details tab. Specify multiple fields separated by commas.
9866+ Fields are split into two columns. Used only with RecordPage.
9867+ --label=<value> Label of this FlexiPage; if not specified, uses the FlexiPage name as the label.
9868+ --primary-field=<value> Primary field for the dynamic highlights header; typically 'Name'. Used only with
9869+ RecordPage.
9870+ --secondary-fields=<value>... Secondary fields shown in the dynamic highlights header. Specify multiple fields
9871+ separated by commas. Maximum of 11 fields. Used only with RecordPage.
9872+
9873+ GLOBAL FLAGS
9874+ --flags-dir=<value> Import flag values from a directory.
9875+ --json Format output as json.
9876+
9877+ DESCRIPTION
9878+ Generate a FlexiPage, also known as a Lightning page.
9879+
9880+ FlexiPages are the metadata types associated with a Lightning page. A Lightning page represents a customizable screen
9881+ made up of regions containing Lightning components.
9882+
9883+ You can use this command to generate these types of FlexiPages; specify the type with the --template flag:
9884+
9885+ - AppPage: A Lightning page used as the home page for a custom app or a standalone application page.
9886+ - HomePage: A Lightning page used to override the Home page in Lightning Experience.
9887+ - RecordPage: A Lightning page used to override an object record page in Lightning Experience. Requires that you
9888+ specify the object name with the --sobject flag.
9889+
9890+ EXAMPLES
9891+ Generate a RecordPage FlexiPage for the Account object in the current directory:
9892+
9893+ $ sf template generate flexipage --name Account_Record_Page --template RecordPage --sobject Account
9894+
9895+ Generate an AppPage FlexiPage in the "force-app/main/default/flexipages" directory:
9896+
9897+ $ sf template generate flexipage --name Sales_Dashboard --template AppPage --output-dir \
9898+ force-app/main/default/flexipages
9899+
9900+ Generate a HomePage FlexiPage with a custom label:
9901+
9902+ $ sf template generate flexipage --name Custom_Home --template HomePage --label "Sales Home Page"
9903+
9904+ Generate a RecordPage with dynamic highlights and detail fields:
9905+
9906+ $ sf template generate flexipage --name Property_Page --template RecordPage --sobject Rental_Property__c \
9907+ --primary-field Name --secondary-fields Property_Address__c,City__c --detail-fields \
9908+ Name,Property_Address__c,City__c,Monthly_Rent__c,Bedrooms__c
9909+
9910+ FLAG DESCRIPTIONS
9911+ -d, --output-dir=<value> Directory for saving the created files.
9912+
9913+ The location can be an absolute path or relative to the current working directory. The default is the current
9914+ directory.
9915+
9916+ -n, --name=<value> Name of the FlexiPage.
9917+
9918+ The name can contain only alphanumeric characters, must start with a letter, and can't end with an underscore or
9919+ contain two consecutive underscores.
9920+
9921+ -s, --sobject=<value> API name of the Salesforce object; required when creating a RecordPage.
9922+
9923+ For RecordPage FlexiPages, you must specify the associated object API name, such as 'Account', 'Opportunity', or
9924+ 'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
9925+ ```
9926+
9927+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0/src/commands/template/generate/flexipage/index.ts ) _
98459928
98469929## ` sf template generate lightning app `
98479930
@@ -9897,7 +9980,7 @@ FLAG DESCRIPTIONS
98979980 Supplied parameter values or default values are filled into a copy of the template.
98989981```
98999982
9900- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/lightning/app.ts ) _
9983+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/lightning/app.ts ) _
99019984
99029985## ` sf template generate lightning component `
99039986
@@ -9967,7 +10050,7 @@ FLAG DESCRIPTIONS
996710050 Supplied parameter values or default values are filled into a copy of the template.
996810051```
996910052
9970- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/lightning/component.ts ) _
10053+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/lightning/component.ts ) _
997110054
997210055## ` sf template generate lightning event `
997310056
@@ -10023,7 +10106,7 @@ FLAG DESCRIPTIONS
1002310106 Supplied parameter values or default values are filled into a copy of the template.
1002410107```
1002510108
10026- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/lightning/event.ts ) _
10109+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/lightning/event.ts ) _
1002710110
1002810111## ` sf template generate lightning interface `
1002910112
@@ -10079,7 +10162,7 @@ FLAG DESCRIPTIONS
1007910162 Supplied parameter values or default values are filled into a copy of the template.
1008010163```
1008110164
10082- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/lightning/interface.ts ) _
10165+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/lightning/interface.ts ) _
1008310166
1008410167## ` sf template generate lightning test `
1008510168
@@ -10135,7 +10218,7 @@ FLAG DESCRIPTIONS
1013510218 Supplied parameter values or default values are filled into a copy of the template.
1013610219```
1013710220
10138- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/lightning/test.ts ) _
10221+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/lightning/test.ts ) _
1013910222
1014010223## ` sf template generate project `
1014110224
@@ -10241,7 +10324,7 @@ FLAG DESCRIPTIONS
1024110324 Override the api version used for api requests made by this command
1024210325```
1024310326
10244- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/project/index.ts ) _
10327+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/project/index.ts ) _
1024510328
1024610329## ` sf template generate static-resource `
1024710330
@@ -10304,7 +10387,7 @@ FLAG DESCRIPTIONS
1030410387 etc.
1030510388```
1030610389
10307- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/static-resource/index.ts ) _
10390+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/static-resource/index.ts ) _
1030810391
1030910392## ` sf template generate visualforce component `
1031010393
@@ -10361,7 +10444,7 @@ FLAG DESCRIPTIONS
1036110444 Supplied parameter values or default values are filled into a copy of the template.
1036210445```
1036310446
10364- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/visualforce/component.ts ) _
10447+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/visualforce/component.ts ) _
1036510448
1036610449## ` sf template generate visualforce page `
1036710450
@@ -10412,7 +10495,7 @@ FLAG DESCRIPTIONS
1041210495 The name can be up to 40 characters and must start with a letter.
1041310496```
1041410497
10415- _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.7.1 /src/commands/template/generate/visualforce/page.ts ) _
10498+ _ See code: [ @salesforce/plugin-templates ] ( https://github.com/salesforcecli/plugin-templates/blob/56.8.0 /src/commands/template/generate/visualforce/page.ts ) _
1041610499
1041710500## ` sf update [CHANNEL] `
1041810501
0 commit comments