File tree Expand file tree Collapse file tree 4 files changed +20
-0
lines changed
src/commands/force/package/beta/version Expand file tree Collapse file tree 4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -230,3 +230,13 @@ Version create.
230
230
# packageVersionCreateFinalStatus
231
231
232
232
Create version status: %s
233
+
234
+ # language
235
+
236
+ The language for the package.
237
+
238
+ # languageLong
239
+
240
+ The language for the package. Specify the language using a language code listed under "Supported Languages" in Salesforce Help.
241
+
242
+ If no language is specified, the language defaults to the language of the Dev Hub user who created the package.
Original file line number Diff line number Diff line change @@ -136,3 +136,7 @@ Org-Dependent Unlocked Package
136
136
# createdBy
137
137
138
138
Created By
139
+
140
+ # language
141
+
142
+ Language
Original file line number Diff line number Diff line change @@ -149,6 +149,10 @@ export class PackageVersionCreateCommand extends SfdxCommand {
149
149
longDescription : messages . getMessage ( 'longWait' ) ,
150
150
default : Duration . minutes ( 0 ) ,
151
151
} ) ,
152
+ language : flags . string ( {
153
+ description : messages . getMessage ( 'language' ) ,
154
+ longDescription : messages . getMessage ( 'languageLong' ) ,
155
+ } ) ,
152
156
} ;
153
157
154
158
public async run ( ) : Promise < Partial < PackageVersionCreateRequestResult > > {
Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ export class PackageVersionListCommand extends SfdxCommand {
193
193
BuildDurationInSeconds : record . BuildDurationInSeconds == null ? '' : record . BuildDurationInSeconds ,
194
194
HasMetadataRemoved : hasMetadataRemoved ,
195
195
CreatedBy : record . CreatedById ,
196
+ Language : record . Language ,
196
197
} ) ;
197
198
} ) ;
198
199
this . ux . styledHeader ( `Package Versions [${ results . length } ]` ) ;
@@ -261,6 +262,7 @@ export class PackageVersionListCommand extends SfdxCommand {
261
262
header : messages . getMessage ( 'hasMetadataRemoved' ) ,
262
263
} ,
263
264
CreatedBy : { header : messages . getMessage ( 'createdBy' ) } ,
265
+ Language : { header : messages . getMessage ( 'language' ) } ,
264
266
} ;
265
267
}
266
268
}
You can’t perform that action at this time.
0 commit comments