@salesforce/plugin-templates 55.3.1 → 55.4.2
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/LICENSE.txt +1 -1
- package/lib/commands/analytics/generate/template.d.ts +16 -0
- package/lib/commands/analytics/generate/template.js +53 -0
- package/lib/commands/analytics/generate/template.js.map +1 -0
- package/lib/commands/apex/generate/class.d.ts +17 -0
- package/lib/commands/apex/generate/class.js +65 -0
- package/lib/commands/apex/generate/class.js.map +1 -0
- package/lib/commands/apex/generate/trigger.d.ts +19 -0
- package/lib/commands/apex/generate/trigger.js +86 -0
- package/lib/commands/apex/generate/trigger.js.map +1 -0
- package/lib/commands/lightning/generate/app.d.ts +18 -0
- package/lib/commands/lightning/generate/app.js +68 -0
- package/lib/commands/lightning/generate/app.js.map +1 -0
- package/lib/commands/lightning/generate/component.d.ts +19 -0
- package/lib/commands/lightning/generate/component.js +75 -0
- package/lib/commands/lightning/generate/component.js.map +1 -0
- package/lib/commands/lightning/generate/event.d.ts +18 -0
- package/lib/commands/lightning/generate/event.js +68 -0
- package/lib/commands/lightning/generate/event.js.map +1 -0
- package/lib/commands/lightning/generate/interface.d.ts +18 -0
- package/lib/commands/lightning/generate/interface.js +68 -0
- package/lib/commands/lightning/generate/interface.js.map +1 -0
- package/lib/commands/lightning/generate/test.d.ts +18 -0
- package/lib/commands/lightning/generate/test.js +68 -0
- package/lib/commands/lightning/generate/test.js.map +1 -0
- package/lib/commands/project/generate.d.ts +20 -0
- package/lib/commands/project/generate.js +93 -0
- package/lib/commands/project/generate.js.map +1 -0
- package/lib/commands/static-resource/generate.d.ts +17 -0
- package/lib/commands/static-resource/generate.js +64 -0
- package/lib/commands/static-resource/generate.js.map +1 -0
- package/lib/commands/visualforce/generate/component.d.ts +18 -0
- package/lib/commands/visualforce/generate/component.js +73 -0
- package/lib/commands/visualforce/generate/component.js.map +1 -0
- package/lib/commands/visualforce/generate/page.d.ts +18 -0
- package/lib/commands/visualforce/generate/page.js +75 -0
- package/lib/commands/visualforce/generate/page.js.map +1 -0
- package/lib/utils/flags.d.ts +3 -0
- package/lib/utils/flags.js +36 -0
- package/lib/utils/flags.js.map +1 -0
- package/lib/utils/templateCommand.d.ts +58 -14
- package/lib/utils/templateCommand.js +42 -82
- package/lib/utils/templateCommand.js.map +1 -1
- package/messages/analyticsTemplate.md +17 -0
- package/messages/apexClass.md +25 -0
- package/messages/apexTrigger.md +40 -0
- package/messages/lightning.md +27 -0
- package/messages/lightningApp.md +9 -0
- package/messages/lightningCmp.md +31 -0
- package/messages/lightningEvent.md +9 -0
- package/messages/lightningInterface.md +9 -0
- package/messages/lightningTest.md +21 -0
- package/messages/messages.md +43 -0
- package/messages/project.md +87 -0
- package/messages/staticResource.md +37 -0
- package/messages/vf.md +39 -0
- package/oclif.manifest.json +1190 -1
- package/package.json +174 -96
- package/lib/commands/force/analytics/template/create.d.ts +0 -15
- package/lib/commands/force/analytics/template/create.js +0 -42
- package/lib/commands/force/analytics/template/create.js.map +0 -1
- package/lib/commands/force/apex/class/create.d.ts +0 -16
- package/lib/commands/force/apex/class/create.js +0 -52
- package/lib/commands/force/apex/class/create.js.map +0 -1
- package/lib/commands/force/apex/trigger/create.d.ts +0 -18
- package/lib/commands/force/apex/trigger/create.js +0 -74
- package/lib/commands/force/apex/trigger/create.js.map +0 -1
- package/lib/commands/force/lightning/app/create.d.ts +0 -17
- package/lib/commands/force/lightning/app/create.js +0 -58
- package/lib/commands/force/lightning/app/create.js.map +0 -1
- package/lib/commands/force/lightning/component/create.d.ts +0 -18
- package/lib/commands/force/lightning/component/create.js +0 -67
- package/lib/commands/force/lightning/component/create.js.map +0 -1
- package/lib/commands/force/lightning/event/create.d.ts +0 -17
- package/lib/commands/force/lightning/event/create.js +0 -58
- package/lib/commands/force/lightning/event/create.js.map +0 -1
- package/lib/commands/force/lightning/interface/create.d.ts +0 -17
- package/lib/commands/force/lightning/interface/create.js +0 -58
- package/lib/commands/force/lightning/interface/create.js.map +0 -1
- package/lib/commands/force/lightning/test/create.d.ts +0 -16
- package/lib/commands/force/lightning/test/create.js +0 -56
- package/lib/commands/force/lightning/test/create.js.map +0 -1
- package/lib/commands/force/project/create.d.ts +0 -19
- package/lib/commands/force/project/create.js +0 -78
- package/lib/commands/force/project/create.js.map +0 -1
- package/lib/commands/force/staticresource/create.d.ts +0 -16
- package/lib/commands/force/staticresource/create.js +0 -49
- package/lib/commands/force/staticresource/create.js.map +0 -1
- package/lib/commands/force/visualforce/component/create.d.ts +0 -17
- package/lib/commands/force/visualforce/component/create.js +0 -59
- package/lib/commands/force/visualforce/component/create.js.map +0 -1
- package/lib/commands/force/visualforce/page/create.d.ts +0 -17
- package/lib/commands/force/visualforce/page/create.js +0 -59
- package/lib/commands/force/visualforce/page/create.js.map +0 -1
- package/lib/utils/index.d.ts +0 -2
- package/lib/utils/index.js +0 -14
- package/lib/utils/index.js.map +0 -1
- package/lib/utils/messageUtil.d.ts +0 -33
- package/lib/utils/messageUtil.js +0 -59
- package/lib/utils/messageUtil.js.map +0 -1
- package/messages/messages.json +0 -87
- package/yarn.lock +0 -9362
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
/*
|
|
5
|
-
* Copyright (c) 2019, salesforce.com, inc.
|
|
6
|
-
* All rights reserved.
|
|
7
|
-
* Licensed under the BSD 3-Clause license.
|
|
8
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
|
-
*/
|
|
10
|
-
const command_1 = require("@salesforce/command");
|
|
11
|
-
const visualforcePageGenerator_1 = require("@salesforce/templates/lib/generators/visualforcePageGenerator");
|
|
12
|
-
const utils_1 = require("@salesforce/templates/lib/utils");
|
|
13
|
-
const utils_2 = require("../../../../utils");
|
|
14
|
-
const visualforcePageFileSuffix = /.page$/;
|
|
15
|
-
const VF_TYPE = utils_2.MessageUtil.get('Page');
|
|
16
|
-
class VisualforcePage extends utils_2.TemplateCommand {
|
|
17
|
-
run() {
|
|
18
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
return this.runGenerator(visualforcePageGenerator_1.default);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
exports.default = VisualforcePage;
|
|
24
|
-
VisualforcePage.description = utils_2.MessageUtil.buildDescription('VFDescription', false, [VF_TYPE]);
|
|
25
|
-
VisualforcePage.examples = [
|
|
26
|
-
'$ sfdx force:visualforce:page:create -n mypage -l mylabel',
|
|
27
|
-
'$ sfdx force:visualforce:page:create -n mypage -l mylabel -d pages',
|
|
28
|
-
];
|
|
29
|
-
VisualforcePage.help = utils_2.MessageUtil.buildHelpText(VisualforcePage.examples, false);
|
|
30
|
-
VisualforcePage.longDescription = utils_2.MessageUtil.get('VFLongDescription', [VF_TYPE, VF_TYPE]);
|
|
31
|
-
VisualforcePage.flagsConfig = {
|
|
32
|
-
template: command_1.flags.string({
|
|
33
|
-
char: 't',
|
|
34
|
-
description: utils_2.MessageUtil.get('TemplateFlagDescription'),
|
|
35
|
-
longDescription: utils_2.MessageUtil.get('TemplateFlagLongDescription'),
|
|
36
|
-
default: 'DefaultVFPage',
|
|
37
|
-
options: utils_1.CreateUtil.getCommandTemplatesForFiletype(visualforcePageFileSuffix, 'visualforcepage'),
|
|
38
|
-
}),
|
|
39
|
-
outputdir: command_1.flags.string({
|
|
40
|
-
char: 'd',
|
|
41
|
-
description: utils_2.MessageUtil.get('OutputDirFlagDescription'),
|
|
42
|
-
longDescription: utils_2.MessageUtil.get('OutputDirFlagLongDescription'),
|
|
43
|
-
default: '.',
|
|
44
|
-
}),
|
|
45
|
-
pagename: command_1.flags.string({
|
|
46
|
-
char: 'n',
|
|
47
|
-
description: utils_2.MessageUtil.get('VFNameFlagDescription', [VF_TYPE]),
|
|
48
|
-
longDescription: utils_2.MessageUtil.get('VFNameFlagLongDescription', [VF_TYPE]),
|
|
49
|
-
required: true,
|
|
50
|
-
}),
|
|
51
|
-
apiversion: command_1.flags.builtin(),
|
|
52
|
-
label: command_1.flags.string({
|
|
53
|
-
char: 'l',
|
|
54
|
-
description: utils_2.MessageUtil.get('VFLabelFlagDescription', [VF_TYPE]),
|
|
55
|
-
longDescription: utils_2.MessageUtil.get('VFLabelFlagLongDescription', [VF_TYPE]),
|
|
56
|
-
required: true,
|
|
57
|
-
}),
|
|
58
|
-
};
|
|
59
|
-
//# sourceMappingURL=create.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../../../src/commands/force/visualforce/page/create.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,iDAA4C;AAC5C,4GAAqG;AACrG,2DAA6D;AAE7D,6CAAiE;AAEjE,MAAM,yBAAyB,GAAG,QAAQ,CAAC;AAC3C,MAAM,OAAO,GAAG,mBAAW,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAExC,MAAqB,eAAgB,SAAQ,uBAAe;IAsC7C,GAAG;;YACd,OAAO,IAAI,CAAC,YAAY,CAAC,kCAAwB,CAAC,CAAC;QACrD,CAAC;KAAA;;AAxCH,kCAyCC;AAxCe,2BAAW,GAAG,mBAAW,CAAC,gBAAgB,CAAC,eAAe,EAAE,KAAK,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AAC9E,wBAAQ,GAAG;IACvB,2DAA2D;IAC3D,oEAAoE;CACrE,CAAC;AACY,oBAAI,GAAG,mBAAW,CAAC,aAAa,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;AAClE,+BAAe,GAAG,mBAAW,CAAC,GAAG,CAAC,mBAAmB,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;AAExE,2BAAW,GAAG;IAC7B,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,mBAAW,CAAC,GAAG,CAAC,yBAAyB,CAAC;QACvD,eAAe,EAAE,mBAAW,CAAC,GAAG,CAAC,6BAA6B,CAAC;QAC/D,OAAO,EAAE,eAAe;QACxB,OAAO,EAAE,kBAAU,CAAC,8BAA8B,CAAC,yBAAyB,EAAE,iBAAiB,CAAC;KACjG,CAAC;IACF,SAAS,EAAE,eAAK,CAAC,MAAM,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,mBAAW,CAAC,GAAG,CAAC,0BAA0B,CAAC;QACxD,eAAe,EAAE,mBAAW,CAAC,GAAG,CAAC,8BAA8B,CAAC;QAChE,OAAO,EAAE,GAAG;KACb,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACrB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,mBAAW,CAAC,GAAG,CAAC,uBAAuB,EAAE,CAAC,OAAO,CAAC,CAAC;QAChE,eAAe,EAAE,mBAAW,CAAC,GAAG,CAAC,2BAA2B,EAAE,CAAC,OAAO,CAAC,CAAC;QACxE,QAAQ,EAAE,IAAI;KACf,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,EAAE;IAC3B,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAClB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,mBAAW,CAAC,GAAG,CAAC,wBAAwB,EAAE,CAAC,OAAO,CAAC,CAAC;QACjE,eAAe,EAAE,mBAAW,CAAC,GAAG,CAAC,4BAA4B,EAAE,CAAC,OAAO,CAAC,CAAC;QACzE,QAAQ,EAAE,IAAI;KACf,CAAC;CACH,CAAC"}
|
package/lib/utils/index.d.ts
DELETED
package/lib/utils/index.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TemplateCommand = exports.MessageUtil = void 0;
|
|
4
|
-
/*
|
|
5
|
-
* Copyright (c) 2022, salesforce.com, inc.
|
|
6
|
-
* All rights reserved.
|
|
7
|
-
* Licensed under the BSD 3-Clause license.
|
|
8
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
|
-
*/
|
|
10
|
-
var messageUtil_1 = require("./messageUtil");
|
|
11
|
-
Object.defineProperty(exports, "MessageUtil", { enumerable: true, get: function () { return messageUtil_1.MessageUtil; } });
|
|
12
|
-
var templateCommand_1 = require("./templateCommand");
|
|
13
|
-
Object.defineProperty(exports, "TemplateCommand", { enumerable: true, get: function () { return templateCommand_1.TemplateCommand; } });
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
package/lib/utils/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,6CAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare type Token = string | number | boolean;
|
|
2
|
-
export declare class MessageUtil {
|
|
3
|
-
private static messages;
|
|
4
|
-
/**
|
|
5
|
-
* Get the message for a given key
|
|
6
|
-
*
|
|
7
|
-
* @param key The key of the message
|
|
8
|
-
* @param tokens The values to substitute in the message
|
|
9
|
-
*/
|
|
10
|
-
static get(key: string, tokens?: Token[]): string;
|
|
11
|
-
/**
|
|
12
|
-
* Get the description used in the --help output for the command
|
|
13
|
-
*
|
|
14
|
-
* @param descriptionKey The message key for the description text
|
|
15
|
-
* @param isLightningBundle If the command is for a lightning bundle
|
|
16
|
-
* @param tokens The values to substitute in the message
|
|
17
|
-
* @param extra Extra text to append to the description at the end
|
|
18
|
-
*/
|
|
19
|
-
static buildDescription(descriptionKey: string, isLightningBundle: boolean, tokens?: Token[], extra?: string): string;
|
|
20
|
-
/**
|
|
21
|
-
* Get the help text displayed in site documentation for the command
|
|
22
|
-
*
|
|
23
|
-
* **USE `buildDescription` FOR SETTING THE `description` PROPERTY OF
|
|
24
|
-
* A COMMAND. THIS IS EXCLUSIVELY USED TO SET THE `help` PROPERTY ON THE COMMAND FOR
|
|
25
|
-
* DOC GENERATING PURPOSES AND IS NOT SHOWN IN THE --help OUTPUT.**
|
|
26
|
-
*
|
|
27
|
-
* @param examples Example uses of the command
|
|
28
|
-
* @param isLightningBundle If the command is for a lightning bundle
|
|
29
|
-
* @param extra Extra text to append to the help message before the examples
|
|
30
|
-
*/
|
|
31
|
-
static buildHelpText(examples: string[], isLightningBundle: boolean, extra?: string): string;
|
|
32
|
-
private static getHelpHead;
|
|
33
|
-
}
|
package/lib/utils/messageUtil.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MessageUtil = void 0;
|
|
4
|
-
/*
|
|
5
|
-
* Copyright (c) 2019, salesforce.com, inc.
|
|
6
|
-
* All rights reserved.
|
|
7
|
-
* Licensed under the BSD 3-Clause license.
|
|
8
|
-
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
|
-
*/
|
|
10
|
-
const core_1 = require("@salesforce/core");
|
|
11
|
-
core_1.Messages.importMessagesDirectory(__dirname);
|
|
12
|
-
// TODO: Update util when sfdxdocgen is updated to support oclif
|
|
13
|
-
class MessageUtil {
|
|
14
|
-
/**
|
|
15
|
-
* Get the message for a given key
|
|
16
|
-
*
|
|
17
|
-
* @param key The key of the message
|
|
18
|
-
* @param tokens The values to substitute in the message
|
|
19
|
-
*/
|
|
20
|
-
static get(key, tokens) {
|
|
21
|
-
return this.messages.getMessage(key, tokens);
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Get the description used in the --help output for the command
|
|
25
|
-
*
|
|
26
|
-
* @param descriptionKey The message key for the description text
|
|
27
|
-
* @param isLightningBundle If the command is for a lightning bundle
|
|
28
|
-
* @param tokens The values to substitute in the message
|
|
29
|
-
* @param extra Extra text to append to the description at the end
|
|
30
|
-
*/
|
|
31
|
-
static buildDescription(descriptionKey, isLightningBundle, tokens, extra) {
|
|
32
|
-
return (this.messages.getMessage(descriptionKey, tokens) + '\n' + this.getHelpHead(isLightningBundle) + (extra !== null && extra !== void 0 ? extra : ''));
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Get the help text displayed in site documentation for the command
|
|
36
|
-
*
|
|
37
|
-
* **USE `buildDescription` FOR SETTING THE `description` PROPERTY OF
|
|
38
|
-
* A COMMAND. THIS IS EXCLUSIVELY USED TO SET THE `help` PROPERTY ON THE COMMAND FOR
|
|
39
|
-
* DOC GENERATING PURPOSES AND IS NOT SHOWN IN THE --help OUTPUT.**
|
|
40
|
-
*
|
|
41
|
-
* @param examples Example uses of the command
|
|
42
|
-
* @param isLightningBundle If the command is for a lightning bundle
|
|
43
|
-
* @param extra Extra text to append to the help message before the examples
|
|
44
|
-
*/
|
|
45
|
-
static buildHelpText(examples, isLightningBundle, extra) {
|
|
46
|
-
return (this.getHelpHead(isLightningBundle) +
|
|
47
|
-
(extra !== null && extra !== void 0 ? extra : '') +
|
|
48
|
-
this.messages.getMessage('HelpExamplesTitle') +
|
|
49
|
-
examples.reduce((acc, current) => acc + ` ${current}\n`, ''));
|
|
50
|
-
}
|
|
51
|
-
static getHelpHead(isLightning) {
|
|
52
|
-
return (this.messages.getMessage('HelpDefaults') +
|
|
53
|
-
this.messages.getMessage('HelpOutputDirRelative') +
|
|
54
|
-
(isLightning ? MessageUtil.get('HelpOutputDirRelativeLightning') : ''));
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
exports.MessageUtil = MessageUtil;
|
|
58
|
-
MessageUtil.messages = core_1.Messages.loadMessages('@salesforce/plugin-templates', 'messages');
|
|
59
|
-
//# sourceMappingURL=messageUtil.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messageUtil.js","sourceRoot":"","sources":["../../src/utils/messageUtil.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,2CAA4C;AAE5C,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAI5C,gEAAgE;AAChE,MAAa,WAAW;IAGtB;;;;;OAKG;IACI,MAAM,CAAC,GAAG,CAAC,GAAW,EAAE,MAAgB;QAC7C,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;;;OAOG;IACI,MAAM,CAAC,gBAAgB,CAC5B,cAAsB,EACtB,iBAA0B,EAC1B,MAAgB,EAChB,KAAc;QAEd,OAAO,CACL,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,EAAE,MAAM,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,GAAG,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC,CAC9G,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACI,MAAM,CAAC,aAAa,CAAC,QAAkB,EAAE,iBAA0B,EAAE,KAAc;QACxF,OAAO,CACL,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC;YACnC,CAAC,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,CAAC;YACb,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC;YAC7C,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,GAAG,GAAG,MAAM,OAAO,IAAI,EAAE,EAAE,CAAC,CAC/D,CAAC;IACJ,CAAC;IAEO,MAAM,CAAC,WAAW,CAAC,WAAoB;QAC7C,OAAO,CACL,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC;YACxC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;YACjD,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CACvE,CAAC;IACJ,CAAC;;AA1DH,kCA2DC;AA1DgB,oBAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,8BAA8B,EAAE,UAAU,CAAC,CAAC"}
|
package/messages/messages.json
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"HelpDefaults": "If not supplied, the apiversion, template, and outputdir use default values.\n",
|
|
3
|
-
"HelpOutputDirRelative": "The outputdir can be an absolute path or relative to the current working directory.\n",
|
|
4
|
-
"HelpOutputDirRelativeLightning": "If you don’t specify an outputdir, we create a subfolder in your current working directory with the name of your bundle. For example, if the current working directory is force-app and your Lightning bundle is called myBundle, we create force-app/myBundle/ to store the files in the bundle.\n",
|
|
5
|
-
"HelpExamplesTitle": "\nExamples:\n",
|
|
6
|
-
"OutputDirFlagDescription": "folder for saving the created files",
|
|
7
|
-
"OutputDirFlagLongDescription": "The directory to store the newly created files. The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
8
|
-
"TemplateFlagDescription": "template to use for file creation",
|
|
9
|
-
"TemplateFlagLongDescription": "The template to use to create the file. Supplied parameter values or default values are filled into a copy of the template.",
|
|
10
|
-
"TargetDirOutput": "target dir = %s",
|
|
11
|
-
"App": "app",
|
|
12
|
-
"Event": "event",
|
|
13
|
-
"Interface": "interface",
|
|
14
|
-
"Test": "test",
|
|
15
|
-
"Component": "component",
|
|
16
|
-
"Page": "page",
|
|
17
|
-
"ApexClassDescription": "create an Apex class",
|
|
18
|
-
"ApexClassLongDescription": "Creates an Apex class in the specified directory or the current working directory. If you don’t explicitly set the API version, it defaults to the current API version. The .cls file and associated metadata file are created.",
|
|
19
|
-
"ApexClassNameFlagDescription": "name of the generated Apex class",
|
|
20
|
-
"ApexClassNameFlagLongDescription": "The name of the new Apex class. The name can be up to 40 characters and must start with a letter.",
|
|
21
|
-
"ApexTriggerDescription": "create an Apex trigger",
|
|
22
|
-
"ApexTriggerLongDescription": "Creates an Apex trigger in the specified directory or the current working directory. If you don’t explicitly set the API version, it defaults to the current API version. The .trigger file and associated metadata file are created.",
|
|
23
|
-
"ApexTriggerEventsFlagDescription": "events that fire the trigger",
|
|
24
|
-
"ApexTriggerEventsFlagLongDescription": "The events that cause the trigger to fire.",
|
|
25
|
-
"ApexTriggerNameFlagDescription": "name of the generated Apex trigger",
|
|
26
|
-
"ApexTriggerNameFlagLongDescription": "The name of the new Apex trigger. The name can be up to 40 characters and must start with a letter.",
|
|
27
|
-
"ApexTriggerSObjectFlagDescription": "sObject to create a trigger on",
|
|
28
|
-
"ApexTriggerSObjectFlagLongDescription": "The sObject to create an Apex trigger on.",
|
|
29
|
-
"LightningDescription": "create a Lightning %s",
|
|
30
|
-
"LightningLongDescription": "Creates a Lightning %s bundle in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
31
|
-
"LightningNameFlagDescription": "name of the generated Lightning %s",
|
|
32
|
-
"LightningNameFlagLongDescription": "The Lightning %s name. The name can be up to 40 characters and must start with a letter.",
|
|
33
|
-
"LightningCmpDescription": "create a bundle for an Aura component or a Lightning web component",
|
|
34
|
-
"LightningCmpLongDescription": "Creates a bundle for an Aura component or a Lightning web component in the specified directory or the current working directory. The bundle consists of multiple files in a folder with the designated name.",
|
|
35
|
-
"LightningCmpHelpExtra": "\nTo create a Lightning web component, pass --type lwc to the command. If you don’t include a --type value, Salesforce CLI creates an Aura component by default.",
|
|
36
|
-
"LightningCmpTypeFlagDescription": "type of the Lightning component",
|
|
37
|
-
"LightningCmpTypeFlagLongDescription": "The type of the new Lightning component.",
|
|
38
|
-
"LightningInternalFlagDescription": "create lightning bundles without creating a -meta.xml file",
|
|
39
|
-
"LightningTestDescription": "create a Lightning test",
|
|
40
|
-
"LightningTestLongDescription": "Creates a Lightning test in the specified directory or the current working directory. The .resource file and associated metadata file are created.",
|
|
41
|
-
"LightningTestNameFlagLongDescription": "The name of the new Lightning test. The name can be up to 40 characters and must start with a letter.",
|
|
42
|
-
"ProjectDescription": "create a Salesforce DX project",
|
|
43
|
-
"ProjectLongDescription": "Creates a Salesforce DX project in the specified directory or the current working directory. The command creates the necessary configuration files and folders.",
|
|
44
|
-
"ProjectNameFlagDescription": "name of the generated project",
|
|
45
|
-
"ProjectNameFlagLongDescription": "The name for the new project. Any valid folder name is accepted.",
|
|
46
|
-
"ProjectTemplateFlagDescription": "template to use for project creation",
|
|
47
|
-
"ProjectTemplateFlagLongDescription": "The template to use to create the project. Supplied parameter values or default values are filled into a copy of the template.",
|
|
48
|
-
"ProjectNamespaceFlagDescription": "project associated namespace",
|
|
49
|
-
"ProjectNamespaceFlagLongDescription": "The namespace associated with this project and any connected scratch orgs.",
|
|
50
|
-
"ProjectPackageFlagDescription": "default package directory name",
|
|
51
|
-
"ProjectPackageFlagLongDescription": "The default package directory name. Metadata items such as classes and Lightning bundles are placed inside this folder.",
|
|
52
|
-
"ProjectManifestFlagDescription": "generate a manifest (package.xml) for change-set based development",
|
|
53
|
-
"ProjectManifestFlagLongDescription": "Generates a default manifest (package.xml) for fetching Apex, Visualforce, Lightning components, and static resources.",
|
|
54
|
-
"ProjectLoginUrlDescription": "Salesforce instance login URL",
|
|
55
|
-
"ProjectLoginUrlLongDescription": "The login URL for the Salesforce instance being used. Normally defaults to https://login.salesforce.com.",
|
|
56
|
-
"VFDescription": "create a Visualforce %s",
|
|
57
|
-
"VFLongDescription": "Creates a Visualforce %s in the specified directory or the current working directory. The command creates the .%s file and associated metadata file.",
|
|
58
|
-
"VFNameFlagDescription": "name of the generated Visualforce %s",
|
|
59
|
-
"VFNameFlagLongDescription": "The Visualforce %s name. The name can be up to 40 characters and must start with a letter.",
|
|
60
|
-
"VFLabelFlagDescription": "Visualforce %s label",
|
|
61
|
-
"VFLabelFlagLongDescription": "The label saved in the metadata for the Visualforce %s.",
|
|
62
|
-
"MissingClassnameFlag": "Missing required flag:\n -n, --classname CLASSNAME name of the generated Apex class\nSee more help with --help\n",
|
|
63
|
-
"MissingTriggernameFlag": "Missing required flag:\n -n, --triggername TRIGGERNAME name of the generated Apex trigger\nSee more help with --help\n",
|
|
64
|
-
"MissingAuraFolder": "Lightning bundles must have a parent folder named 'aura'.",
|
|
65
|
-
"MissingAppname": "Missing required flag:\n -n, --appname APPNAME name of the generated Lightning app\nSee more help with --help\n",
|
|
66
|
-
"MissingComponentName": "Missing required flag:\n -n, --componentname COMPONENTNAME name of the generated Lightning component\nSee more help with --help\n",
|
|
67
|
-
"MissingLightningComponentTemplate": "Template %s not available for component type %s.",
|
|
68
|
-
"MissingLWCFolder": "Lightning bundles must have a parent folder named 'lwc'.",
|
|
69
|
-
"MissingEventname": "Missing required flag:\n -n, --eventname EVENTNAME name of the generated Lightning event\nSee more help with --help\n",
|
|
70
|
-
"MissingInterfacename": "Missing required flag:\n -n, --interfacename INTERFACENAME name of the generated Lightning interface\nSee more help with --help\n",
|
|
71
|
-
"MissingProjectname": "Missing required flag:\n -n, --projectname PROJECTNAME name of the generated project\nSee more help with --help\n",
|
|
72
|
-
"MissingComponentnameFlag": "Missing required flag:\n -n, --componentname COMPONENTNAME name of the generated Visualforce component\nSee more help with --help\n",
|
|
73
|
-
"MissingPagenameFlag": "Missing required flag:\n -n, --pagename PAGENAME name of the generated Visualforce page\nSee more help with --help\n",
|
|
74
|
-
"MissingTestName": "Missing required flag:\n -n, --testname TESTNAME name of the generated Lightning test\nSee more help with --help\n",
|
|
75
|
-
"InvalidTemplate": "Expected --template=foo to be one of:",
|
|
76
|
-
"StandardReadMe": "Now that you’ve created a Salesforce DX project, what’s next?",
|
|
77
|
-
"AnalyticsTemplateDescription": "add an Analytics template to your workspace",
|
|
78
|
-
"AnalyticsTemplateLongDescription": "Creates a simple Analytics template in the specified directory. If you don’t explicitly set the API version, it defaults to the current API version. The associated metadata files are created.",
|
|
79
|
-
"AnalyticsTemplateNameFlagDescription": "name of the Analytics template",
|
|
80
|
-
"AnalyticsTemplateNameFlagLongDescription": "The name of the Analytics template.",
|
|
81
|
-
"StaticResourceDescription": "create a static resource",
|
|
82
|
-
"StaticResourceLongDescription": "Creates a static resource in the specified directory or the current working directory. The resource folder and associated metadata file are created.",
|
|
83
|
-
"StaticResourceNameFlagDescription": "name of the generated static resource",
|
|
84
|
-
"StaticResourceNameFlagLongDescription": "The name of the new static resource. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.",
|
|
85
|
-
"StaticResourceContentTypeFlagDescription": "content type (mime type) of the generated static resource",
|
|
86
|
-
"StaticResourceContentTypeFlagLongDescription": "The content type of the generated static resource. This must be a valid MIME type such as application/json, application/javascript, application/zip, text/plain, text/css, etc."
|
|
87
|
-
}
|