@salesforce/plugin-templates 56.16.7 → 56.17.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
|
@@ -177,7 +177,7 @@ FLAG DESCRIPTIONS
|
|
|
177
177
|
directory.
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
180
|
+
_See code: [src/commands/template/generate/analytics/template.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/analytics/template.ts)_
|
|
181
181
|
|
|
182
182
|
## `sf template generate apex class`
|
|
183
183
|
|
|
@@ -237,7 +237,7 @@ FLAG DESCRIPTIONS
|
|
|
237
237
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
240
|
+
_See code: [src/commands/template/generate/apex/class.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/apex/class.ts)_
|
|
241
241
|
|
|
242
242
|
## `sf template generate apex trigger`
|
|
243
243
|
|
|
@@ -307,7 +307,7 @@ FLAG DESCRIPTIONS
|
|
|
307
307
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
310
|
+
_See code: [src/commands/template/generate/apex/trigger.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/apex/trigger.ts)_
|
|
311
311
|
|
|
312
312
|
## `sf template generate digital-experience site`
|
|
313
313
|
|
|
@@ -361,7 +361,7 @@ FLAG DESCRIPTIONS
|
|
|
361
361
|
project, defaults to the current directory.
|
|
362
362
|
```
|
|
363
363
|
|
|
364
|
-
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
364
|
+
_See code: [src/commands/template/generate/digital-experience/site.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/digital-experience/site.ts)_
|
|
365
365
|
|
|
366
366
|
## `sf template generate flexipage`
|
|
367
367
|
|
|
@@ -443,7 +443,7 @@ FLAG DESCRIPTIONS
|
|
|
443
443
|
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
|
|
444
444
|
```
|
|
445
445
|
|
|
446
|
-
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
446
|
+
_See code: [src/commands/template/generate/flexipage/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/flexipage/index.ts)_
|
|
447
447
|
|
|
448
448
|
## `sf template generate lightning app`
|
|
449
449
|
|
|
@@ -501,7 +501,7 @@ FLAG DESCRIPTIONS
|
|
|
501
501
|
field in the DX project's "sfdx-project.json" file.
|
|
502
502
|
```
|
|
503
503
|
|
|
504
|
-
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
504
|
+
_See code: [src/commands/template/generate/lightning/app.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/lightning/app.ts)_
|
|
505
505
|
|
|
506
506
|
## `sf template generate lightning component`
|
|
507
507
|
|
|
@@ -578,7 +578,7 @@ FLAG DESCRIPTIONS
|
|
|
578
578
|
field in the DX project's "sfdx-project.json" file.
|
|
579
579
|
```
|
|
580
580
|
|
|
581
|
-
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
581
|
+
_See code: [src/commands/template/generate/lightning/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/lightning/component.ts)_
|
|
582
582
|
|
|
583
583
|
## `sf template generate lightning event`
|
|
584
584
|
|
|
@@ -636,7 +636,7 @@ FLAG DESCRIPTIONS
|
|
|
636
636
|
field in the DX project's "sfdx-project.json" file.
|
|
637
637
|
```
|
|
638
638
|
|
|
639
|
-
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
639
|
+
_See code: [src/commands/template/generate/lightning/event.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/lightning/event.ts)_
|
|
640
640
|
|
|
641
641
|
## `sf template generate lightning interface`
|
|
642
642
|
|
|
@@ -694,7 +694,7 @@ FLAG DESCRIPTIONS
|
|
|
694
694
|
field in the DX project's "sfdx-project.json" file.
|
|
695
695
|
```
|
|
696
696
|
|
|
697
|
-
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
697
|
+
_See code: [src/commands/template/generate/lightning/interface.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/lightning/interface.ts)_
|
|
698
698
|
|
|
699
699
|
## `sf template generate lightning test`
|
|
700
700
|
|
|
@@ -752,7 +752,7 @@ FLAG DESCRIPTIONS
|
|
|
752
752
|
field in the DX project's "sfdx-project.json" file.
|
|
753
753
|
```
|
|
754
754
|
|
|
755
|
-
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
755
|
+
_See code: [src/commands/template/generate/lightning/test.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/lightning/test.ts)_
|
|
756
756
|
|
|
757
757
|
## `sf template generate project`
|
|
758
758
|
|
|
@@ -878,7 +878,7 @@ FLAG DESCRIPTIONS
|
|
|
878
878
|
server-side type stripping.
|
|
879
879
|
```
|
|
880
880
|
|
|
881
|
-
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
881
|
+
_See code: [src/commands/template/generate/project/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/project/index.ts)_
|
|
882
882
|
|
|
883
883
|
## `sf template generate static-resource`
|
|
884
884
|
|
|
@@ -941,7 +941,7 @@ FLAG DESCRIPTIONS
|
|
|
941
941
|
etc.
|
|
942
942
|
```
|
|
943
943
|
|
|
944
|
-
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
944
|
+
_See code: [src/commands/template/generate/static-resource/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/static-resource/index.ts)_
|
|
945
945
|
|
|
946
946
|
## `sf template generate ui-bundle`
|
|
947
947
|
|
|
@@ -1025,7 +1025,7 @@ FLAG DESCRIPTIONS
|
|
|
1025
1025
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1026
1026
|
```
|
|
1027
1027
|
|
|
1028
|
-
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1028
|
+
_See code: [src/commands/template/generate/ui-bundle/index.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/ui-bundle/index.ts)_
|
|
1029
1029
|
|
|
1030
1030
|
## `sf template generate visualforce component`
|
|
1031
1031
|
|
|
@@ -1082,7 +1082,7 @@ FLAG DESCRIPTIONS
|
|
|
1082
1082
|
Supplied parameter values or default values are filled into a copy of the template.
|
|
1083
1083
|
```
|
|
1084
1084
|
|
|
1085
|
-
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1085
|
+
_See code: [src/commands/template/generate/visualforce/component.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/visualforce/component.ts)_
|
|
1086
1086
|
|
|
1087
1087
|
## `sf template generate visualforce page`
|
|
1088
1088
|
|
|
@@ -1133,6 +1133,6 @@ FLAG DESCRIPTIONS
|
|
|
1133
1133
|
The name can be up to 40 characters and must start with a letter.
|
|
1134
1134
|
```
|
|
1135
1135
|
|
|
1136
|
-
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.
|
|
1136
|
+
_See code: [src/commands/template/generate/visualforce/page.ts](https://github.com/salesforcecli/plugin-templates/blob/56.17.1/src/commands/template/generate/visualforce/page.ts)_
|
|
1137
1137
|
|
|
1138
1138
|
<!-- commandsstop -->
|
|
@@ -18,5 +18,15 @@ export default class UiBundleGenerate extends SfCommand<CreateOutput> {
|
|
|
18
18
|
* or falls back to the current directory if not in a project context.
|
|
19
19
|
*/
|
|
20
20
|
private static getDefaultOutputDir;
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new `.graphqlrc.yml` at the sfdx project root so the GraphQL LSP extension
|
|
23
|
+
* can auto-discover it. The file at the project root references `schema.graphql` as a
|
|
24
|
+
* sibling and uses a recursive glob for documents so nested ui-bundle src trees are picked up.
|
|
25
|
+
*
|
|
26
|
+
* Returns the new file path on success, or undefined when not running inside an sfdx project,
|
|
27
|
+
* when the bundle's `.graphqlrc.yml` was not generated, or when a `.graphqlrc.yml` already
|
|
28
|
+
* exists at the project root.
|
|
29
|
+
*/
|
|
30
|
+
private static createGraphqlrcAtProjectRoot;
|
|
21
31
|
run(): Promise<CreateOutput>;
|
|
22
32
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
import path from 'node:path';
|
|
8
|
+
import fs from 'node:fs/promises';
|
|
8
9
|
import { Flags, SfCommand, Ux } from '@salesforce/sf-plugins-core';
|
|
9
10
|
import { TemplateType } from '@salesforce/templates';
|
|
10
11
|
import { Messages, SfProject } from '@salesforce/core';
|
|
@@ -12,6 +13,7 @@ import { getCustomTemplates, runGenerator } from '../../../../utils/templateComm
|
|
|
12
13
|
Messages.importMessagesDirectoryFromMetaUrl(import.meta.url);
|
|
13
14
|
const messages = Messages.loadMessages('@salesforce/plugin-templates', 'ui-bundle.generate');
|
|
14
15
|
export const UI_BUNDLES_DIR = 'uiBundles';
|
|
16
|
+
const GRAPHQLRC_FILENAME = '.graphqlrc.yml';
|
|
15
17
|
export default class UiBundleGenerate extends SfCommand {
|
|
16
18
|
static summary = messages.getMessage('summary');
|
|
17
19
|
static description = messages.getMessage('description');
|
|
@@ -57,6 +59,42 @@ export default class UiBundleGenerate extends SfCommand {
|
|
|
57
59
|
return '.';
|
|
58
60
|
}
|
|
59
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new `.graphqlrc.yml` at the sfdx project root so the GraphQL LSP extension
|
|
64
|
+
* can auto-discover it. The file at the project root references `schema.graphql` as a
|
|
65
|
+
* sibling and uses a recursive glob for documents so nested ui-bundle src trees are picked up.
|
|
66
|
+
*
|
|
67
|
+
* Returns the new file path on success, or undefined when not running inside an sfdx project,
|
|
68
|
+
* when the bundle's `.graphqlrc.yml` was not generated, or when a `.graphqlrc.yml` already
|
|
69
|
+
* exists at the project root.
|
|
70
|
+
*/
|
|
71
|
+
static async createGraphqlrcAtProjectRoot(bundleSourcePath) {
|
|
72
|
+
let projectRoot;
|
|
73
|
+
try {
|
|
74
|
+
const project = await SfProject.resolve();
|
|
75
|
+
projectRoot = project.getPath();
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
return undefined;
|
|
79
|
+
}
|
|
80
|
+
try {
|
|
81
|
+
await fs.access(bundleSourcePath);
|
|
82
|
+
}
|
|
83
|
+
catch {
|
|
84
|
+
return undefined;
|
|
85
|
+
}
|
|
86
|
+
const targetPath = path.join(projectRoot, GRAPHQLRC_FILENAME);
|
|
87
|
+
try {
|
|
88
|
+
await fs.access(targetPath);
|
|
89
|
+
return undefined;
|
|
90
|
+
}
|
|
91
|
+
catch {
|
|
92
|
+
// target does not exist — proceed
|
|
93
|
+
}
|
|
94
|
+
const content = "schema: 'schema.graphql'\ndocuments: './**/src/**/*.{graphql,js,ts,jsx,tsx}'\n";
|
|
95
|
+
await fs.writeFile(targetPath, content);
|
|
96
|
+
return targetPath;
|
|
97
|
+
}
|
|
60
98
|
async run() {
|
|
61
99
|
const { flags } = await this.parse(UiBundleGenerate);
|
|
62
100
|
const outputDir = flags['output-dir'] ?? (await UiBundleGenerate.getDefaultOutputDir());
|
|
@@ -67,12 +105,28 @@ export default class UiBundleGenerate extends SfCommand {
|
|
|
67
105
|
outputdir: outputDir,
|
|
68
106
|
apiversion: flags['api-version'],
|
|
69
107
|
};
|
|
70
|
-
|
|
108
|
+
const ux = new Ux({ jsonEnabled: this.jsonEnabled() });
|
|
109
|
+
const result = await runGenerator({
|
|
71
110
|
templateType: TemplateType.UIBundle,
|
|
72
111
|
opts: flagsAsOptions,
|
|
73
|
-
ux
|
|
112
|
+
ux,
|
|
74
113
|
templates: getCustomTemplates(this.configAggregator),
|
|
75
114
|
});
|
|
115
|
+
if (flags.template === 'reactbasic') {
|
|
116
|
+
const bundleSourcePath = path.join(result.outputDir, flags.name, GRAPHQLRC_FILENAME);
|
|
117
|
+
const newPath = await UiBundleGenerate.createGraphqlrcAtProjectRoot(bundleSourcePath);
|
|
118
|
+
if (newPath) {
|
|
119
|
+
const targetRelative = path.relative(process.cwd(), newPath);
|
|
120
|
+
const createLine = ` create ${targetRelative}`;
|
|
121
|
+
ux.log(createLine);
|
|
122
|
+
return {
|
|
123
|
+
...result,
|
|
124
|
+
created: [...result.created, targetRelative],
|
|
125
|
+
rawOutput: `${result.rawOutput.replace(/\n$/, '')}\n${createLine}\n`,
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return result;
|
|
76
130
|
}
|
|
77
131
|
}
|
|
78
132
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,KAA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K,UAAU,IAAI;iBACrE,CAAC;YACJ,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"template:generate:
|
|
3
|
+
"template:generate:analytics:template": {
|
|
4
4
|
"aliases": [
|
|
5
|
-
"force:
|
|
6
|
-
"
|
|
5
|
+
"force:analytics:template:create",
|
|
6
|
+
"analytics:generate:template"
|
|
7
7
|
],
|
|
8
8
|
"args": {},
|
|
9
9
|
"deprecateAliases": true,
|
|
10
|
-
"description": "
|
|
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
11
|
"examples": [
|
|
12
|
-
"Generate
|
|
13
|
-
"Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
|
|
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"
|
|
14
13
|
],
|
|
15
14
|
"flags": {
|
|
16
15
|
"json": {
|
|
@@ -28,37 +27,6 @@
|
|
|
28
27
|
"multiple": false,
|
|
29
28
|
"type": "option"
|
|
30
29
|
},
|
|
31
|
-
"name": {
|
|
32
|
-
"aliases": [
|
|
33
|
-
"classname"
|
|
34
|
-
],
|
|
35
|
-
"char": "n",
|
|
36
|
-
"deprecateAliases": true,
|
|
37
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
38
|
-
"name": "name",
|
|
39
|
-
"required": true,
|
|
40
|
-
"summary": "Name of the generated Apex class.",
|
|
41
|
-
"hasDynamicHelp": false,
|
|
42
|
-
"multiple": false,
|
|
43
|
-
"type": "option"
|
|
44
|
-
},
|
|
45
|
-
"template": {
|
|
46
|
-
"char": "t",
|
|
47
|
-
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
48
|
-
"name": "template",
|
|
49
|
-
"summary": "Template to use for file creation.",
|
|
50
|
-
"default": "DefaultApexClass",
|
|
51
|
-
"hasDynamicHelp": false,
|
|
52
|
-
"multiple": false,
|
|
53
|
-
"options": [
|
|
54
|
-
"ApexException",
|
|
55
|
-
"ApexUnitTest",
|
|
56
|
-
"BasicUnitTest",
|
|
57
|
-
"DefaultApexClass",
|
|
58
|
-
"InboundEmailService"
|
|
59
|
-
],
|
|
60
|
-
"type": "option"
|
|
61
|
-
},
|
|
62
30
|
"output-dir": {
|
|
63
31
|
"aliases": [
|
|
64
32
|
"outputdir"
|
|
@@ -84,6 +52,19 @@
|
|
|
84
52
|
"multiple": false,
|
|
85
53
|
"type": "option"
|
|
86
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
|
+
},
|
|
87
68
|
"loglevel": {
|
|
88
69
|
"deprecated": {
|
|
89
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."
|
|
@@ -97,12 +78,12 @@
|
|
|
97
78
|
},
|
|
98
79
|
"hasDynamicHelp": false,
|
|
99
80
|
"hiddenAliases": [],
|
|
100
|
-
"id": "template:generate:
|
|
81
|
+
"id": "template:generate:analytics:template",
|
|
101
82
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
102
83
|
"pluginName": "@salesforce/plugin-templates",
|
|
103
84
|
"pluginType": "core",
|
|
104
85
|
"strict": true,
|
|
105
|
-
"summary": "Generate
|
|
86
|
+
"summary": "Generate a simple Analytics template.",
|
|
106
87
|
"enableJsonFlag": true,
|
|
107
88
|
"isESM": true,
|
|
108
89
|
"relativePath": [
|
|
@@ -110,80 +91,75 @@
|
|
|
110
91
|
"commands",
|
|
111
92
|
"template",
|
|
112
93
|
"generate",
|
|
113
|
-
"
|
|
114
|
-
"
|
|
94
|
+
"analytics",
|
|
95
|
+
"template.js"
|
|
115
96
|
],
|
|
116
97
|
"aliasPermutations": [
|
|
117
|
-
"force:
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"force:
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"force:
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"force:
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"force:create:
|
|
134
|
-
"create:force:
|
|
135
|
-
"create:
|
|
136
|
-
"create:
|
|
137
|
-
"force:create:
|
|
138
|
-
"create:force:
|
|
139
|
-
"create:
|
|
140
|
-
"create:
|
|
141
|
-
"
|
|
142
|
-
"generate:
|
|
143
|
-
"generate:
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
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"
|
|
147
128
|
],
|
|
148
129
|
"permutations": [
|
|
149
|
-
"template:generate:
|
|
150
|
-
"generate:template:
|
|
151
|
-
"generate:
|
|
152
|
-
"generate:
|
|
153
|
-
"template:
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"template:
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"template:generate:
|
|
162
|
-
"generate:template:
|
|
163
|
-
"generate:
|
|
164
|
-
"generate:
|
|
165
|
-
"template:
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"template:
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
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"
|
|
173
154
|
]
|
|
174
155
|
},
|
|
175
|
-
"template:generate:
|
|
176
|
-
"aliases": [
|
|
177
|
-
"force:apex:trigger:create",
|
|
178
|
-
"apex:generate:trigger"
|
|
179
|
-
],
|
|
156
|
+
"template:generate:digital-experience:site": {
|
|
157
|
+
"aliases": [],
|
|
180
158
|
"args": {},
|
|
181
|
-
"
|
|
182
|
-
"description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" 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.\n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
|
|
159
|
+
"description": "Creates the metadata of an Experience Cloud site with the specified template, name, and URL path prefix. The output includes all the necessary metadata files, including DigitalExperienceConfig, DigitalExperienceBundle, Network, and CustomSite.\nUnlike `sf community create`, which builds the site directly in the org, this command generates only the local metadata.",
|
|
183
160
|
"examples": [
|
|
184
|
-
"Generate
|
|
185
|
-
"
|
|
186
|
-
"Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
|
|
161
|
+
"Generate an Experience Cloud site using the Build Your Own (LWR) template. The site is called \"mysite\" and has the URL path prefix \"mysite\":\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite",
|
|
162
|
+
"Generate an Experience Cloud site like the last example, but generate the files into the specified output directory:\n<%= config.bin %> <%= command.id %> --template-name \"Build Your Own (LWR)\" --name mysite --url-path-prefix mysite --output-dir force-app/main/default"
|
|
187
163
|
],
|
|
188
164
|
"flags": {
|
|
189
165
|
"json": {
|
|
@@ -201,111 +177,72 @@
|
|
|
201
177
|
"multiple": false,
|
|
202
178
|
"type": "option"
|
|
203
179
|
},
|
|
180
|
+
"target-org": {
|
|
181
|
+
"char": "o",
|
|
182
|
+
"name": "target-org",
|
|
183
|
+
"noCacheDefault": true,
|
|
184
|
+
"summary": "Username or alias of the target org.",
|
|
185
|
+
"hasDynamicHelp": true,
|
|
186
|
+
"multiple": false,
|
|
187
|
+
"type": "option"
|
|
188
|
+
},
|
|
204
189
|
"name": {
|
|
205
|
-
"aliases": [
|
|
206
|
-
"triggername"
|
|
207
|
-
],
|
|
208
190
|
"char": "n",
|
|
209
|
-
"deprecateAliases": true,
|
|
210
|
-
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
211
191
|
"name": "name",
|
|
212
192
|
"required": true,
|
|
213
|
-
"summary": "Name of the
|
|
193
|
+
"summary": "Name of the Experience Cloud site to generate.",
|
|
214
194
|
"hasDynamicHelp": false,
|
|
215
195
|
"multiple": false,
|
|
216
196
|
"type": "option"
|
|
217
197
|
},
|
|
218
|
-
"template": {
|
|
198
|
+
"template-name": {
|
|
219
199
|
"char": "t",
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"summary": "Template to use
|
|
223
|
-
"default": "ApexTrigger",
|
|
200
|
+
"name": "template-name",
|
|
201
|
+
"required": true,
|
|
202
|
+
"summary": "Template to use when generating the site.",
|
|
224
203
|
"hasDynamicHelp": false,
|
|
225
204
|
"multiple": false,
|
|
226
205
|
"options": [
|
|
227
|
-
"
|
|
206
|
+
"Build Your Own (LWR)"
|
|
228
207
|
],
|
|
229
208
|
"type": "option"
|
|
230
209
|
},
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
"
|
|
236
|
-
"deprecateAliases": true,
|
|
237
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
238
|
-
"name": "output-dir",
|
|
239
|
-
"summary": "Directory for saving the created files.",
|
|
240
|
-
"default": ".",
|
|
210
|
+
"url-path-prefix": {
|
|
211
|
+
"char": "p",
|
|
212
|
+
"name": "url-path-prefix",
|
|
213
|
+
"summary": "URL path prefix for the site; must contain only alphanumeric characters.",
|
|
214
|
+
"default": "",
|
|
241
215
|
"hasDynamicHelp": false,
|
|
242
216
|
"multiple": false,
|
|
243
217
|
"type": "option"
|
|
244
218
|
},
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"deprecateAliases": true,
|
|
250
|
-
"description": "Override the api version used for api requests made by this command",
|
|
251
|
-
"name": "api-version",
|
|
219
|
+
"admin-email": {
|
|
220
|
+
"char": "e",
|
|
221
|
+
"name": "admin-email",
|
|
222
|
+
"summary": "Email address for the site administrator. Defaults to the username of the currently authenticated user.",
|
|
252
223
|
"hasDynamicHelp": false,
|
|
253
224
|
"multiple": false,
|
|
254
225
|
"type": "option"
|
|
255
226
|
},
|
|
256
|
-
"
|
|
257
|
-
"char": "
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"hasDynamicHelp": false,
|
|
262
|
-
"multiple": false,
|
|
263
|
-
"type": "option"
|
|
264
|
-
},
|
|
265
|
-
"event": {
|
|
266
|
-
"aliases": [
|
|
267
|
-
"triggerevents"
|
|
268
|
-
],
|
|
269
|
-
"char": "e",
|
|
270
|
-
"deprecateAliases": true,
|
|
271
|
-
"name": "event",
|
|
272
|
-
"summary": "Events that fire the trigger.",
|
|
273
|
-
"default": [
|
|
274
|
-
"before insert"
|
|
275
|
-
],
|
|
276
|
-
"delimiter": ",",
|
|
277
|
-
"hasDynamicHelp": false,
|
|
278
|
-
"multiple": true,
|
|
279
|
-
"options": [
|
|
280
|
-
"before insert",
|
|
281
|
-
"before update",
|
|
282
|
-
"before delete",
|
|
283
|
-
"after insert",
|
|
284
|
-
"after update",
|
|
285
|
-
"after delete",
|
|
286
|
-
"after undelete"
|
|
287
|
-
],
|
|
288
|
-
"type": "option"
|
|
289
|
-
},
|
|
290
|
-
"loglevel": {
|
|
291
|
-
"deprecated": {
|
|
292
|
-
"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."
|
|
293
|
-
},
|
|
294
|
-
"hidden": true,
|
|
295
|
-
"name": "loglevel",
|
|
227
|
+
"output-dir": {
|
|
228
|
+
"char": "d",
|
|
229
|
+
"description": "The location can be an absolute path or relative to the current working directory. If not specified, the command reads your sfdx-project.json file and uses the default package directory. When running outside a Salesforce DX project, defaults to the current directory.",
|
|
230
|
+
"name": "output-dir",
|
|
231
|
+
"summary": "Directory to generate the site files in.",
|
|
296
232
|
"hasDynamicHelp": false,
|
|
297
233
|
"multiple": false,
|
|
298
234
|
"type": "option"
|
|
299
235
|
}
|
|
300
236
|
},
|
|
301
|
-
"hasDynamicHelp":
|
|
237
|
+
"hasDynamicHelp": true,
|
|
302
238
|
"hiddenAliases": [],
|
|
303
|
-
"id": "template:generate:
|
|
239
|
+
"id": "template:generate:digital-experience:site",
|
|
304
240
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
305
241
|
"pluginName": "@salesforce/plugin-templates",
|
|
306
242
|
"pluginType": "core",
|
|
243
|
+
"state": "preview",
|
|
307
244
|
"strict": true,
|
|
308
|
-
"summary": "Generate an
|
|
245
|
+
"summary": "Generate an Experience Cloud site.",
|
|
309
246
|
"enableJsonFlag": true,
|
|
310
247
|
"isESM": true,
|
|
311
248
|
"relativePath": [
|
|
@@ -313,78 +250,48 @@
|
|
|
313
250
|
"commands",
|
|
314
251
|
"template",
|
|
315
252
|
"generate",
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
],
|
|
319
|
-
"aliasPermutations": [
|
|
320
|
-
"force:apex:trigger:create",
|
|
321
|
-
"apex:force:trigger:create",
|
|
322
|
-
"apex:trigger:force:create",
|
|
323
|
-
"apex:trigger:create:force",
|
|
324
|
-
"force:trigger:apex:create",
|
|
325
|
-
"trigger:force:apex:create",
|
|
326
|
-
"trigger:apex:force:create",
|
|
327
|
-
"trigger:apex:create:force",
|
|
328
|
-
"force:trigger:create:apex",
|
|
329
|
-
"trigger:force:create:apex",
|
|
330
|
-
"trigger:create:force:apex",
|
|
331
|
-
"trigger:create:apex:force",
|
|
332
|
-
"force:apex:create:trigger",
|
|
333
|
-
"apex:force:create:trigger",
|
|
334
|
-
"apex:create:force:trigger",
|
|
335
|
-
"apex:create:trigger:force",
|
|
336
|
-
"force:create:apex:trigger",
|
|
337
|
-
"create:force:apex:trigger",
|
|
338
|
-
"create:apex:force:trigger",
|
|
339
|
-
"create:apex:trigger:force",
|
|
340
|
-
"force:create:trigger:apex",
|
|
341
|
-
"create:force:trigger:apex",
|
|
342
|
-
"create:trigger:force:apex",
|
|
343
|
-
"create:trigger:apex:force",
|
|
344
|
-
"apex:generate:trigger",
|
|
345
|
-
"generate:apex:trigger",
|
|
346
|
-
"generate:trigger:apex",
|
|
347
|
-
"apex:trigger:generate",
|
|
348
|
-
"trigger:apex:generate",
|
|
349
|
-
"trigger:generate:apex"
|
|
253
|
+
"digital-experience",
|
|
254
|
+
"site.js"
|
|
350
255
|
],
|
|
256
|
+
"aliasPermutations": [],
|
|
351
257
|
"permutations": [
|
|
352
|
-
"template:generate:
|
|
353
|
-
"generate:template:
|
|
354
|
-
"generate:
|
|
355
|
-
"generate:
|
|
356
|
-
"template:
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"
|
|
360
|
-
"template:
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"template:generate:
|
|
365
|
-
"generate:template:
|
|
366
|
-
"generate:
|
|
367
|
-
"generate:
|
|
368
|
-
"template:
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
"template:
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
258
|
+
"template:generate:digital-experience:site",
|
|
259
|
+
"generate:template:digital-experience:site",
|
|
260
|
+
"generate:digital-experience:template:site",
|
|
261
|
+
"generate:digital-experience:site:template",
|
|
262
|
+
"template:digital-experience:generate:site",
|
|
263
|
+
"digital-experience:template:generate:site",
|
|
264
|
+
"digital-experience:generate:template:site",
|
|
265
|
+
"digital-experience:generate:site:template",
|
|
266
|
+
"template:digital-experience:site:generate",
|
|
267
|
+
"digital-experience:template:site:generate",
|
|
268
|
+
"digital-experience:site:template:generate",
|
|
269
|
+
"digital-experience:site:generate:template",
|
|
270
|
+
"template:generate:site:digital-experience",
|
|
271
|
+
"generate:template:site:digital-experience",
|
|
272
|
+
"generate:site:template:digital-experience",
|
|
273
|
+
"generate:site:digital-experience:template",
|
|
274
|
+
"template:site:generate:digital-experience",
|
|
275
|
+
"site:template:generate:digital-experience",
|
|
276
|
+
"site:generate:template:digital-experience",
|
|
277
|
+
"site:generate:digital-experience:template",
|
|
278
|
+
"template:site:digital-experience:generate",
|
|
279
|
+
"site:template:digital-experience:generate",
|
|
280
|
+
"site:digital-experience:template:generate",
|
|
281
|
+
"site:digital-experience:generate:template"
|
|
376
282
|
]
|
|
377
283
|
},
|
|
378
|
-
"template:generate:
|
|
284
|
+
"template:generate:apex:class": {
|
|
379
285
|
"aliases": [
|
|
380
|
-
"force:
|
|
381
|
-
"
|
|
286
|
+
"force:apex:class:create",
|
|
287
|
+
"apex:generate:class"
|
|
382
288
|
],
|
|
383
289
|
"args": {},
|
|
384
290
|
"deprecateAliases": true,
|
|
385
|
-
"description": "
|
|
291
|
+
"description": "Generates the Apex *.cls file and associated metadata file. These files must be contained in a parent directory called \"classes\" 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
292
|
"examples": [
|
|
387
|
-
"Generate
|
|
293
|
+
"Generate two metadata files associated with the MyClass Apex class (MyClass.cls and MyClass.cls-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyClass",
|
|
294
|
+
"Similar to previous example, but generates the files in the \"force-app/main/default/classes\" directory:\n<%= config.bin %> <%= command.id %> --name MyClass --output-dir force-app/main/default/classes"
|
|
388
295
|
],
|
|
389
296
|
"flags": {
|
|
390
297
|
"json": {
|
|
@@ -402,6 +309,37 @@
|
|
|
402
309
|
"multiple": false,
|
|
403
310
|
"type": "option"
|
|
404
311
|
},
|
|
312
|
+
"name": {
|
|
313
|
+
"aliases": [
|
|
314
|
+
"classname"
|
|
315
|
+
],
|
|
316
|
+
"char": "n",
|
|
317
|
+
"deprecateAliases": true,
|
|
318
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
319
|
+
"name": "name",
|
|
320
|
+
"required": true,
|
|
321
|
+
"summary": "Name of the generated Apex class.",
|
|
322
|
+
"hasDynamicHelp": false,
|
|
323
|
+
"multiple": false,
|
|
324
|
+
"type": "option"
|
|
325
|
+
},
|
|
326
|
+
"template": {
|
|
327
|
+
"char": "t",
|
|
328
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
329
|
+
"name": "template",
|
|
330
|
+
"summary": "Template to use for file creation.",
|
|
331
|
+
"default": "DefaultApexClass",
|
|
332
|
+
"hasDynamicHelp": false,
|
|
333
|
+
"multiple": false,
|
|
334
|
+
"options": [
|
|
335
|
+
"ApexException",
|
|
336
|
+
"ApexUnitTest",
|
|
337
|
+
"BasicUnitTest",
|
|
338
|
+
"DefaultApexClass",
|
|
339
|
+
"InboundEmailService"
|
|
340
|
+
],
|
|
341
|
+
"type": "option"
|
|
342
|
+
},
|
|
405
343
|
"output-dir": {
|
|
406
344
|
"aliases": [
|
|
407
345
|
"outputdir"
|
|
@@ -427,19 +365,6 @@
|
|
|
427
365
|
"multiple": false,
|
|
428
366
|
"type": "option"
|
|
429
367
|
},
|
|
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
368
|
"loglevel": {
|
|
444
369
|
"deprecated": {
|
|
445
370
|
"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."
|
|
@@ -453,12 +378,12 @@
|
|
|
453
378
|
},
|
|
454
379
|
"hasDynamicHelp": false,
|
|
455
380
|
"hiddenAliases": [],
|
|
456
|
-
"id": "template:generate:
|
|
381
|
+
"id": "template:generate:apex:class",
|
|
457
382
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
458
383
|
"pluginName": "@salesforce/plugin-templates",
|
|
459
384
|
"pluginType": "core",
|
|
460
385
|
"strict": true,
|
|
461
|
-
"summary": "Generate
|
|
386
|
+
"summary": "Generate an Apex class.",
|
|
462
387
|
"enableJsonFlag": true,
|
|
463
388
|
"isESM": true,
|
|
464
389
|
"relativePath": [
|
|
@@ -466,75 +391,80 @@
|
|
|
466
391
|
"commands",
|
|
467
392
|
"template",
|
|
468
393
|
"generate",
|
|
469
|
-
"
|
|
470
|
-
"
|
|
394
|
+
"apex",
|
|
395
|
+
"class.js"
|
|
471
396
|
],
|
|
472
397
|
"aliasPermutations": [
|
|
473
|
-
"force:
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"force:
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
"force:
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
485
|
-
"force:
|
|
486
|
-
"
|
|
487
|
-
"
|
|
488
|
-
"
|
|
489
|
-
"force:create:
|
|
490
|
-
"create:force:
|
|
491
|
-
"create:
|
|
492
|
-
"create:
|
|
493
|
-
"force:create:
|
|
494
|
-
"create:force:
|
|
495
|
-
"create:
|
|
496
|
-
"create:
|
|
497
|
-
"
|
|
498
|
-
"generate:
|
|
499
|
-
"generate:
|
|
500
|
-
"
|
|
501
|
-
"
|
|
502
|
-
"
|
|
398
|
+
"force:apex:class:create",
|
|
399
|
+
"apex:force:class:create",
|
|
400
|
+
"apex:class:force:create",
|
|
401
|
+
"apex:class:create:force",
|
|
402
|
+
"force:class:apex:create",
|
|
403
|
+
"class:force:apex:create",
|
|
404
|
+
"class:apex:force:create",
|
|
405
|
+
"class:apex:create:force",
|
|
406
|
+
"force:class:create:apex",
|
|
407
|
+
"class:force:create:apex",
|
|
408
|
+
"class:create:force:apex",
|
|
409
|
+
"class:create:apex:force",
|
|
410
|
+
"force:apex:create:class",
|
|
411
|
+
"apex:force:create:class",
|
|
412
|
+
"apex:create:force:class",
|
|
413
|
+
"apex:create:class:force",
|
|
414
|
+
"force:create:apex:class",
|
|
415
|
+
"create:force:apex:class",
|
|
416
|
+
"create:apex:force:class",
|
|
417
|
+
"create:apex:class:force",
|
|
418
|
+
"force:create:class:apex",
|
|
419
|
+
"create:force:class:apex",
|
|
420
|
+
"create:class:force:apex",
|
|
421
|
+
"create:class:apex:force",
|
|
422
|
+
"apex:generate:class",
|
|
423
|
+
"generate:apex:class",
|
|
424
|
+
"generate:class:apex",
|
|
425
|
+
"apex:class:generate",
|
|
426
|
+
"class:apex:generate",
|
|
427
|
+
"class:generate:apex"
|
|
503
428
|
],
|
|
504
429
|
"permutations": [
|
|
505
|
-
"template:generate:
|
|
506
|
-
"generate:template:
|
|
507
|
-
"generate:
|
|
508
|
-
"generate:
|
|
509
|
-
"template:
|
|
510
|
-
"
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
"template:
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"template:generate:
|
|
518
|
-
"generate:template:
|
|
519
|
-
"generate:
|
|
520
|
-
"generate:
|
|
521
|
-
"template:
|
|
522
|
-
"
|
|
523
|
-
"
|
|
524
|
-
"
|
|
525
|
-
"template:
|
|
526
|
-
"
|
|
527
|
-
"
|
|
528
|
-
"
|
|
430
|
+
"template:generate:apex:class",
|
|
431
|
+
"generate:template:apex:class",
|
|
432
|
+
"generate:apex:template:class",
|
|
433
|
+
"generate:apex:class:template",
|
|
434
|
+
"template:apex:generate:class",
|
|
435
|
+
"apex:template:generate:class",
|
|
436
|
+
"apex:generate:template:class",
|
|
437
|
+
"apex:generate:class:template",
|
|
438
|
+
"template:apex:class:generate",
|
|
439
|
+
"apex:template:class:generate",
|
|
440
|
+
"apex:class:template:generate",
|
|
441
|
+
"apex:class:generate:template",
|
|
442
|
+
"template:generate:class:apex",
|
|
443
|
+
"generate:template:class:apex",
|
|
444
|
+
"generate:class:template:apex",
|
|
445
|
+
"generate:class:apex:template",
|
|
446
|
+
"template:class:generate:apex",
|
|
447
|
+
"class:template:generate:apex",
|
|
448
|
+
"class:generate:template:apex",
|
|
449
|
+
"class:generate:apex:template",
|
|
450
|
+
"template:class:apex:generate",
|
|
451
|
+
"class:template:apex:generate",
|
|
452
|
+
"class:apex:template:generate",
|
|
453
|
+
"class:apex:generate:template"
|
|
529
454
|
]
|
|
530
455
|
},
|
|
531
|
-
"template:generate:
|
|
532
|
-
"aliases": [
|
|
456
|
+
"template:generate:apex:trigger": {
|
|
457
|
+
"aliases": [
|
|
458
|
+
"force:apex:trigger:create",
|
|
459
|
+
"apex:generate:trigger"
|
|
460
|
+
],
|
|
533
461
|
"args": {},
|
|
534
|
-
"
|
|
462
|
+
"deprecateAliases": true,
|
|
463
|
+
"description": "Generates the Apex trigger *.trigger file and associated metadata file. These files must be contained in a parent directory called \"triggers\" 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.\n\nIf you don't specify the --sobject flag, the .trigger file contains the generic placeholder SOBJECT; replace it with the Salesforce object you want to generate a trigger for. If you don't specify --event, \"before insert\" is used.",
|
|
535
464
|
"examples": [
|
|
536
|
-
"Generate
|
|
537
|
-
"
|
|
465
|
+
"Generate two files associated with the MyTrigger Apex trigger (MyTrigger.trigger and MyTrigger.trigger-meta.xml) in the current directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger",
|
|
466
|
+
"Similar to the previous example, but generate the files in the \"force-app/main/default/triggers\" directory:\n<%= config.bin %> <%= command.id %> --name MyTrigger --output-dir force-app/main/default/triggers",
|
|
467
|
+
"Generate files for a trigger that fires on the Account object before and after an insert:\n<%= config.bin %> <%= command.id %> --name MyTrigger --sobject Account --event \"before insert,after insert\""
|
|
538
468
|
],
|
|
539
469
|
"flags": {
|
|
540
470
|
"json": {
|
|
@@ -552,72 +482,111 @@
|
|
|
552
482
|
"multiple": false,
|
|
553
483
|
"type": "option"
|
|
554
484
|
},
|
|
555
|
-
"target-org": {
|
|
556
|
-
"char": "o",
|
|
557
|
-
"name": "target-org",
|
|
558
|
-
"noCacheDefault": true,
|
|
559
|
-
"summary": "Username or alias of the target org.",
|
|
560
|
-
"hasDynamicHelp": true,
|
|
561
|
-
"multiple": false,
|
|
562
|
-
"type": "option"
|
|
563
|
-
},
|
|
564
485
|
"name": {
|
|
486
|
+
"aliases": [
|
|
487
|
+
"triggername"
|
|
488
|
+
],
|
|
565
489
|
"char": "n",
|
|
490
|
+
"deprecateAliases": true,
|
|
491
|
+
"description": "The name can be up to 40 characters and must start with a letter.",
|
|
566
492
|
"name": "name",
|
|
567
493
|
"required": true,
|
|
568
|
-
"summary": "Name of the
|
|
494
|
+
"summary": "Name of the generated Apex trigger",
|
|
569
495
|
"hasDynamicHelp": false,
|
|
570
496
|
"multiple": false,
|
|
571
497
|
"type": "option"
|
|
572
498
|
},
|
|
573
|
-
"template
|
|
499
|
+
"template": {
|
|
574
500
|
"char": "t",
|
|
575
|
-
"
|
|
576
|
-
"
|
|
577
|
-
"summary": "Template to use
|
|
501
|
+
"description": "Supplied parameter values or default values are filled into a copy of the template.",
|
|
502
|
+
"name": "template",
|
|
503
|
+
"summary": "Template to use for file creation.",
|
|
504
|
+
"default": "ApexTrigger",
|
|
578
505
|
"hasDynamicHelp": false,
|
|
579
506
|
"multiple": false,
|
|
580
507
|
"options": [
|
|
581
|
-
"
|
|
508
|
+
"ApexTrigger"
|
|
582
509
|
],
|
|
583
510
|
"type": "option"
|
|
584
511
|
},
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
"
|
|
512
|
+
"output-dir": {
|
|
513
|
+
"aliases": [
|
|
514
|
+
"outputdir"
|
|
515
|
+
],
|
|
516
|
+
"char": "d",
|
|
517
|
+
"deprecateAliases": true,
|
|
518
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
519
|
+
"name": "output-dir",
|
|
520
|
+
"summary": "Directory for saving the created files.",
|
|
521
|
+
"default": ".",
|
|
590
522
|
"hasDynamicHelp": false,
|
|
591
523
|
"multiple": false,
|
|
592
524
|
"type": "option"
|
|
593
525
|
},
|
|
594
|
-
"
|
|
595
|
-
"
|
|
596
|
-
|
|
597
|
-
|
|
526
|
+
"api-version": {
|
|
527
|
+
"aliases": [
|
|
528
|
+
"apiversion"
|
|
529
|
+
],
|
|
530
|
+
"deprecateAliases": true,
|
|
531
|
+
"description": "Override the api version used for api requests made by this command",
|
|
532
|
+
"name": "api-version",
|
|
598
533
|
"hasDynamicHelp": false,
|
|
599
534
|
"multiple": false,
|
|
600
535
|
"type": "option"
|
|
601
536
|
},
|
|
602
|
-
"
|
|
603
|
-
"char": "
|
|
604
|
-
"
|
|
605
|
-
"
|
|
606
|
-
"
|
|
537
|
+
"sobject": {
|
|
538
|
+
"char": "s",
|
|
539
|
+
"name": "sobject",
|
|
540
|
+
"summary": "Salesforce object to generate a trigger on.",
|
|
541
|
+
"default": "SOBJECT",
|
|
542
|
+
"hasDynamicHelp": false,
|
|
543
|
+
"multiple": false,
|
|
544
|
+
"type": "option"
|
|
545
|
+
},
|
|
546
|
+
"event": {
|
|
547
|
+
"aliases": [
|
|
548
|
+
"triggerevents"
|
|
549
|
+
],
|
|
550
|
+
"char": "e",
|
|
551
|
+
"deprecateAliases": true,
|
|
552
|
+
"name": "event",
|
|
553
|
+
"summary": "Events that fire the trigger.",
|
|
554
|
+
"default": [
|
|
555
|
+
"before insert"
|
|
556
|
+
],
|
|
557
|
+
"delimiter": ",",
|
|
558
|
+
"hasDynamicHelp": false,
|
|
559
|
+
"multiple": true,
|
|
560
|
+
"options": [
|
|
561
|
+
"before insert",
|
|
562
|
+
"before update",
|
|
563
|
+
"before delete",
|
|
564
|
+
"after insert",
|
|
565
|
+
"after update",
|
|
566
|
+
"after delete",
|
|
567
|
+
"after undelete"
|
|
568
|
+
],
|
|
569
|
+
"type": "option"
|
|
570
|
+
},
|
|
571
|
+
"loglevel": {
|
|
572
|
+
"deprecated": {
|
|
573
|
+
"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."
|
|
574
|
+
},
|
|
575
|
+
"hidden": true,
|
|
576
|
+
"name": "loglevel",
|
|
607
577
|
"hasDynamicHelp": false,
|
|
608
578
|
"multiple": false,
|
|
609
579
|
"type": "option"
|
|
610
580
|
}
|
|
611
581
|
},
|
|
612
|
-
"hasDynamicHelp":
|
|
582
|
+
"hasDynamicHelp": false,
|
|
613
583
|
"hiddenAliases": [],
|
|
614
|
-
"id": "template:generate:
|
|
584
|
+
"id": "template:generate:apex:trigger",
|
|
615
585
|
"pluginAlias": "@salesforce/plugin-templates",
|
|
616
586
|
"pluginName": "@salesforce/plugin-templates",
|
|
617
587
|
"pluginType": "core",
|
|
618
|
-
"state": "preview",
|
|
619
588
|
"strict": true,
|
|
620
|
-
"summary": "Generate an
|
|
589
|
+
"summary": "Generate an Apex trigger.",
|
|
621
590
|
"enableJsonFlag": true,
|
|
622
591
|
"isESM": true,
|
|
623
592
|
"relativePath": [
|
|
@@ -625,35 +594,66 @@
|
|
|
625
594
|
"commands",
|
|
626
595
|
"template",
|
|
627
596
|
"generate",
|
|
628
|
-
"
|
|
629
|
-
"
|
|
597
|
+
"apex",
|
|
598
|
+
"trigger.js"
|
|
599
|
+
],
|
|
600
|
+
"aliasPermutations": [
|
|
601
|
+
"force:apex:trigger:create",
|
|
602
|
+
"apex:force:trigger:create",
|
|
603
|
+
"apex:trigger:force:create",
|
|
604
|
+
"apex:trigger:create:force",
|
|
605
|
+
"force:trigger:apex:create",
|
|
606
|
+
"trigger:force:apex:create",
|
|
607
|
+
"trigger:apex:force:create",
|
|
608
|
+
"trigger:apex:create:force",
|
|
609
|
+
"force:trigger:create:apex",
|
|
610
|
+
"trigger:force:create:apex",
|
|
611
|
+
"trigger:create:force:apex",
|
|
612
|
+
"trigger:create:apex:force",
|
|
613
|
+
"force:apex:create:trigger",
|
|
614
|
+
"apex:force:create:trigger",
|
|
615
|
+
"apex:create:force:trigger",
|
|
616
|
+
"apex:create:trigger:force",
|
|
617
|
+
"force:create:apex:trigger",
|
|
618
|
+
"create:force:apex:trigger",
|
|
619
|
+
"create:apex:force:trigger",
|
|
620
|
+
"create:apex:trigger:force",
|
|
621
|
+
"force:create:trigger:apex",
|
|
622
|
+
"create:force:trigger:apex",
|
|
623
|
+
"create:trigger:force:apex",
|
|
624
|
+
"create:trigger:apex:force",
|
|
625
|
+
"apex:generate:trigger",
|
|
626
|
+
"generate:apex:trigger",
|
|
627
|
+
"generate:trigger:apex",
|
|
628
|
+
"apex:trigger:generate",
|
|
629
|
+
"trigger:apex:generate",
|
|
630
|
+
"trigger:generate:apex"
|
|
630
631
|
],
|
|
631
|
-
"aliasPermutations": [],
|
|
632
632
|
"permutations": [
|
|
633
|
-
"template:generate:
|
|
634
|
-
"generate:template:
|
|
635
|
-
"generate:
|
|
636
|
-
"generate:
|
|
637
|
-
"template:
|
|
638
|
-
"
|
|
639
|
-
"
|
|
640
|
-
"
|
|
641
|
-
"template:
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"template:generate:
|
|
646
|
-
"generate:template:
|
|
647
|
-
"generate:
|
|
648
|
-
"generate:
|
|
649
|
-
"template:
|
|
650
|
-
"
|
|
651
|
-
"
|
|
652
|
-
"
|
|
653
|
-
"template:
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"
|
|
633
|
+
"template:generate:apex:trigger",
|
|
634
|
+
"generate:template:apex:trigger",
|
|
635
|
+
"generate:apex:template:trigger",
|
|
636
|
+
"generate:apex:trigger:template",
|
|
637
|
+
"template:apex:generate:trigger",
|
|
638
|
+
"apex:template:generate:trigger",
|
|
639
|
+
"apex:generate:template:trigger",
|
|
640
|
+
"apex:generate:trigger:template",
|
|
641
|
+
"template:apex:trigger:generate",
|
|
642
|
+
"apex:template:trigger:generate",
|
|
643
|
+
"apex:trigger:template:generate",
|
|
644
|
+
"apex:trigger:generate:template",
|
|
645
|
+
"template:generate:trigger:apex",
|
|
646
|
+
"generate:template:trigger:apex",
|
|
647
|
+
"generate:trigger:template:apex",
|
|
648
|
+
"generate:trigger:apex:template",
|
|
649
|
+
"template:trigger:generate:apex",
|
|
650
|
+
"trigger:template:generate:apex",
|
|
651
|
+
"trigger:generate:template:apex",
|
|
652
|
+
"trigger:generate:apex:template",
|
|
653
|
+
"template:trigger:apex:generate",
|
|
654
|
+
"trigger:template:apex:generate",
|
|
655
|
+
"trigger:apex:template:generate",
|
|
656
|
+
"trigger:apex:generate:template"
|
|
657
657
|
]
|
|
658
658
|
},
|
|
659
659
|
"template:generate:flexipage": {
|
|
@@ -2516,5 +2516,5 @@
|
|
|
2516
2516
|
]
|
|
2517
2517
|
}
|
|
2518
2518
|
},
|
|
2519
|
-
"version": "56.
|
|
2519
|
+
"version": "56.17.1"
|
|
2520
2520
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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.17.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
|
|
7
7
|
"enableO11y": true,
|
|
8
8
|
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@salesforce/core": "^8.
|
|
10
|
+
"@salesforce/core": "^8.30.3",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^12",
|
|
12
12
|
"@salesforce/templates": "^66.7.12"
|
|
13
13
|
},
|
|
@@ -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.17.1.crt",
|
|
253
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.17.1.sig"
|
|
254
254
|
}
|
|
255
255
|
}
|