@salesforce/plugin-templates 56.13.0 → 56.13.1
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
|
@@ -131,6 +131,7 @@ Congrats, you are debugging!
|
|
|
131
131
|
- [`sf template generate lightning test`](#sf-template-generate-lightning-test)
|
|
132
132
|
- [`sf template generate project`](#sf-template-generate-project)
|
|
133
133
|
- [`sf template generate static-resource`](#sf-template-generate-static-resource)
|
|
134
|
+
- [`sf template generate ui-bundle`](#sf-template-generate-ui-bundle)
|
|
134
135
|
- [`sf template generate visualforce component`](#sf-template-generate-visualforce-component)
|
|
135
136
|
- [`sf template generate visualforce page`](#sf-template-generate-visualforce-page)
|
|
136
137
|
|
|
@@ -176,7 +177,7 @@ FLAG DESCRIPTIONS
|
|
|
176
177
|
directory.
|
|
177
178
|
```
|
|
178
179
|
|
|
179
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
181
|
|
|
181
182
|
## `sf template generate apex class`
|
|
182
183
|
|
|
@@ -236,7 +237,7 @@ FLAG DESCRIPTIONS
|
|
|
236
237
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
237
238
|
```
|
|
238
239
|
|
|
239
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
241
|
|
|
241
242
|
## `sf template generate apex trigger`
|
|
242
243
|
|
|
@@ -306,7 +307,7 @@ FLAG DESCRIPTIONS
|
|
|
306
307
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
307
308
|
```
|
|
308
309
|
|
|
309
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
311
|
|
|
311
312
|
## `sf template generate digital-experience site`
|
|
312
313
|
|
|
@@ -360,7 +361,7 @@ FLAG DESCRIPTIONS
|
|
|
360
361
|
project, defaults to the current directory.
|
|
361
362
|
```
|
|
362
363
|
|
|
363
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
365
|
|
|
365
366
|
## `sf template generate flexipage`
|
|
366
367
|
|
|
@@ -442,7 +443,7 @@ FLAG DESCRIPTIONS
|
|
|
442
443
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
443
444
|
```
|
|
444
445
|
|
|
445
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
447
|
|
|
447
448
|
## `sf template generate lightning app`
|
|
448
449
|
|
|
@@ -498,7 +499,7 @@ FLAG DESCRIPTIONS
|
|
|
498
499
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
499
500
|
```
|
|
500
501
|
|
|
501
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
503
|
|
|
503
504
|
## `sf template generate lightning component`
|
|
504
505
|
|
|
@@ -568,7 +569,7 @@ FLAG DESCRIPTIONS
|
|
|
568
569
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
569
570
|
```
|
|
570
571
|
|
|
571
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
573
|
|
|
573
574
|
## `sf template generate lightning event`
|
|
574
575
|
|
|
@@ -624,7 +625,7 @@ FLAG DESCRIPTIONS
|
|
|
624
625
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
625
626
|
```
|
|
626
627
|
|
|
627
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
629
|
|
|
629
630
|
## `sf template generate lightning interface`
|
|
630
631
|
|
|
@@ -680,7 +681,7 @@ FLAG DESCRIPTIONS
|
|
|
680
681
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
681
682
|
```
|
|
682
683
|
|
|
683
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
685
|
|
|
685
686
|
## `sf template generate lightning test`
|
|
686
687
|
|
|
@@ -736,7 +737,7 @@ FLAG DESCRIPTIONS
|
|
|
736
737
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
737
738
|
```
|
|
738
739
|
|
|
739
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
741
|
|
|
741
742
|
## `sf template generate project`
|
|
742
743
|
|
|
@@ -849,7 +850,7 @@ FLAG DESCRIPTIONS
|
|
|
849
850
|
Override the api version used for api requests made by this command
|
|
850
851
|
```
|
|
851
852
|
|
|
852
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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
854
|
|
|
854
855
|
## `sf template generate static-resource`
|
|
855
856
|
|
|
@@ -912,7 +913,85 @@ FLAG DESCRIPTIONS
|
|
|
912
913
|
etc.
|
|
913
914
|
```
|
|
914
915
|
|
|
915
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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)_
|
|
917
|
+
|
|
918
|
+
## `sf template generate ui-bundle`
|
|
919
|
+
|
|
920
|
+
Generate a UI bundle.
|
|
921
|
+
|
|
922
|
+
```
|
|
923
|
+
USAGE
|
|
924
|
+
$ sf template generate ui-bundle -n <value> [--json] [--flags-dir <value>] [-t default|reactbasic] [-l <value>] [-d <value>]
|
|
925
|
+
[--api-version <value>]
|
|
926
|
+
|
|
927
|
+
FLAGS
|
|
928
|
+
-d, --output-dir=<value> Directory for saving the created files.
|
|
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.
|
|
932
|
+
<options: default|reactbasic>
|
|
933
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
934
|
+
|
|
935
|
+
GLOBAL FLAGS
|
|
936
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
937
|
+
--json Format output as json.
|
|
938
|
+
|
|
939
|
+
DESCRIPTION
|
|
940
|
+
Generate a UI bundle.
|
|
941
|
+
|
|
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.
|
|
946
|
+
|
|
947
|
+
ALIASES
|
|
948
|
+
$ sf ui-bundle generate
|
|
949
|
+
|
|
950
|
+
EXAMPLES
|
|
951
|
+
Generate a UI bundle called MyUiBundle in the current directory:
|
|
952
|
+
|
|
953
|
+
$ sf template generate ui-bundle --name MyUiBundle
|
|
954
|
+
|
|
955
|
+
Generate a React-based UI bundle:
|
|
956
|
+
|
|
957
|
+
$ sf template generate ui-bundle --name MyReactApp --template reactbasic
|
|
958
|
+
|
|
959
|
+
Generate the UI bundle in the "force-app/main/default/uiBundles" directory:
|
|
960
|
+
|
|
961
|
+
$ sf template generate ui-bundle --name MyUiBundle --output-dir force-app/main/default/uiBundles
|
|
962
|
+
|
|
963
|
+
FLAG DESCRIPTIONS
|
|
964
|
+
-d, --output-dir=<value> Directory for saving the created files.
|
|
965
|
+
|
|
966
|
+
The location can be an absolute path or relative to the current working directory.
|
|
967
|
+
|
|
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>".
|
|
970
|
+
|
|
971
|
+
**Examples:**
|
|
972
|
+
|
|
973
|
+
- "--output-dir force-app/main/default" → Creates a UI bundle at "force-app/main/default/uiBundles/MyUiBundle/"
|
|
974
|
+
- "--output-dir force-app/main/default/uiBundles" → Creates a UI bundle at
|
|
975
|
+
"force-app/main/default/uiBundles/MyUiBundle/" (no change)
|
|
976
|
+
|
|
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
|
+
-l, --label=<value> Master label for the UI bundle.
|
|
981
|
+
|
|
982
|
+
If not specified, the label is derived from the name.
|
|
983
|
+
|
|
984
|
+
-n, --name=<value> Name of the generated UI bundle.
|
|
985
|
+
|
|
986
|
+
This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin
|
|
987
|
+
with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
|
|
988
|
+
|
|
989
|
+
-t, --template=default|reactbasic Template to use for file creation.
|
|
990
|
+
|
|
991
|
+
Supplied parameter values or default values are filled into a copy of the template.
|
|
992
|
+
```
|
|
993
|
+
|
|
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)_
|
|
916
995
|
|
|
917
996
|
## `sf template generate visualforce component`
|
|
918
997
|
|
|
@@ -969,7 +1048,7 @@ FLAG DESCRIPTIONS
|
|
|
969
1048
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
970
1049
|
```
|
|
971
1050
|
|
|
972
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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)_
|
|
973
1052
|
|
|
974
1053
|
## `sf template generate visualforce page`
|
|
975
1054
|
|
|
@@ -1020,6 +1099,6 @@ FLAG DESCRIPTIONS
|
|
|
1020
1099
|
The name can be up to 40 characters and must start with a letter.
|
|
1021
1100
|
```
|
|
1022
1101
|
|
|
1023
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.13.
|
|
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)_
|
|
1024
1103
|
|
|
1025
1104
|
<!-- commandsstop -->
|
|
@@ -5,7 +5,6 @@ export default class UiBundleGenerate extends SfCommand<CreateOutput> {
|
|
|
5
5
|
static readonly summary: string;
|
|
6
6
|
static readonly description: string;
|
|
7
7
|
static readonly examples: string[];
|
|
8
|
-
static readonly hidden = true;
|
|
9
8
|
static readonly aliases: string[];
|
|
10
9
|
static readonly flags: {
|
|
11
10
|
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -16,7 +16,6 @@ export default class UiBundleGenerate extends SfCommand {
|
|
|
16
16
|
static summary = messages.getMessage('summary');
|
|
17
17
|
static description = messages.getMessage('description');
|
|
18
18
|
static examples = messages.getMessages('examples');
|
|
19
|
-
static hidden = true; // Hide from external developers until GA
|
|
20
19
|
static aliases = ['ui-bundle:generate'];
|
|
21
20
|
static flags = {
|
|
22
21
|
name: Flags.string({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/commands/template/generate/ui-bundle/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAiC,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAExF,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7D,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,oBAA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AI,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;QAC3E,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,GAAG,CAAC;QACb,CAAC;IACH,CAAC;IAEM,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAErD,MAAM,SAAS,GAAG,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,gBAAgB,CAAC,mBAAmB,EAAE,CAAC,CAAC;QAExF,MAAM,cAAc,GAAoB;YACtC,UAAU,EAAE,KAAK,CAAC,IAAI;YACtB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,WAAW,EAAE,KAAK,CAAC,KAAK;YACxB,SAAS,EAAE,SAAS;YACpB,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC;SACjC,CAAC;QAEF,OAAO,YAAY,CAAC;YAClB,YAAY,EAAE,YAAY,CAAC,QAAQ;YACnC,IAAI,EAAE,cAAc;YACpB,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YAC/C,SAAS,EAAE,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC,CAAC;IACL,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -375,159 +375,6 @@
|
|
|
375
375
|
"trigger:apex:generate:template"
|
|
376
376
|
]
|
|
377
377
|
},
|
|
378
|
-
"template:generate:analytics:template": {
|
|
379
|
-
"aliases": [
|
|
380
|
-
"force:analytics:template:create",
|
|
381
|
-
"analytics:generate:template"
|
|
382
|
-
],
|
|
383
|
-
"args": {},
|
|
384
|
-
"deprecateAliases": true,
|
|
385
|
-
"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.",
|
|
386
|
-
"examples": [
|
|
387
|
-
"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"
|
|
388
|
-
],
|
|
389
|
-
"flags": {
|
|
390
|
-
"json": {
|
|
391
|
-
"description": "Format output as json.",
|
|
392
|
-
"helpGroup": "GLOBAL",
|
|
393
|
-
"name": "json",
|
|
394
|
-
"allowNo": false,
|
|
395
|
-
"type": "boolean"
|
|
396
|
-
},
|
|
397
|
-
"flags-dir": {
|
|
398
|
-
"helpGroup": "GLOBAL",
|
|
399
|
-
"name": "flags-dir",
|
|
400
|
-
"summary": "Import flag values from a directory.",
|
|
401
|
-
"hasDynamicHelp": false,
|
|
402
|
-
"multiple": false,
|
|
403
|
-
"type": "option"
|
|
404
|
-
},
|
|
405
|
-
"output-dir": {
|
|
406
|
-
"aliases": [
|
|
407
|
-
"outputdir"
|
|
408
|
-
],
|
|
409
|
-
"char": "d",
|
|
410
|
-
"deprecateAliases": true,
|
|
411
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
412
|
-
"name": "output-dir",
|
|
413
|
-
"summary": "Directory for saving the created files.",
|
|
414
|
-
"default": ".",
|
|
415
|
-
"hasDynamicHelp": false,
|
|
416
|
-
"multiple": false,
|
|
417
|
-
"type": "option"
|
|
418
|
-
},
|
|
419
|
-
"api-version": {
|
|
420
|
-
"aliases": [
|
|
421
|
-
"apiversion"
|
|
422
|
-
],
|
|
423
|
-
"deprecateAliases": true,
|
|
424
|
-
"description": "Override the api version used for api requests made by this command",
|
|
425
|
-
"name": "api-version",
|
|
426
|
-
"hasDynamicHelp": false,
|
|
427
|
-
"multiple": false,
|
|
428
|
-
"type": "option"
|
|
429
|
-
},
|
|
430
|
-
"name": {
|
|
431
|
-
"aliases": [
|
|
432
|
-
"templatename"
|
|
433
|
-
],
|
|
434
|
-
"char": "n",
|
|
435
|
-
"deprecateAliases": true,
|
|
436
|
-
"name": "name",
|
|
437
|
-
"required": true,
|
|
438
|
-
"summary": "Name of the Analytics template.",
|
|
439
|
-
"hasDynamicHelp": false,
|
|
440
|
-
"multiple": false,
|
|
441
|
-
"type": "option"
|
|
442
|
-
},
|
|
443
|
-
"loglevel": {
|
|
444
|
-
"deprecated": {
|
|
445
|
-
"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."
|
|
446
|
-
},
|
|
447
|
-
"hidden": true,
|
|
448
|
-
"name": "loglevel",
|
|
449
|
-
"hasDynamicHelp": false,
|
|
450
|
-
"multiple": false,
|
|
451
|
-
"type": "option"
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
"hasDynamicHelp": false,
|
|
455
|
-
"hiddenAliases": [],
|
|
456
|
-
"id": "template:generate:analytics:template",
|
|
457
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
458
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
459
|
-
"pluginType": "core",
|
|
460
|
-
"strict": true,
|
|
461
|
-
"summary": "Generate a simple Analytics template.",
|
|
462
|
-
"enableJsonFlag": true,
|
|
463
|
-
"isESM": true,
|
|
464
|
-
"relativePath": [
|
|
465
|
-
"lib",
|
|
466
|
-
"commands",
|
|
467
|
-
"template",
|
|
468
|
-
"generate",
|
|
469
|
-
"analytics",
|
|
470
|
-
"template.js"
|
|
471
|
-
],
|
|
472
|
-
"aliasPermutations": [
|
|
473
|
-
"force:analytics:template:create",
|
|
474
|
-
"analytics:force:template:create",
|
|
475
|
-
"analytics:template:force:create",
|
|
476
|
-
"analytics:template:create:force",
|
|
477
|
-
"force:template:analytics:create",
|
|
478
|
-
"template:force:analytics:create",
|
|
479
|
-
"template:analytics:force:create",
|
|
480
|
-
"template:analytics:create:force",
|
|
481
|
-
"force:template:create:analytics",
|
|
482
|
-
"template:force:create:analytics",
|
|
483
|
-
"template:create:force:analytics",
|
|
484
|
-
"template:create:analytics:force",
|
|
485
|
-
"force:analytics:create:template",
|
|
486
|
-
"analytics:force:create:template",
|
|
487
|
-
"analytics:create:force:template",
|
|
488
|
-
"analytics:create:template:force",
|
|
489
|
-
"force:create:analytics:template",
|
|
490
|
-
"create:force:analytics:template",
|
|
491
|
-
"create:analytics:force:template",
|
|
492
|
-
"create:analytics:template:force",
|
|
493
|
-
"force:create:template:analytics",
|
|
494
|
-
"create:force:template:analytics",
|
|
495
|
-
"create:template:force:analytics",
|
|
496
|
-
"create:template:analytics:force",
|
|
497
|
-
"analytics:generate:template",
|
|
498
|
-
"generate:analytics:template",
|
|
499
|
-
"generate:template:analytics",
|
|
500
|
-
"analytics:template:generate",
|
|
501
|
-
"template:analytics:generate",
|
|
502
|
-
"template:generate:analytics"
|
|
503
|
-
],
|
|
504
|
-
"permutations": [
|
|
505
|
-
"template:generate:analytics:template",
|
|
506
|
-
"generate:template:analytics:template",
|
|
507
|
-
"generate:analytics:template:template",
|
|
508
|
-
"generate:analytics:template:template",
|
|
509
|
-
"template:analytics:generate:template",
|
|
510
|
-
"analytics:template:generate:template",
|
|
511
|
-
"analytics:generate:template:template",
|
|
512
|
-
"analytics:generate:template:template",
|
|
513
|
-
"template:analytics:template:generate",
|
|
514
|
-
"analytics:template:template:generate",
|
|
515
|
-
"analytics:template:template:generate",
|
|
516
|
-
"analytics:template:generate:template",
|
|
517
|
-
"template:generate:template:analytics",
|
|
518
|
-
"generate:template:template:analytics",
|
|
519
|
-
"generate:template:template:analytics",
|
|
520
|
-
"generate:template:analytics:template",
|
|
521
|
-
"template:template:generate:analytics",
|
|
522
|
-
"template:template:generate:analytics",
|
|
523
|
-
"template:generate:template:analytics",
|
|
524
|
-
"template:generate:analytics:template",
|
|
525
|
-
"template:template:analytics:generate",
|
|
526
|
-
"template:template:analytics:generate",
|
|
527
|
-
"template:analytics:template:generate",
|
|
528
|
-
"template:analytics:generate:template"
|
|
529
|
-
]
|
|
530
|
-
},
|
|
531
378
|
"template:generate:digital-experience:site": {
|
|
532
379
|
"aliases": [],
|
|
533
380
|
"args": {},
|
|
@@ -839,6 +686,159 @@
|
|
|
839
686
|
"flexipage:generate:template"
|
|
840
687
|
]
|
|
841
688
|
},
|
|
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",
|
|
@@ -2120,7 +2120,6 @@
|
|
|
2120
2120
|
}
|
|
2121
2121
|
},
|
|
2122
2122
|
"hasDynamicHelp": false,
|
|
2123
|
-
"hidden": true,
|
|
2124
2123
|
"hiddenAliases": [],
|
|
2125
2124
|
"id": "template:generate:ui-bundle",
|
|
2126
2125
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
@@ -2507,5 +2506,5 @@
|
|
|
2507
2506
|
]
|
|
2508
2507
|
}
|
|
2509
2508
|
},
|
|
2510
|
-
"version": "56.13.
|
|
2509
|
+
"version": "56.13.1"
|
|
2511
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.
|
|
4
|
+
"version": "56.13.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -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.
|
|
256
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.13.
|
|
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"
|
|
257
257
|
}
|
|
258
258
|
}
|