@salesforce/plugin-templates 56.10.7 → 56.11.0
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 +22 -18
- package/lib/commands/template/generate/project/index.d.ts +1 -1
- package/lib/commands/template/generate/project/index.js +1 -1
- package/lib/commands/template/generate/project/index.js.map +1 -1
- package/messages/project.md +2 -0
- package/oclif.manifest.json +354 -353
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -176,7 +176,7 @@ FLAG DESCRIPTIONS
|
|
|
176
176
|
directory.
|
|
177
177
|
```
|
|
178
178
|
|
|
179
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
179
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/analytics/template.ts)_
|
|
180
180
|
|
|
181
181
|
## `sf template generate apex class`
|
|
182
182
|
|
|
@@ -236,7 +236,7 @@ FLAG DESCRIPTIONS
|
|
|
236
236
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
237
237
|
```
|
|
238
238
|
|
|
239
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
239
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/apex/class.ts)_
|
|
240
240
|
|
|
241
241
|
## `sf template generate apex trigger`
|
|
242
242
|
|
|
@@ -306,7 +306,7 @@ FLAG DESCRIPTIONS
|
|
|
306
306
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
307
307
|
```
|
|
308
308
|
|
|
309
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
309
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/apex/trigger.ts)_
|
|
310
310
|
|
|
311
311
|
## `sf template generate digital-experience site`
|
|
312
312
|
|
|
@@ -360,7 +360,7 @@ FLAG DESCRIPTIONS
|
|
|
360
360
|
project, defaults to the current directory.
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
363
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/digital-experience/site.ts)_
|
|
364
364
|
|
|
365
365
|
## `sf template generate flexipage`
|
|
366
366
|
|
|
@@ -442,7 +442,7 @@ FLAG DESCRIPTIONS
|
|
|
442
442
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
443
443
|
```
|
|
444
444
|
|
|
445
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
445
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/flexipage/index.ts)_
|
|
446
446
|
|
|
447
447
|
## `sf template generate lightning app`
|
|
448
448
|
|
|
@@ -498,7 +498,7 @@ FLAG DESCRIPTIONS
|
|
|
498
498
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
499
499
|
```
|
|
500
500
|
|
|
501
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
501
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/app.ts)_
|
|
502
502
|
|
|
503
503
|
## `sf template generate lightning component`
|
|
504
504
|
|
|
@@ -568,7 +568,7 @@ FLAG DESCRIPTIONS
|
|
|
568
568
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
569
569
|
```
|
|
570
570
|
|
|
571
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
571
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/component.ts)_
|
|
572
572
|
|
|
573
573
|
## `sf template generate lightning event`
|
|
574
574
|
|
|
@@ -624,7 +624,7 @@ FLAG DESCRIPTIONS
|
|
|
624
624
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
625
625
|
```
|
|
626
626
|
|
|
627
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
627
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/event.ts)_
|
|
628
628
|
|
|
629
629
|
## `sf template generate lightning interface`
|
|
630
630
|
|
|
@@ -680,7 +680,7 @@ FLAG DESCRIPTIONS
|
|
|
680
680
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
681
681
|
```
|
|
682
682
|
|
|
683
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
683
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/interface.ts)_
|
|
684
684
|
|
|
685
685
|
## `sf template generate lightning test`
|
|
686
686
|
|
|
@@ -736,7 +736,7 @@ FLAG DESCRIPTIONS
|
|
|
736
736
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
737
737
|
```
|
|
738
738
|
|
|
739
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
739
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/lightning/test.ts)_
|
|
740
740
|
|
|
741
741
|
## `sf template generate project`
|
|
742
742
|
|
|
@@ -744,8 +744,9 @@ Generate a Salesforce DX project.
|
|
|
744
744
|
|
|
745
745
|
```
|
|
746
746
|
USAGE
|
|
747
|
-
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t
|
|
748
|
-
<value>] [-s <value>] [-p <value>] [-x] [--api-version
|
|
747
|
+
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t
|
|
748
|
+
standard|empty|analytics|reactb2e|reactb2x|agent] [-d <value>] [-s <value>] [-p <value>] [-x] [--api-version
|
|
749
|
+
<value>]
|
|
749
750
|
|
|
750
751
|
FLAGS
|
|
751
752
|
-d, --output-dir=<value> [default: .] Directory for saving the created files.
|
|
@@ -753,7 +754,7 @@ FLAGS
|
|
|
753
754
|
-p, --default-package-dir=<value> [default: force-app] Default package directory name.
|
|
754
755
|
-s, --namespace=<value> Namespace associated with this project and any connected scratch orgs.
|
|
755
756
|
-t, --template=<option> [default: standard] Template to use for project creation.
|
|
756
|
-
<options: standard|empty|analytics|reactb2e|reactb2x>
|
|
757
|
+
<options: standard|empty|analytics|reactb2e|reactb2x|agent>
|
|
757
758
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
758
759
|
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
|
|
759
760
|
|
|
@@ -808,7 +809,7 @@ FLAG DESCRIPTIONS
|
|
|
808
809
|
|
|
809
810
|
Metadata items such as classes and Lightning bundles are placed inside this folder.
|
|
810
811
|
|
|
811
|
-
-t, --template=standard|empty|analytics|reactb2e|reactb2x Template to use for project creation.
|
|
812
|
+
-t, --template=standard|empty|analytics|reactb2e|reactb2x|agent Template to use for project creation.
|
|
812
813
|
|
|
813
814
|
The template determines the sample configuration files and directories that this command generates. For example, the
|
|
814
815
|
empty template provides these files and directory to get you started.
|
|
@@ -835,6 +836,9 @@ FLAG DESCRIPTIONS
|
|
|
835
836
|
The reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use
|
|
836
837
|
cases.
|
|
837
838
|
|
|
839
|
+
The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called
|
|
840
|
+
Local Info Agent.
|
|
841
|
+
|
|
838
842
|
-x, --manifest Generate a manifest (package.xml) for change-set based development.
|
|
839
843
|
|
|
840
844
|
Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static
|
|
@@ -845,7 +849,7 @@ FLAG DESCRIPTIONS
|
|
|
845
849
|
Override the api version used for api requests made by this command
|
|
846
850
|
```
|
|
847
851
|
|
|
848
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
852
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/project/index.ts)_
|
|
849
853
|
|
|
850
854
|
## `sf template generate static-resource`
|
|
851
855
|
|
|
@@ -908,7 +912,7 @@ FLAG DESCRIPTIONS
|
|
|
908
912
|
etc.
|
|
909
913
|
```
|
|
910
914
|
|
|
911
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
915
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/static-resource/index.ts)_
|
|
912
916
|
|
|
913
917
|
## `sf template generate visualforce component`
|
|
914
918
|
|
|
@@ -965,7 +969,7 @@ FLAG DESCRIPTIONS
|
|
|
965
969
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
966
970
|
```
|
|
967
971
|
|
|
968
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
972
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/visualforce/component.ts)_
|
|
969
973
|
|
|
970
974
|
## `sf template generate visualforce page`
|
|
971
975
|
|
|
@@ -1016,6 +1020,6 @@ FLAG DESCRIPTIONS
|
|
|
1016
1020
|
The name can be up to 40 characters and must start with a letter.
|
|
1017
1021
|
```
|
|
1018
1022
|
|
|
1019
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1023
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.11.0/src/commands/template/generate/visualforce/page.ts)_
|
|
1020
1024
|
|
|
1021
1025
|
<!-- commandsstop -->
|
|
@@ -8,7 +8,7 @@ export default class Project extends SfCommand<CreateOutput> {
|
|
|
8
8
|
static readonly deprecateAliases = true;
|
|
9
9
|
static readonly flags: {
|
|
10
10
|
name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
-
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "reactb2e" | "reactb2x", import("@oclif/core/interfaces").CustomOptions>;
|
|
11
|
+
template: import("@oclif/core/interfaces").OptionFlag<"standard" | "empty" | "analytics" | "reactb2e" | "reactb2x" | "agent", import("@oclif/core/interfaces").CustomOptions>;
|
|
12
12
|
'output-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
13
13
|
namespace: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
14
|
'default-package-dir': import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
|
|
@@ -31,7 +31,7 @@ export default class Project extends SfCommand {
|
|
|
31
31
|
summary: messages.getMessage('flags.template.summary'),
|
|
32
32
|
description: messages.getMessage('flags.template.description'),
|
|
33
33
|
default: 'standard',
|
|
34
|
-
options: ['standard', 'empty', 'analytics', 'reactb2e', 'reactb2x'],
|
|
34
|
+
options: ['standard', 'empty', 'analytics', 'reactb2e', 'reactb2x', 'agent'],
|
|
35
35
|
})(),
|
|
36
36
|
'output-dir': outputDirFlag,
|
|
37
37
|
namespace: Flags.string({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":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gB,CAAC;SACrD,CAAC,CAAC;IACL,CAAC"}
|
package/messages/project.md
CHANGED
|
@@ -60,6 +60,8 @@ The analytics template provides similar files and the force-app/main/default/wav
|
|
|
60
60
|
|
|
61
61
|
The reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.
|
|
62
62
|
|
|
63
|
+
The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.
|
|
64
|
+
|
|
63
65
|
# flags.namespace.summary
|
|
64
66
|
|
|
65
67
|
Namespace associated with this project and any connected scratch orgs.
|
package/oclif.manifest.json
CHANGED
|
@@ -1,158 +1,5 @@
|
|
|
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
3
|
"template:generate:apex:class": {
|
|
157
4
|
"aliases": [
|
|
158
5
|
"force:apex:class:create",
|
|
@@ -528,6 +375,159 @@
|
|
|
528
375
|
"trigger:apex:generate:template"
|
|
529
376
|
]
|
|
530
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
531
|
"template:generate:digital-experience:site": {
|
|
532
532
|
"aliases": [],
|
|
533
533
|
"args": {},
|
|
@@ -782,22 +782,185 @@
|
|
|
782
782
|
"multiple": true,
|
|
783
783
|
"type": "option"
|
|
784
784
|
},
|
|
785
|
-
"detail-fields": {
|
|
786
|
-
"name": "detail-fields",
|
|
787
|
-
"summary": "Fields to display in the Details tab. Specify multiple fields separated by commas. Fields are split into two columns. Used only with RecordPage.",
|
|
788
|
-
"delimiter": ",",
|
|
785
|
+
"detail-fields": {
|
|
786
|
+
"name": "detail-fields",
|
|
787
|
+
"summary": "Fields to display in the Details tab. Specify multiple fields separated by commas. Fields are split into two columns. Used only with RecordPage.",
|
|
788
|
+
"delimiter": ",",
|
|
789
|
+
"hasDynamicHelp": false,
|
|
790
|
+
"multiple": true,
|
|
791
|
+
"type": "option"
|
|
792
|
+
},
|
|
793
|
+
"internal": {
|
|
794
|
+
"char": "i",
|
|
795
|
+
"hidden": true,
|
|
796
|
+
"name": "internal",
|
|
797
|
+
"summary": "Generate lightning bundles without creating a -meta.xml file.",
|
|
798
|
+
"allowNo": false,
|
|
799
|
+
"type": "boolean"
|
|
800
|
+
},
|
|
801
|
+
"loglevel": {
|
|
802
|
+
"deprecated": {
|
|
803
|
+
"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."
|
|
804
|
+
},
|
|
805
|
+
"hidden": true,
|
|
806
|
+
"name": "loglevel",
|
|
807
|
+
"hasDynamicHelp": false,
|
|
808
|
+
"multiple": false,
|
|
809
|
+
"type": "option"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"hasDynamicHelp": false,
|
|
813
|
+
"hiddenAliases": [],
|
|
814
|
+
"id": "template:generate:flexipage",
|
|
815
|
+
"pluginAlias": "@salesforce/plugin-templates",
|
|
816
|
+
"pluginName": "@salesforce/plugin-templates",
|
|
817
|
+
"pluginType": "core",
|
|
818
|
+
"state": "beta",
|
|
819
|
+
"strict": true,
|
|
820
|
+
"summary": "Generate a FlexiPage, also known as a Lightning page.",
|
|
821
|
+
"enableJsonFlag": true,
|
|
822
|
+
"MAX_SECONDARY_FIELDS": 11,
|
|
823
|
+
"isESM": true,
|
|
824
|
+
"relativePath": [
|
|
825
|
+
"lib",
|
|
826
|
+
"commands",
|
|
827
|
+
"template",
|
|
828
|
+
"generate",
|
|
829
|
+
"flexipage",
|
|
830
|
+
"index.js"
|
|
831
|
+
],
|
|
832
|
+
"aliasPermutations": [],
|
|
833
|
+
"permutations": [
|
|
834
|
+
"template:generate:flexipage",
|
|
835
|
+
"generate:template:flexipage",
|
|
836
|
+
"generate:flexipage:template",
|
|
837
|
+
"template:flexipage:generate",
|
|
838
|
+
"flexipage:template:generate",
|
|
839
|
+
"flexipage:generate:template"
|
|
840
|
+
]
|
|
841
|
+
},
|
|
842
|
+
"template:generate:project": {
|
|
843
|
+
"aliases": [
|
|
844
|
+
"force:project:create",
|
|
845
|
+
"project:generate"
|
|
846
|
+
],
|
|
847
|
+
"args": {},
|
|
848
|
+
"deprecateAliases": true,
|
|
849
|
+
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
850
|
+
"examples": [
|
|
851
|
+
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
852
|
+
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
853
|
+
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
854
|
+
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
|
|
855
|
+
],
|
|
856
|
+
"flags": {
|
|
857
|
+
"json": {
|
|
858
|
+
"description": "Format output as json.",
|
|
859
|
+
"helpGroup": "GLOBAL",
|
|
860
|
+
"name": "json",
|
|
861
|
+
"allowNo": false,
|
|
862
|
+
"type": "boolean"
|
|
863
|
+
},
|
|
864
|
+
"flags-dir": {
|
|
865
|
+
"helpGroup": "GLOBAL",
|
|
866
|
+
"name": "flags-dir",
|
|
867
|
+
"summary": "Import flag values from a directory.",
|
|
868
|
+
"hasDynamicHelp": false,
|
|
869
|
+
"multiple": false,
|
|
870
|
+
"type": "option"
|
|
871
|
+
},
|
|
872
|
+
"name": {
|
|
873
|
+
"aliases": [
|
|
874
|
+
"projectname"
|
|
875
|
+
],
|
|
876
|
+
"char": "n",
|
|
877
|
+
"deprecateAliases": true,
|
|
878
|
+
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
879
|
+
"name": "name",
|
|
880
|
+
"required": true,
|
|
881
|
+
"summary": "Name of the generated project.",
|
|
882
|
+
"hasDynamicHelp": false,
|
|
883
|
+
"multiple": false,
|
|
884
|
+
"type": "option"
|
|
885
|
+
},
|
|
886
|
+
"template": {
|
|
887
|
+
"char": "t",
|
|
888
|
+
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.\n\nThe agent template provides project scaffolding for building Agentforce agents and includes a sample agent called Local Info Agent.",
|
|
889
|
+
"name": "template",
|
|
890
|
+
"summary": "Template to use for project creation.",
|
|
891
|
+
"default": "standard",
|
|
892
|
+
"hasDynamicHelp": false,
|
|
893
|
+
"multiple": false,
|
|
894
|
+
"options": [
|
|
895
|
+
"standard",
|
|
896
|
+
"empty",
|
|
897
|
+
"analytics",
|
|
898
|
+
"reactb2e",
|
|
899
|
+
"reactb2x",
|
|
900
|
+
"agent"
|
|
901
|
+
],
|
|
902
|
+
"type": "option"
|
|
903
|
+
},
|
|
904
|
+
"output-dir": {
|
|
905
|
+
"aliases": [
|
|
906
|
+
"outputdir"
|
|
907
|
+
],
|
|
908
|
+
"char": "d",
|
|
909
|
+
"deprecateAliases": true,
|
|
910
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
911
|
+
"name": "output-dir",
|
|
912
|
+
"summary": "Directory for saving the created files.",
|
|
913
|
+
"default": ".",
|
|
914
|
+
"hasDynamicHelp": false,
|
|
915
|
+
"multiple": false,
|
|
916
|
+
"type": "option"
|
|
917
|
+
},
|
|
918
|
+
"namespace": {
|
|
919
|
+
"char": "s",
|
|
920
|
+
"name": "namespace",
|
|
921
|
+
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
922
|
+
"default": "",
|
|
923
|
+
"hasDynamicHelp": false,
|
|
924
|
+
"multiple": false,
|
|
925
|
+
"type": "option"
|
|
926
|
+
},
|
|
927
|
+
"default-package-dir": {
|
|
928
|
+
"aliases": [
|
|
929
|
+
"defaultpackagedir"
|
|
930
|
+
],
|
|
931
|
+
"char": "p",
|
|
932
|
+
"deprecateAliases": true,
|
|
933
|
+
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
934
|
+
"name": "default-package-dir",
|
|
935
|
+
"summary": "Default package directory name.",
|
|
936
|
+
"default": "force-app",
|
|
789
937
|
"hasDynamicHelp": false,
|
|
790
|
-
"multiple":
|
|
938
|
+
"multiple": false,
|
|
791
939
|
"type": "option"
|
|
792
940
|
},
|
|
793
|
-
"
|
|
794
|
-
"char": "
|
|
795
|
-
"
|
|
796
|
-
"name": "
|
|
797
|
-
"summary": "Generate
|
|
941
|
+
"manifest": {
|
|
942
|
+
"char": "x",
|
|
943
|
+
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
944
|
+
"name": "manifest",
|
|
945
|
+
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
798
946
|
"allowNo": false,
|
|
799
947
|
"type": "boolean"
|
|
800
948
|
},
|
|
949
|
+
"login-url": {
|
|
950
|
+
"aliases": [
|
|
951
|
+
"loginurl"
|
|
952
|
+
],
|
|
953
|
+
"char": "l",
|
|
954
|
+
"deprecateAliases": true,
|
|
955
|
+
"description": "Normally defaults to https://login.salesforce.com.",
|
|
956
|
+
"hidden": true,
|
|
957
|
+
"name": "login-url",
|
|
958
|
+
"summary": "Salesforce instance login URL.",
|
|
959
|
+
"default": "https://login.salesforce.com",
|
|
960
|
+
"hasDynamicHelp": false,
|
|
961
|
+
"multiple": false,
|
|
962
|
+
"type": "option"
|
|
963
|
+
},
|
|
801
964
|
"loglevel": {
|
|
802
965
|
"deprecated": {
|
|
803
966
|
"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."
|
|
@@ -807,36 +970,51 @@
|
|
|
807
970
|
"hasDynamicHelp": false,
|
|
808
971
|
"multiple": false,
|
|
809
972
|
"type": "option"
|
|
973
|
+
},
|
|
974
|
+
"api-version": {
|
|
975
|
+
"description": "Override the api version used for api requests made by this command",
|
|
976
|
+
"name": "api-version",
|
|
977
|
+
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
978
|
+
"hasDynamicHelp": false,
|
|
979
|
+
"multiple": false,
|
|
980
|
+
"type": "option"
|
|
810
981
|
}
|
|
811
982
|
},
|
|
812
983
|
"hasDynamicHelp": false,
|
|
813
984
|
"hiddenAliases": [],
|
|
814
|
-
"id": "template:generate:
|
|
985
|
+
"id": "template:generate:project",
|
|
815
986
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
816
987
|
"pluginName": "@salesforce/plugin-templates",
|
|
817
988
|
"pluginType": "core",
|
|
818
|
-
"state": "beta",
|
|
819
989
|
"strict": true,
|
|
820
|
-
"summary": "Generate a
|
|
990
|
+
"summary": "Generate a Salesforce DX project.",
|
|
821
991
|
"enableJsonFlag": true,
|
|
822
|
-
"MAX_SECONDARY_FIELDS": 11,
|
|
823
992
|
"isESM": true,
|
|
824
993
|
"relativePath": [
|
|
825
994
|
"lib",
|
|
826
995
|
"commands",
|
|
827
996
|
"template",
|
|
828
997
|
"generate",
|
|
829
|
-
"
|
|
998
|
+
"project",
|
|
830
999
|
"index.js"
|
|
831
1000
|
],
|
|
832
|
-
"aliasPermutations": [
|
|
1001
|
+
"aliasPermutations": [
|
|
1002
|
+
"force:project:create",
|
|
1003
|
+
"project:force:create",
|
|
1004
|
+
"project:create:force",
|
|
1005
|
+
"force:create:project",
|
|
1006
|
+
"create:force:project",
|
|
1007
|
+
"create:project:force",
|
|
1008
|
+
"project:generate",
|
|
1009
|
+
"generate:project"
|
|
1010
|
+
],
|
|
833
1011
|
"permutations": [
|
|
834
|
-
"template:generate:
|
|
835
|
-
"generate:template:
|
|
836
|
-
"generate:
|
|
837
|
-
"template:
|
|
838
|
-
"
|
|
839
|
-
"
|
|
1012
|
+
"template:generate:project",
|
|
1013
|
+
"generate:template:project",
|
|
1014
|
+
"generate:project:template",
|
|
1015
|
+
"template:project:generate",
|
|
1016
|
+
"project:template:generate",
|
|
1017
|
+
"project:generate:template"
|
|
840
1018
|
]
|
|
841
1019
|
},
|
|
842
1020
|
"template:generate:lightning:app": {
|
|
@@ -1735,183 +1913,6 @@
|
|
|
1735
1913
|
"test:lightning:generate:template"
|
|
1736
1914
|
]
|
|
1737
1915
|
},
|
|
1738
|
-
"template:generate:project": {
|
|
1739
|
-
"aliases": [
|
|
1740
|
-
"force:project:create",
|
|
1741
|
-
"project:generate"
|
|
1742
|
-
],
|
|
1743
|
-
"args": {},
|
|
1744
|
-
"deprecateAliases": true,
|
|
1745
|
-
"description": "A Salesforce DX project has a specific structure and a configuration file (sfdx-project.json) that identifies the directory as a Salesforce DX project. This command generates the necessary configuration files and directories to get you started.\n\nBy default, the generated sfdx-project.json file sets the sourceApiVersion property to the default API version currently used by Salesforce CLI. To specify a different version, set the apiVersion configuration variable. For example: \"sf config set apiVersion=57.0 --global\".",
|
|
1746
|
-
"examples": [
|
|
1747
|
-
"Generate a project called \"mywork\":\n<%= config.bin %> <%= command.id %> --name mywork",
|
|
1748
|
-
"Similar to previous example, but generate the files in a directory called \"myapp\":\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp",
|
|
1749
|
-
"Similar to prevoius example, but also generate a default package.xml manifest file:\n<%= config.bin %> <%= command.id %> --name mywork --default-package-dir myapp --manifest",
|
|
1750
|
-
"Generate a project with the minimum files and directories:\n<%= config.bin %> <%= command.id %> --name mywork --template empty"
|
|
1751
|
-
],
|
|
1752
|
-
"flags": {
|
|
1753
|
-
"json": {
|
|
1754
|
-
"description": "Format output as json.",
|
|
1755
|
-
"helpGroup": "GLOBAL",
|
|
1756
|
-
"name": "json",
|
|
1757
|
-
"allowNo": false,
|
|
1758
|
-
"type": "boolean"
|
|
1759
|
-
},
|
|
1760
|
-
"flags-dir": {
|
|
1761
|
-
"helpGroup": "GLOBAL",
|
|
1762
|
-
"name": "flags-dir",
|
|
1763
|
-
"summary": "Import flag values from a directory.",
|
|
1764
|
-
"hasDynamicHelp": false,
|
|
1765
|
-
"multiple": false,
|
|
1766
|
-
"type": "option"
|
|
1767
|
-
},
|
|
1768
|
-
"name": {
|
|
1769
|
-
"aliases": [
|
|
1770
|
-
"projectname"
|
|
1771
|
-
],
|
|
1772
|
-
"char": "n",
|
|
1773
|
-
"deprecateAliases": true,
|
|
1774
|
-
"description": "Generates a project directory with this name; any valid directory name is accepted. Also sets the \"name\" property in the sfdx-project.json file to this name.",
|
|
1775
|
-
"name": "name",
|
|
1776
|
-
"required": true,
|
|
1777
|
-
"summary": "Name of the generated project.",
|
|
1778
|
-
"hasDynamicHelp": false,
|
|
1779
|
-
"multiple": false,
|
|
1780
|
-
"type": "option"
|
|
1781
|
-
},
|
|
1782
|
-
"template": {
|
|
1783
|
-
"char": "t",
|
|
1784
|
-
"description": "The template determines the sample configuration files and directories that this command generates. For example, the empty template provides these files and directory to get you started.\n\n- .forceignore\n- config/project-scratch-def.json\n- sfdx-project.json\n- package.json\n- force-app (basic source directory structure)\n\nThe standard template provides a complete force-app directory structure so you know where to put your source. It also provides additional files and scripts, especially useful when using Salesforce Extensions for VS Code. For example:\n\n- .gitignore: Use Git for version control.\n- .prettierrc and .prettierignore: Use Prettier to format your Aura components.\n- .vscode/extensions.json: When launched, Visual Studio Code, prompts you to install the recommended extensions for your project.\n- .vscode/launch.json: Configures Replay Debugger.\n- .vscode/settings.json: Additional configuration settings.\n\nThe analytics template provides similar files and the force-app/main/default/waveTemplates directory.\n\nThe reactb2e and reactb2x templates provide React-based project scaffolding for B2E and B2X web application use cases.",
|
|
1785
|
-
"name": "template",
|
|
1786
|
-
"summary": "Template to use for project creation.",
|
|
1787
|
-
"default": "standard",
|
|
1788
|
-
"hasDynamicHelp": false,
|
|
1789
|
-
"multiple": false,
|
|
1790
|
-
"options": [
|
|
1791
|
-
"standard",
|
|
1792
|
-
"empty",
|
|
1793
|
-
"analytics",
|
|
1794
|
-
"reactb2e",
|
|
1795
|
-
"reactb2x"
|
|
1796
|
-
],
|
|
1797
|
-
"type": "option"
|
|
1798
|
-
},
|
|
1799
|
-
"output-dir": {
|
|
1800
|
-
"aliases": [
|
|
1801
|
-
"outputdir"
|
|
1802
|
-
],
|
|
1803
|
-
"char": "d",
|
|
1804
|
-
"deprecateAliases": true,
|
|
1805
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
1806
|
-
"name": "output-dir",
|
|
1807
|
-
"summary": "Directory for saving the created files.",
|
|
1808
|
-
"default": ".",
|
|
1809
|
-
"hasDynamicHelp": false,
|
|
1810
|
-
"multiple": false,
|
|
1811
|
-
"type": "option"
|
|
1812
|
-
},
|
|
1813
|
-
"namespace": {
|
|
1814
|
-
"char": "s",
|
|
1815
|
-
"name": "namespace",
|
|
1816
|
-
"summary": "Namespace associated with this project and any connected scratch orgs.",
|
|
1817
|
-
"default": "",
|
|
1818
|
-
"hasDynamicHelp": false,
|
|
1819
|
-
"multiple": false,
|
|
1820
|
-
"type": "option"
|
|
1821
|
-
},
|
|
1822
|
-
"default-package-dir": {
|
|
1823
|
-
"aliases": [
|
|
1824
|
-
"defaultpackagedir"
|
|
1825
|
-
],
|
|
1826
|
-
"char": "p",
|
|
1827
|
-
"deprecateAliases": true,
|
|
1828
|
-
"description": "Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
1829
|
-
"name": "default-package-dir",
|
|
1830
|
-
"summary": "Default package directory name.",
|
|
1831
|
-
"default": "force-app",
|
|
1832
|
-
"hasDynamicHelp": false,
|
|
1833
|
-
"multiple": false,
|
|
1834
|
-
"type": "option"
|
|
1835
|
-
},
|
|
1836
|
-
"manifest": {
|
|
1837
|
-
"char": "x",
|
|
1838
|
-
"description": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
1839
|
-
"name": "manifest",
|
|
1840
|
-
"summary": "Generate a manifest (package.xml) for change-set based development.",
|
|
1841
|
-
"allowNo": false,
|
|
1842
|
-
"type": "boolean"
|
|
1843
|
-
},
|
|
1844
|
-
"login-url": {
|
|
1845
|
-
"aliases": [
|
|
1846
|
-
"loginurl"
|
|
1847
|
-
],
|
|
1848
|
-
"char": "l",
|
|
1849
|
-
"deprecateAliases": true,
|
|
1850
|
-
"description": "Normally defaults to https://login.salesforce.com.",
|
|
1851
|
-
"hidden": true,
|
|
1852
|
-
"name": "login-url",
|
|
1853
|
-
"summary": "Salesforce instance login URL.",
|
|
1854
|
-
"default": "https://login.salesforce.com",
|
|
1855
|
-
"hasDynamicHelp": false,
|
|
1856
|
-
"multiple": false,
|
|
1857
|
-
"type": "option"
|
|
1858
|
-
},
|
|
1859
|
-
"loglevel": {
|
|
1860
|
-
"deprecated": {
|
|
1861
|
-
"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."
|
|
1862
|
-
},
|
|
1863
|
-
"hidden": true,
|
|
1864
|
-
"name": "loglevel",
|
|
1865
|
-
"hasDynamicHelp": false,
|
|
1866
|
-
"multiple": false,
|
|
1867
|
-
"type": "option"
|
|
1868
|
-
},
|
|
1869
|
-
"api-version": {
|
|
1870
|
-
"description": "Override the api version used for api requests made by this command",
|
|
1871
|
-
"name": "api-version",
|
|
1872
|
-
"summary": "Will set this version as sourceApiVersion in the sfdx-project.json file",
|
|
1873
|
-
"hasDynamicHelp": false,
|
|
1874
|
-
"multiple": false,
|
|
1875
|
-
"type": "option"
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
"hasDynamicHelp": false,
|
|
1879
|
-
"hiddenAliases": [],
|
|
1880
|
-
"id": "template:generate:project",
|
|
1881
|
-
"pluginAlias": "@salesforce/plugin-templates",
|
|
1882
|
-
"pluginName": "@salesforce/plugin-templates",
|
|
1883
|
-
"pluginType": "core",
|
|
1884
|
-
"strict": true,
|
|
1885
|
-
"summary": "Generate a Salesforce DX project.",
|
|
1886
|
-
"enableJsonFlag": true,
|
|
1887
|
-
"isESM": true,
|
|
1888
|
-
"relativePath": [
|
|
1889
|
-
"lib",
|
|
1890
|
-
"commands",
|
|
1891
|
-
"template",
|
|
1892
|
-
"generate",
|
|
1893
|
-
"project",
|
|
1894
|
-
"index.js"
|
|
1895
|
-
],
|
|
1896
|
-
"aliasPermutations": [
|
|
1897
|
-
"force:project:create",
|
|
1898
|
-
"project:force:create",
|
|
1899
|
-
"project:create:force",
|
|
1900
|
-
"force:create:project",
|
|
1901
|
-
"create:force:project",
|
|
1902
|
-
"create:project:force",
|
|
1903
|
-
"project:generate",
|
|
1904
|
-
"generate:project"
|
|
1905
|
-
],
|
|
1906
|
-
"permutations": [
|
|
1907
|
-
"template:generate:project",
|
|
1908
|
-
"generate:template:project",
|
|
1909
|
-
"generate:project:template",
|
|
1910
|
-
"template:project:generate",
|
|
1911
|
-
"project:template:generate",
|
|
1912
|
-
"project:generate:template"
|
|
1913
|
-
]
|
|
1914
|
-
},
|
|
1915
1916
|
"template:generate:static-resource": {
|
|
1916
1917
|
"aliases": [
|
|
1917
1918
|
"force:staticresource:create",
|
|
@@ -2507,5 +2508,5 @@
|
|
|
2507
2508
|
]
|
|
2508
2509
|
}
|
|
2509
2510
|
},
|
|
2510
|
-
"version": "56.
|
|
2511
|
+
"version": "56.11.0"
|
|
2511
2512
|
}
|
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.
|
|
4
|
+
"version": "56.11.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@salesforce/core": "^8.27.0",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
|
-
"@salesforce/templates": "^66.
|
|
12
|
+
"@salesforce/templates": "^66.5.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@oclif/plugin-command-snapshot": "^5.3.
|
|
15
|
+
"@oclif/plugin-command-snapshot": "^5.3.12",
|
|
16
16
|
"@salesforce/cli-plugins-testkit": "^5.3.41",
|
|
17
17
|
"@salesforce/dev-scripts": "^11.0.4",
|
|
18
18
|
"@salesforce/plugin-command-reference": "^3.1.81",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"exports": "./lib/index.js",
|
|
250
250
|
"type": "module",
|
|
251
251
|
"sfdx": {
|
|
252
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.
|
|
253
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.
|
|
252
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.11.0.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.11.0.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|