@provartesting/provardx-cli 0.0.3 → 0.0.5-beta
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 +5 -0
- package/lib/Utility/errorCode.d.ts +1 -1
- package/lib/Utility/errorCode.js +1 -2
- package/lib/Utility/errorCode.js.map +1 -1
- package/lib/Utility/errorHandler.d.ts +1 -1
- package/lib/Utility/errorHandler.js +2 -7
- package/lib/Utility/errorHandler.js.map +1 -1
- package/lib/Utility/fileSupport.d.ts +1 -0
- package/lib/Utility/fileSupport.js +8 -36
- package/lib/Utility/fileSupport.js.map +1 -1
- package/lib/Utility/jsonSupport.js +4 -11
- package/lib/Utility/jsonSupport.js.map +1 -1
- package/lib/Utility/propertyFileValidator.d.ts +1 -1
- package/lib/Utility/propertyFileValidator.js +26 -44
- package/lib/Utility/propertyFileValidator.js.map +1 -1
- package/lib/Utility/provarConfig.d.ts +1 -1
- package/lib/Utility/provarConfig.js +3 -7
- package/lib/Utility/provarConfig.js.map +1 -1
- package/lib/Utility/provardxExecutor.d.ts +7 -0
- package/lib/Utility/provardxExecutor.js +31 -0
- package/lib/Utility/provardxExecutor.js.map +1 -0
- package/lib/Utility/sfProvarCommandResult.d.ts +1 -1
- package/lib/Utility/sfProvarCommandResult.js +1 -5
- package/lib/Utility/sfProvarCommandResult.js.map +1 -1
- package/lib/Utility/stringSupport.d.ts +2 -0
- package/lib/Utility/stringSupport.js +12 -7
- package/lib/Utility/stringSupport.js.map +1 -1
- package/lib/Utility/userSupport.d.ts +15 -0
- package/lib/Utility/userSupport.js +56 -0
- package/lib/Utility/userSupport.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/generate.d.ts +3 -3
- package/lib/commands/provar/automation/config/generate.js +70 -0
- package/lib/commands/provar/automation/config/generate.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/get.d.ts +1 -1
- package/lib/commands/provar/automation/config/get.js +74 -0
- package/lib/commands/provar/automation/config/get.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/load.d.ts +2 -2
- package/lib/commands/provar/automation/config/load.js +55 -0
- package/lib/commands/provar/automation/config/load.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/set.d.ts +1 -1
- package/lib/commands/provar/automation/config/set.js +85 -0
- package/lib/commands/provar/automation/config/set.js.map +1 -0
- package/lib/commands/{sf/provar → provar/automation}/config/validate.d.ts +1 -1
- package/lib/commands/provar/automation/config/validate.js +31 -0
- package/lib/commands/provar/automation/config/validate.js.map +1 -0
- package/lib/commands/provar/automation/metadata/download.d.ts +13 -0
- package/lib/commands/provar/automation/metadata/download.js +94 -0
- package/lib/commands/provar/automation/metadata/download.js.map +1 -0
- package/lib/constants/commandConstants.d.ts +6 -5
- package/lib/constants/commandConstants.js +8 -10
- package/lib/constants/commandConstants.js.map +1 -1
- package/lib/constants/errorMessages.js +2 -5
- package/lib/constants/errorMessages.js.map +1 -1
- package/lib/constants/propertyFileContent.d.ts +24 -0
- package/lib/constants/propertyFileContent.js +25 -0
- package/lib/constants/propertyFileContent.js.map +1 -0
- package/lib/constants/propertyFileSchema.d.ts +7 -0
- package/lib/constants/propertyFileSchema.js +9 -4
- package/lib/constants/propertyFileSchema.js.map +1 -1
- package/lib/constants/sfCommandConstants.d.ts +4 -0
- package/lib/constants/sfCommandConstants.js +6 -0
- package/lib/constants/sfCommandConstants.js.map +1 -0
- package/messages/provar.metadata.download.md +23 -0
- package/messages/sf.provar.config.generate.md +3 -3
- package/messages/sf.provar.config.get.md +3 -3
- package/messages/sf.provar.config.load.md +3 -3
- package/messages/sf.provar.config.set.md +3 -3
- package/messages/sf.provar.config.validate.md +3 -3
- package/oclif.manifest.json +341 -73
- package/package.json +37 -48
- package/lib/commands/sf/provar/config/generate.js +0 -102
- package/lib/commands/sf/provar/config/generate.js.map +0 -1
- package/lib/commands/sf/provar/config/get.js +0 -106
- package/lib/commands/sf/provar/config/get.js.map +0 -1
- package/lib/commands/sf/provar/config/load.js +0 -87
- package/lib/commands/sf/provar/config/load.js.map +0 -1
- package/lib/commands/sf/provar/config/set.js +0 -117
- package/lib/commands/sf/provar/config/set.js.map +0 -1
- package/lib/commands/sf/provar/config/validate.js +0 -40
- package/lib/commands/sf/provar/config/validate.js.map +0 -1
- package/lib/constants/propertyFileContent.json +0 -24
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commandConstants = void 0;
|
|
4
|
-
var commandConstants;
|
|
1
|
+
export var commandConstants;
|
|
5
2
|
(function (commandConstants) {
|
|
6
|
-
commandConstants["
|
|
7
|
-
commandConstants["
|
|
8
|
-
commandConstants["
|
|
9
|
-
commandConstants["
|
|
10
|
-
commandConstants["
|
|
11
|
-
|
|
3
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_GENERATE_COMMAND"] = "provar automation config generate";
|
|
4
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_LOAD_COMMAND"] = "provar automation config load";
|
|
5
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_VALIDATE_COMMAND"] = "provar automation config validate";
|
|
6
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_SET_COMMAND"] = "provar automation config set";
|
|
7
|
+
commandConstants["SF_PROVAR_AUTOMATION_CONFIG_GET_COMMAND"] = "provar automation config get";
|
|
8
|
+
commandConstants["SF_PROVAR_AUTOMATION_METADATA_DOWNLOAD_COMMAND"] = "provar automation metadata download";
|
|
9
|
+
})(commandConstants || (commandConstants = {}));
|
|
12
10
|
//# sourceMappingURL=commandConstants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commandConstants.js","sourceRoot":"","sources":["../../src/constants/commandConstants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"commandConstants.js","sourceRoot":"","sources":["../../src/constants/commandConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,gBAOX;AAPD,WAAY,gBAAgB;IAC1B,sGAAkF,CAAA;IAClF,8FAA0E,CAAA;IAC1E,sGAAkF,CAAA;IAClF,4FAAwE,CAAA;IACxE,4FAAwE,CAAA;IACxE,0GAAsF,CAAA;AACxF,CAAC,EAPW,gBAAgB,KAAhB,gBAAgB,QAO3B"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.errorMessages = void 0;
|
|
4
1
|
/*
|
|
5
2
|
* Copyright (c) 2024 Provar Limited.
|
|
6
3
|
* All rights reserved.
|
|
7
4
|
* Licensed under the BSD 3-Clause license.
|
|
8
5
|
* For full license text, see LICENSE.md file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
9
6
|
*/
|
|
10
|
-
var errorMessages;
|
|
7
|
+
export var errorMessages;
|
|
11
8
|
(function (errorMessages) {
|
|
12
9
|
errorMessages["INVALID_PATH"] = "The provided path does not exist or is invalid.";
|
|
13
10
|
errorMessages["GENERATE_OPERATION_DENIED"] = "The operation was cancelled.";
|
|
@@ -20,5 +17,5 @@ var errorMessages;
|
|
|
20
17
|
errorMessages["INVALID_PROPERTY"] = "The property cannot be parsed.";
|
|
21
18
|
errorMessages["MISSING_PROPERTY_GET"] = "Please, specify a property to get from the properties file.";
|
|
22
19
|
errorMessages["UNKNOWN_PROPERTY"] = "The property is not present in the file.";
|
|
23
|
-
})(errorMessages || (
|
|
20
|
+
})(errorMessages || (errorMessages = {}));
|
|
24
21
|
//# sourceMappingURL=errorMessages.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorMessages.js","sourceRoot":"","sources":["../../src/constants/errorMessages.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"errorMessages.js","sourceRoot":"","sources":["../../src/constants/errorMessages.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAN,IAAY,aAYX;AAZD,WAAY,aAAa;IACvB,iFAAgE,CAAA;IAChE,2EAA0D,CAAA;IAC1D,oGAAmF,CAAA;IACnF,gFAA+D,CAAA;IAC/D,wDAAuC,CAAA;IACvC,8DAA6C,CAAA;IAC7C,0EAAyD,CAAA;IACzD,8DAA6C,CAAA;IAC7C,oEAAmD,CAAA;IACnD,qGAAoF,CAAA;IACpF,8EAA6D,CAAA;AAC/D,CAAC,EAZW,aAAa,KAAb,aAAa,QAYxB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const propertyFileContent: {
|
|
2
|
+
provarHome: string;
|
|
3
|
+
projectPath: string;
|
|
4
|
+
resultsPath: string;
|
|
5
|
+
smtpPath: string;
|
|
6
|
+
resultsPathDisposition: string;
|
|
7
|
+
testOutputLevel: string;
|
|
8
|
+
pluginOutputlevel: string;
|
|
9
|
+
stopOnError: boolean;
|
|
10
|
+
lightningMode: boolean;
|
|
11
|
+
connectionRefreshType: string;
|
|
12
|
+
metadata: {
|
|
13
|
+
metadataLevel: string;
|
|
14
|
+
cachePath: string;
|
|
15
|
+
};
|
|
16
|
+
environment: {
|
|
17
|
+
testEnvironment: string;
|
|
18
|
+
webBrowser: string;
|
|
19
|
+
webBrowserConfig: string;
|
|
20
|
+
webBrowserProviderName: string;
|
|
21
|
+
webBrowserDeviceName: string;
|
|
22
|
+
};
|
|
23
|
+
testprojectSecrets: string;
|
|
24
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const propertyFileContent = {
|
|
2
|
+
provarHome: '${PROVAR_HOME}',
|
|
3
|
+
projectPath: '${PROVAR_PROJECT_PATH}',
|
|
4
|
+
resultsPath: '${PROVAR_RESULTS_PATH}',
|
|
5
|
+
smtpPath: '',
|
|
6
|
+
resultsPathDisposition: 'Increment',
|
|
7
|
+
testOutputLevel: 'BASIC',
|
|
8
|
+
pluginOutputlevel: 'WARNING',
|
|
9
|
+
stopOnError: false,
|
|
10
|
+
lightningMode: true,
|
|
11
|
+
connectionRefreshType: 'Reload',
|
|
12
|
+
metadata: {
|
|
13
|
+
metadataLevel: 'Reuse',
|
|
14
|
+
cachePath: '../.provarCaches',
|
|
15
|
+
},
|
|
16
|
+
environment: {
|
|
17
|
+
testEnvironment: '${PROVAR_TEST_ENVIRONMENT}',
|
|
18
|
+
webBrowser: 'Chrome',
|
|
19
|
+
webBrowserConfig: 'Full Screen',
|
|
20
|
+
webBrowserProviderName: 'Desktop',
|
|
21
|
+
webBrowserDeviceName: 'Full Screen',
|
|
22
|
+
},
|
|
23
|
+
testprojectSecrets: '${PROVAR_TEST_PROJECT_SECRETS}',
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=propertyFileContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertyFileContent.js","sourceRoot":"","sources":["../../src/constants/propertyFileContent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,UAAU,EAAE,gBAAgB;IAC5B,WAAW,EAAE,wBAAwB;IACrC,WAAW,EAAE,wBAAwB;IACrC,QAAQ,EAAE,EAAE;IACZ,sBAAsB,EAAE,WAAW;IACnC,eAAe,EAAE,OAAO;IACxB,iBAAiB,EAAE,SAAS;IAC5B,WAAW,EAAE,KAAK;IAClB,aAAa,EAAE,IAAI;IACnB,qBAAqB,EAAE,QAAQ;IAC/B,QAAQ,EAAE;QACR,aAAa,EAAE,OAAO;QACtB,SAAS,EAAE,kBAAkB;KAC9B;IACD,WAAW,EAAE;QACX,eAAe,EAAE,4BAA4B;QAC7C,UAAU,EAAE,QAAQ;QACpB,gBAAgB,EAAE,aAAa;QAC/B,sBAAsB,EAAE,SAAS;QACjC,oBAAoB,EAAE,aAAa;KACpC;IACD,kBAAkB,EAAE,gCAAgC;CACrD,CAAC"}
|
|
@@ -12,10 +12,12 @@ export declare const propertyFileSchema: {
|
|
|
12
12
|
provarHome: {
|
|
13
13
|
description: string;
|
|
14
14
|
type: string;
|
|
15
|
+
pattern: RegExp;
|
|
15
16
|
};
|
|
16
17
|
projectPath: {
|
|
17
18
|
description: string;
|
|
18
19
|
type: string;
|
|
20
|
+
pattern: RegExp;
|
|
19
21
|
};
|
|
20
22
|
smtpPath: {
|
|
21
23
|
description: string;
|
|
@@ -24,6 +26,7 @@ export declare const propertyFileSchema: {
|
|
|
24
26
|
resultsPath: {
|
|
25
27
|
description: string;
|
|
26
28
|
type: string;
|
|
29
|
+
pattern: RegExp;
|
|
27
30
|
};
|
|
28
31
|
resultsPathDisposition: {
|
|
29
32
|
description: string;
|
|
@@ -68,6 +71,7 @@ export declare const propertyFileSchema: {
|
|
|
68
71
|
cachePath: {
|
|
69
72
|
description: string;
|
|
70
73
|
type: string;
|
|
74
|
+
pattern: RegExp;
|
|
71
75
|
};
|
|
72
76
|
};
|
|
73
77
|
required: string[];
|
|
@@ -88,14 +92,17 @@ export declare const propertyFileSchema: {
|
|
|
88
92
|
webBrowserConfig: {
|
|
89
93
|
description: string;
|
|
90
94
|
type: string;
|
|
95
|
+
pattern: RegExp;
|
|
91
96
|
};
|
|
92
97
|
webBrowserProviderName: {
|
|
93
98
|
description: string;
|
|
94
99
|
type: string;
|
|
100
|
+
pattern: RegExp;
|
|
95
101
|
};
|
|
96
102
|
webBrowserDeviceName: {
|
|
97
103
|
description: string;
|
|
98
104
|
type: string;
|
|
105
|
+
pattern: RegExp;
|
|
99
106
|
};
|
|
100
107
|
};
|
|
101
108
|
required: string[];
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/*
|
|
3
2
|
* Copyright (c) 2024 Provar Limited.
|
|
4
3
|
* All rights reserved.
|
|
5
4
|
* Licensed under the BSD 3-Clause license.
|
|
6
5
|
* For full license text, see LICENSE.md file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
7
6
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.propertyFileSchema = {
|
|
7
|
+
const nonEmptyStringRegex = /^(?!\s+$)./;
|
|
8
|
+
export const propertyFileSchema = {
|
|
11
9
|
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
12
10
|
$id: 'http://provartesting.com/provardx-props.schema.json',
|
|
13
11
|
title: 'ProvarDX-Properties',
|
|
@@ -21,10 +19,12 @@ exports.propertyFileSchema = {
|
|
|
21
19
|
provarHome: {
|
|
22
20
|
description: 'Contains the location that the Provar installation was unzipped. This attribute is not required if there is a full Provar installation in the default location, or if PROVAR_HOME Environment Variable is set',
|
|
23
21
|
type: 'string',
|
|
22
|
+
pattern: nonEmptyStringRegex,
|
|
24
23
|
},
|
|
25
24
|
projectPath: {
|
|
26
25
|
description: 'The fully qualified path of the Test Project containing the tests to be run. This is the folder that contains the .testproject file',
|
|
27
26
|
type: 'string',
|
|
27
|
+
pattern: nonEmptyStringRegex,
|
|
28
28
|
},
|
|
29
29
|
smtpPath: {
|
|
30
30
|
description: 'The fully qualified path of the .smtp folder to which Provar will use to send emails',
|
|
@@ -33,6 +33,7 @@ exports.propertyFileSchema = {
|
|
|
33
33
|
resultsPath: {
|
|
34
34
|
description: 'The fully qualified path of the folder to which Provar will write the test results',
|
|
35
35
|
type: 'string',
|
|
36
|
+
pattern: nonEmptyStringRegex,
|
|
36
37
|
},
|
|
37
38
|
resultsPathDisposition: {
|
|
38
39
|
description: 'Controls the result folder disposition.',
|
|
@@ -77,6 +78,7 @@ exports.propertyFileSchema = {
|
|
|
77
78
|
cachePath: {
|
|
78
79
|
description: 'The fully qualified path of the folder that will be used for storing the metadata cache',
|
|
79
80
|
type: 'string',
|
|
81
|
+
pattern: nonEmptyStringRegex,
|
|
80
82
|
},
|
|
81
83
|
},
|
|
82
84
|
required: ['metadataLevel', 'cachePath'],
|
|
@@ -97,14 +99,17 @@ exports.propertyFileSchema = {
|
|
|
97
99
|
webBrowserConfig: {
|
|
98
100
|
description: 'The web browser window size. Browser configurations are defined in Test Settings',
|
|
99
101
|
type: 'string',
|
|
102
|
+
pattern: nonEmptyStringRegex,
|
|
100
103
|
},
|
|
101
104
|
webBrowserProviderName: {
|
|
102
105
|
description: 'Web browser provider name.',
|
|
103
106
|
type: 'string',
|
|
107
|
+
pattern: nonEmptyStringRegex,
|
|
104
108
|
},
|
|
105
109
|
webBrowserDeviceName: {
|
|
106
110
|
description: 'Web browser device name',
|
|
107
111
|
type: 'string',
|
|
112
|
+
pattern: nonEmptyStringRegex,
|
|
108
113
|
},
|
|
109
114
|
},
|
|
110
115
|
required: ['webBrowser', 'webBrowserConfig', 'webBrowserProviderName', 'webBrowserDeviceName'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propertyFileSchema.js","sourceRoot":"","sources":["../../src/constants/propertyFileSchema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"propertyFileSchema.js","sourceRoot":"","sources":["../../src/constants/propertyFileSchema.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAEzC,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,OAAO,EAAE,yCAAyC;IAClD,GAAG,EAAE,qDAAqD;IAC1D,KAAK,EAAE,qBAAqB;IAC5B,WAAW,EAAE,0BAA0B;IACvC,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,CAAC;IACjF,iBAAiB,EAAE;QACjB,oBAAoB,EAAE,iBAAiB;KACxC;IACD,UAAU,EAAE;QACV,UAAU,EAAE;YACV,WAAW,EACT,gNAAgN;YAClN,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mBAAmB;SAC7B;QACD,WAAW,EAAE;YACX,WAAW,EACT,sIAAsI;YACxI,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mBAAmB;SAC7B;QACD,QAAQ,EAAE;YACR,WAAW,EAAE,sFAAsF;YACnG,IAAI,EAAE,QAAQ;SACf;QACD,WAAW,EAAE;YACX,WAAW,EAAE,oFAAoF;YACjG,IAA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AI,EAAE,QAAQ;iBACf;gBACD,mBAAmB,EAAE;oBACnB,WAAW,EAAE,sEAAsE;oBACnF,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,WAAW,EAAE,kEAAkE;oBAC/E,IAAI,EAAE,QAAQ;iBACf;gBACD,mBAAmB,EAAE;oBACnB,WAAW,EAAE,iDAAiD;oBAC9D,IAAI,EAAE,QAAQ;iBACf;gBACD,sBAAsB,EAAE;oBACtB,WAAW,EAAE,4DAA4D;oBACzE,IAAI,EAAE,QAAQ;iBACf;gBACD,4BAA4B,EAAE;oBAC5B,WAAW,EAAE,gFAAgF;oBAC7F,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,WAAW,EAAE,0FAA0F;oBACvG,IAAI,EAAE,QAAQ;iBACf;aACF;SACF;QACD,QAAQ,EAAE;YACR,WAAW,EACT,+KAA+K;YACjL,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;SACF;QACD,kBAAkB,EAAE;YAClB,WAAW,EACT,iIAAiI;YACnI,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC9B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC7B;aACF;SACF;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var sfCommandConstants;
|
|
2
|
+
(function (sfCommandConstants) {
|
|
3
|
+
sfCommandConstants["DISPLAY_USER_INFO"] = "sf org display user --json --target-org ";
|
|
4
|
+
sfCommandConstants["GENERATE_PASSWORD"] = "sf org generate password --target-org ";
|
|
5
|
+
})(sfCommandConstants || (sfCommandConstants = {}));
|
|
6
|
+
//# sourceMappingURL=sfCommandConstants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sfCommandConstants.js","sourceRoot":"","sources":["../../src/constants/sfCommandConstants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,oFAA8D,CAAA;IAC9D,kFAA4D,CAAA;AAC9D,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# summary
|
|
2
|
+
|
|
3
|
+
Download any required metadata for a specified Provar Salesforce connection.
|
|
4
|
+
|
|
5
|
+
# description
|
|
6
|
+
|
|
7
|
+
Download any required metadata for a specified Provar Salesforce connection.
|
|
8
|
+
|
|
9
|
+
# examples
|
|
10
|
+
|
|
11
|
+
- <%= config.bin %> <%= command.id %>
|
|
12
|
+
|
|
13
|
+
# flags.connections.summary
|
|
14
|
+
|
|
15
|
+
Comma-separated list of names of Provar Salesforce connections to use, as defined in the project.
|
|
16
|
+
|
|
17
|
+
# error.MULTIPLE_ERRORS
|
|
18
|
+
|
|
19
|
+
%s
|
|
20
|
+
|
|
21
|
+
# success_message
|
|
22
|
+
|
|
23
|
+
The metadata was downloaded successfully.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Generates a boilerplate ProvarDX properties file.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Generates a boilerplate ProvarDX properties file.
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
|
11
|
-
- Generates
|
|
11
|
+
- Generates a boilerplate ProvarDX properties file at the given path :
|
|
12
12
|
|
|
13
13
|
<%= config.bin %> <%= command.id %> --properties-file 'propertiesFile path'
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Retrieves a value from the loaded properties file.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Retrieves a value from the loaded properties file.
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- Retrieves a value from the loaded properties file
|
|
12
12
|
|
|
13
13
|
<%= config.bin %> <%= command.id %> 'key'
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Validates and loads a ProvarDX properties file for later use.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Validates and loads a ProvarDX properties file for later use.
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
|
11
|
-
- loads
|
|
11
|
+
- Validates and loads a ProvarDX properties file for later use at the given path
|
|
12
12
|
|
|
13
13
|
<%= config.bin %> <%= command.id %> --properties-file 'propertiesFile path'
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Sets a property in the loaded properties file.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Sets a property in the loaded properties file.
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- Sets a property in the loaded properties file with resp. values
|
|
12
12
|
|
|
13
13
|
<%= config.bin %> <%= command.id %> 'key'='value'
|
|
14
14
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# summary
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Checks if the loaded properties file has all the required properties set.
|
|
4
4
|
|
|
5
5
|
# description
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Checks if the loaded properties file has all the required properties set.
|
|
8
8
|
|
|
9
9
|
# examples
|
|
10
10
|
|
|
11
|
-
-
|
|
11
|
+
- Checks if the loaded properties file has all the required properties set
|
|
12
12
|
|
|
13
13
|
<%= config.bin %> <%= command.id %>'
|
|
14
14
|
|