|
1 | 1 | [ |
2 | 2 | { |
3 | | - "alias": ["force:analytics:template:create"], |
4 | | - "command": "analytics:generate:template", |
| 3 | + "alias": ["force:analytics:template:create", "analytics:generate:template"], |
| 4 | + "command": "template:generate:analytics:template", |
5 | 5 | "flagAliases": ["apiversion", "outputdir", "templatename"], |
6 | 6 | "flagChars": ["d", "n"], |
7 | 7 | "flags": ["api-version", "flags-dir", "json", "loglevel", "name", "output-dir"], |
8 | 8 | "plugin": "@salesforce/plugin-templates" |
9 | 9 | }, |
10 | 10 | { |
11 | | - "alias": ["force:lightning:app:create"], |
12 | | - "command": "lightning:generate:app", |
| 11 | + "alias": ["force:apex:class:create", "apex:generate:class"], |
| 12 | + "command": "template:generate:apex:class", |
| 13 | + "flagAliases": ["apiversion", "classname", "outputdir"], |
| 14 | + "flagChars": ["d", "n", "t"], |
| 15 | + "flags": ["api-version", "flags-dir", "json", "loglevel", "name", "output-dir", "template"], |
| 16 | + "plugin": "@salesforce/plugin-templates" |
| 17 | + }, |
| 18 | + { |
| 19 | + "alias": ["force:apex:trigger:create", "apex:generate:trigger"], |
| 20 | + "command": "template:generate:apex:trigger", |
| 21 | + "flagAliases": ["apiversion", "outputdir", "triggerevents", "triggername"], |
| 22 | + "flagChars": ["d", "e", "n", "s", "t"], |
| 23 | + "flags": ["api-version", "event", "flags-dir", "json", "loglevel", "name", "output-dir", "sobject", "template"], |
| 24 | + "plugin": "@salesforce/plugin-templates" |
| 25 | + }, |
| 26 | + { |
| 27 | + "alias": [], |
| 28 | + "command": "template:generate:digital-experience:site", |
| 29 | + "flagAliases": [], |
| 30 | + "flagChars": ["d", "e", "n", "o", "p", "t"], |
| 31 | + "flags": ["admin-email", "flags-dir", "json", "name", "output-dir", "target-org", "template", "url-path-prefix"], |
| 32 | + "plugin": "@salesforce/plugin-templates" |
| 33 | + }, |
| 34 | + { |
| 35 | + "alias": ["force:lightning:app:create", "lightning:generate:app"], |
| 36 | + "command": "template:generate:lightning:app", |
13 | 37 | "flagAliases": ["apiversion", "appname", "outputdir"], |
14 | 38 | "flagChars": ["d", "i", "n", "t"], |
15 | 39 | "flags": ["api-version", "flags-dir", "internal", "json", "loglevel", "name", "output-dir", "template"], |
16 | 40 | "plugin": "@salesforce/plugin-templates" |
17 | 41 | }, |
18 | 42 | { |
19 | | - "alias": ["force:lightning:component:create"], |
20 | | - "command": "lightning:generate:component", |
| 43 | + "alias": ["force:lightning:component:create", "lightning:generate:component"], |
| 44 | + "command": "template:generate:lightning:component", |
21 | 45 | "flagAliases": ["apiversion", "componentname", "outputdir"], |
22 | 46 | "flagChars": ["d", "i", "n", "t"], |
23 | 47 | "flags": ["api-version", "flags-dir", "internal", "json", "loglevel", "name", "output-dir", "template", "type"], |
24 | 48 | "plugin": "@salesforce/plugin-templates" |
25 | 49 | }, |
26 | 50 | { |
27 | | - "alias": ["force:lightning:event:create"], |
28 | | - "command": "lightning:generate:event", |
| 51 | + "alias": ["force:lightning:event:create", "lightning:generate:event"], |
| 52 | + "command": "template:generate:lightning:event", |
29 | 53 | "flagAliases": ["apiversion", "eventname", "outputdir"], |
30 | 54 | "flagChars": ["d", "i", "n", "t"], |
31 | 55 | "flags": ["api-version", "flags-dir", "internal", "json", "loglevel", "name", "output-dir", "template"], |
32 | 56 | "plugin": "@salesforce/plugin-templates" |
33 | 57 | }, |
34 | 58 | { |
35 | | - "alias": ["force:lightning:interface:create"], |
36 | | - "command": "lightning:generate:interface", |
| 59 | + "alias": ["force:lightning:interface:create", "lightning:generate:interface"], |
| 60 | + "command": "template:generate:lightning:interface", |
37 | 61 | "flagAliases": ["apiversion", "interfacename", "outputdir"], |
38 | 62 | "flagChars": ["d", "i", "n", "t"], |
39 | 63 | "flags": ["api-version", "flags-dir", "internal", "json", "loglevel", "name", "output-dir", "template"], |
40 | 64 | "plugin": "@salesforce/plugin-templates" |
41 | 65 | }, |
42 | 66 | { |
43 | | - "alias": ["force:lightning:test:create"], |
44 | | - "command": "lightning:generate:test", |
| 67 | + "alias": ["force:lightning:test:create", "lightning:generate:test"], |
| 68 | + "command": "template:generate:lightning:test", |
45 | 69 | "flagAliases": ["apiversion", "outputdir", "testname"], |
46 | 70 | "flagChars": ["d", "i", "n", "t"], |
47 | 71 | "flags": ["api-version", "flags-dir", "internal", "json", "loglevel", "name", "output-dir", "template"], |
48 | 72 | "plugin": "@salesforce/plugin-templates" |
49 | 73 | }, |
50 | 74 | { |
51 | | - "alias": ["force:project:create"], |
52 | | - "command": "project:generate", |
| 75 | + "alias": ["force:project:create", "project:generate"], |
| 76 | + "command": "template:generate:project", |
53 | 77 | "flagAliases": ["defaultpackagedir", "loginurl", "outputdir", "projectname"], |
54 | 78 | "flagChars": ["d", "l", "n", "p", "s", "t", "x"], |
55 | 79 | "flags": [ |
|
68 | 92 | "plugin": "@salesforce/plugin-templates" |
69 | 93 | }, |
70 | 94 | { |
71 | | - "alias": ["force:staticresource:create"], |
72 | | - "command": "static-resource:generate", |
| 95 | + "alias": ["force:staticresource:create", "static-resource:generate"], |
| 96 | + "command": "template:generate:static-resource", |
73 | 97 | "flagAliases": ["apiversion", "contenttype", "outputdir", "resourcename"], |
74 | 98 | "flagChars": ["d", "n"], |
75 | 99 | "flags": ["api-version", "flags-dir", "json", "loglevel", "name", "output-dir", "type"], |
76 | 100 | "plugin": "@salesforce/plugin-templates" |
77 | 101 | }, |
78 | 102 | { |
79 | | - "alias": ["force:apex:class:create", "apex:generate:class"], |
80 | | - "command": "template:generate:apex:class", |
81 | | - "flagAliases": ["apiversion", "classname", "outputdir"], |
82 | | - "flagChars": ["d", "n", "t"], |
83 | | - "flags": ["api-version", "flags-dir", "json", "loglevel", "name", "output-dir", "template"], |
84 | | - "plugin": "@salesforce/plugin-templates" |
85 | | - }, |
86 | | - { |
87 | | - "alias": ["force:apex:trigger:create", "apex:generate:trigger"], |
88 | | - "command": "template:generate:apex:trigger", |
89 | | - "flagAliases": ["apiversion", "outputdir", "triggerevents", "triggername"], |
90 | | - "flagChars": ["d", "e", "n", "s", "t"], |
91 | | - "flags": ["api-version", "event", "flags-dir", "json", "loglevel", "name", "output-dir", "sobject", "template"], |
92 | | - "plugin": "@salesforce/plugin-templates" |
93 | | - }, |
94 | | - { |
95 | | - "alias": [], |
96 | | - "command": "template:generate:digital-experience:site", |
97 | | - "flagAliases": [], |
98 | | - "flagChars": ["d", "n", "p", "e", "o", "t"], |
99 | | - "flags": ["flags-dir", "json", "name", "output-dir", "url-path-prefix", "admin-email", "target-org", "template"], |
100 | | - "plugin": "@salesforce/plugin-templates" |
101 | | - }, |
102 | | - { |
103 | | - "alias": ["force:visualforce:component:create"], |
104 | | - "command": "visualforce:generate:component", |
| 103 | + "alias": ["force:visualforce:component:create", "visualforce:generate:component"], |
| 104 | + "command": "template:generate:visualforce:component", |
105 | 105 | "flagAliases": ["apiversion", "componentname", "outputdir"], |
106 | 106 | "flagChars": ["d", "l", "n", "t"], |
107 | 107 | "flags": ["api-version", "flags-dir", "json", "label", "loglevel", "name", "output-dir", "template"], |
108 | 108 | "plugin": "@salesforce/plugin-templates" |
109 | 109 | }, |
110 | 110 | { |
111 | | - "alias": ["force:visualforce:page:create"], |
112 | | - "command": "visualforce:generate:page", |
| 111 | + "alias": ["force:visualforce:page:create", "visualforce:generate:page"], |
| 112 | + "command": "template:generate:visualforce:page", |
113 | 113 | "flagAliases": ["apiversion", "outputdir", "pagename"], |
114 | 114 | "flagChars": ["d", "l", "n", "t"], |
115 | 115 | "flags": ["api-version", "flags-dir", "json", "label", "loglevel", "name", "output-dir", "template"], |
116 | 116 | "plugin": "@salesforce/plugin-templates" |
117 | 117 | }, |
118 | 118 | { |
119 | | - "alias": [], |
120 | | - "command": "webapp:generate", |
| 119 | + "alias": ["webapp:generate"], |
| 120 | + "command": "template:generate:webapp", |
121 | 121 | "flagAliases": [], |
122 | 122 | "flagChars": ["d", "l", "n", "t"], |
123 | 123 | "flags": ["api-version", "flags-dir", "json", "label", "name", "output-dir", "template"], |
|
0 commit comments