@provartesting/provardx-cli 1.5.0-beta.3 → 1.5.0-beta.5
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 +137 -13
- package/lib/commands/provar/auth/clear.d.ts +7 -0
- package/lib/commands/provar/auth/clear.js +36 -0
- package/lib/commands/provar/auth/clear.js.map +1 -0
- package/lib/commands/provar/auth/login.d.ts +10 -0
- package/lib/commands/provar/auth/login.js +88 -0
- package/lib/commands/provar/auth/login.js.map +1 -0
- package/lib/commands/provar/auth/rotate.d.ts +7 -0
- package/lib/commands/provar/auth/rotate.js +42 -0
- package/lib/commands/provar/auth/rotate.js.map +1 -0
- package/lib/commands/provar/auth/status.d.ts +7 -0
- package/lib/commands/provar/auth/status.js +89 -0
- package/lib/commands/provar/auth/status.js.map +1 -0
- package/lib/mcp/tools/testCaseValidate.d.ts +4 -0
- package/lib/mcp/tools/testCaseValidate.js +98 -17
- package/lib/mcp/tools/testCaseValidate.js.map +1 -1
- package/lib/services/auth/credentials.d.ts +18 -0
- package/lib/services/auth/credentials.js +71 -0
- package/lib/services/auth/credentials.js.map +1 -0
- package/lib/services/auth/loginFlow.d.ts +71 -0
- package/lib/services/auth/loginFlow.js +203 -0
- package/lib/services/auth/loginFlow.js.map +1 -0
- package/lib/services/qualityHub/client.d.ts +131 -0
- package/lib/services/qualityHub/client.js +196 -0
- package/lib/services/qualityHub/client.js.map +1 -0
- package/messages/sf.provar.auth.clear.md +13 -0
- package/messages/sf.provar.auth.login.md +31 -0
- package/messages/sf.provar.auth.rotate.md +23 -0
- package/messages/sf.provar.auth.status.md +13 -0
- package/oclif.manifest.json +326 -113
- package/package.json +6 -3
package/oclif.manifest.json
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"provar:
|
|
3
|
+
"provar:auth:clear": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Deletes the API key stored at ~/.provar/credentials.json. After clearing, the\nprovar.testcase.validate MCP tool falls back to local validation (structural rules only,\nno Quality Hub quality scoring).\n\nThe PROVAR_API_KEY environment variable is not affected by this command.",
|
|
7
7
|
"examples": [
|
|
8
|
-
"
|
|
9
|
-
"Start with explicit allowed paths:\n<%= config.bin %> <%= command.id %> --allowed-paths /workspace/provar",
|
|
10
|
-
"Allow multiple project directories:\n<%= config.bin %> <%= command.id %> -a /workspace/project-a -a /workspace/project-b"
|
|
8
|
+
"Clear the stored API key:\n<%= config.bin %> <%= command.id %>"
|
|
11
9
|
],
|
|
12
10
|
"flags": {
|
|
11
|
+
"json": {
|
|
12
|
+
"description": "Format output as json.",
|
|
13
|
+
"helpGroup": "GLOBAL",
|
|
14
|
+
"name": "json",
|
|
15
|
+
"allowNo": false,
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
},
|
|
13
18
|
"flags-dir": {
|
|
14
19
|
"helpGroup": "GLOBAL",
|
|
15
20
|
"name": "flags-dir",
|
|
@@ -17,61 +22,42 @@
|
|
|
17
22
|
"hasDynamicHelp": false,
|
|
18
23
|
"multiple": false,
|
|
19
24
|
"type": "option"
|
|
20
|
-
},
|
|
21
|
-
"allowed-paths": {
|
|
22
|
-
"char": "a",
|
|
23
|
-
"name": "allowed-paths",
|
|
24
|
-
"summary": "Allowed base directory paths for file operations. Defaults to current directory.",
|
|
25
|
-
"default": [
|
|
26
|
-
"/home/runner/work/provardx-cli/provardx-cli"
|
|
27
|
-
],
|
|
28
|
-
"hasDynamicHelp": false,
|
|
29
|
-
"multiple": true,
|
|
30
|
-
"type": "option"
|
|
31
|
-
},
|
|
32
|
-
"auto-defects": {
|
|
33
|
-
"name": "auto-defects",
|
|
34
|
-
"summary": "When enabled, testrun.report suggestions will prompt defect creation on failures.",
|
|
35
|
-
"allowNo": false,
|
|
36
|
-
"type": "boolean"
|
|
37
25
|
}
|
|
38
26
|
},
|
|
39
27
|
"hasDynamicHelp": false,
|
|
40
28
|
"hiddenAliases": [],
|
|
41
|
-
"id": "provar:
|
|
29
|
+
"id": "provar:auth:clear",
|
|
42
30
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
43
31
|
"pluginName": "@provartesting/provardx-cli",
|
|
44
32
|
"pluginType": "core",
|
|
45
33
|
"strict": true,
|
|
46
|
-
"summary": "
|
|
47
|
-
"enableJsonFlag":
|
|
34
|
+
"summary": "Remove the stored Provar API key.",
|
|
35
|
+
"enableJsonFlag": true,
|
|
48
36
|
"isESM": true,
|
|
49
37
|
"relativePath": [
|
|
50
38
|
"lib",
|
|
51
39
|
"commands",
|
|
52
40
|
"provar",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
41
|
+
"auth",
|
|
42
|
+
"clear.js"
|
|
55
43
|
],
|
|
56
44
|
"aliasPermutations": [],
|
|
57
45
|
"permutations": [
|
|
58
|
-
"provar:
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"provar:
|
|
62
|
-
"
|
|
63
|
-
"
|
|
46
|
+
"provar:auth:clear",
|
|
47
|
+
"auth:provar:clear",
|
|
48
|
+
"auth:clear:provar",
|
|
49
|
+
"provar:clear:auth",
|
|
50
|
+
"clear:provar:auth",
|
|
51
|
+
"clear:auth:provar"
|
|
64
52
|
]
|
|
65
53
|
},
|
|
66
|
-
"provar:
|
|
67
|
-
"aliases": [
|
|
68
|
-
"provar:manager:connect"
|
|
69
|
-
],
|
|
54
|
+
"provar:auth:login": {
|
|
55
|
+
"aliases": [],
|
|
70
56
|
"args": {},
|
|
71
|
-
"
|
|
72
|
-
"description": "Load the alias or username to be used in subsequent commands to connect to Provar Quality Hub.",
|
|
57
|
+
"description": "Opens a browser to the Provar login page. After you authenticate, your API key\nis stored at ~/.provar/credentials.json and used automatically by the Provar MCP\ntools and CI/CD integrations.\n\nThe Cognito session tokens are held in memory only for the duration of the key\nexchange and are then discarded — only the pv*k* API key is written to disk.\n\nRun 'sf provar auth status' after login to confirm the key is configured correctly.\n\nDon't have an account? Request access at:\nhttps://aqqlrlhga7.execute-api.us-east-1.amazonaws.com/dev/auth/request-access",
|
|
73
58
|
"examples": [
|
|
74
|
-
"<%= config.bin %> <%= command.id %>"
|
|
59
|
+
"Log in interactively (opens browser):\n<%= config.bin %> <%= command.id %>",
|
|
60
|
+
"Log in against a staging environment:\n<%= config.bin %> <%= command.id %> --url https://dev.api.example.com"
|
|
75
61
|
],
|
|
76
62
|
"flags": {
|
|
77
63
|
"json": {
|
|
@@ -89,11 +75,10 @@
|
|
|
89
75
|
"multiple": false,
|
|
90
76
|
"type": "option"
|
|
91
77
|
},
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"summary": "Name of the alias/username set in SF CLI which corresponds to the Provar Quality Hub org.",
|
|
78
|
+
"url": {
|
|
79
|
+
"name": "url",
|
|
80
|
+
"required": false,
|
|
81
|
+
"summary": "Override the Quality Hub API base URL (for testing against a non-production environment).",
|
|
97
82
|
"hasDynamicHelp": false,
|
|
98
83
|
"multiple": false,
|
|
99
84
|
"type": "option"
|
|
@@ -101,47 +86,37 @@
|
|
|
101
86
|
},
|
|
102
87
|
"hasDynamicHelp": false,
|
|
103
88
|
"hiddenAliases": [],
|
|
104
|
-
"id": "provar:
|
|
89
|
+
"id": "provar:auth:login",
|
|
105
90
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
106
91
|
"pluginName": "@provartesting/provardx-cli",
|
|
107
92
|
"pluginType": "core",
|
|
108
93
|
"strict": true,
|
|
109
|
-
"summary": "
|
|
94
|
+
"summary": "Log in to Provar Quality Hub and store your API key.",
|
|
110
95
|
"enableJsonFlag": true,
|
|
111
96
|
"isESM": true,
|
|
112
97
|
"relativePath": [
|
|
113
98
|
"lib",
|
|
114
99
|
"commands",
|
|
115
100
|
"provar",
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
],
|
|
119
|
-
"aliasPermutations": [
|
|
120
|
-
"provar:manager:connect",
|
|
121
|
-
"manager:provar:connect",
|
|
122
|
-
"manager:connect:provar",
|
|
123
|
-
"provar:connect:manager",
|
|
124
|
-
"connect:provar:manager",
|
|
125
|
-
"connect:manager:provar"
|
|
101
|
+
"auth",
|
|
102
|
+
"login.js"
|
|
126
103
|
],
|
|
104
|
+
"aliasPermutations": [],
|
|
127
105
|
"permutations": [
|
|
128
|
-
"provar:
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"provar:
|
|
132
|
-
"
|
|
133
|
-
"
|
|
106
|
+
"provar:auth:login",
|
|
107
|
+
"auth:provar:login",
|
|
108
|
+
"auth:login:provar",
|
|
109
|
+
"provar:login:auth",
|
|
110
|
+
"login:provar:auth",
|
|
111
|
+
"login:auth:provar"
|
|
134
112
|
]
|
|
135
113
|
},
|
|
136
|
-
"provar:
|
|
137
|
-
"aliases": [
|
|
138
|
-
"provar:manager:display"
|
|
139
|
-
],
|
|
114
|
+
"provar:auth:rotate": {
|
|
115
|
+
"aliases": [],
|
|
140
116
|
"args": {},
|
|
141
|
-
"
|
|
142
|
-
"description": "Displays information about the connected Provar Quality Hub org.",
|
|
117
|
+
"description": "Exchanges your current pv*k* key for a new one in a single atomic operation.\nThe old key is invalidated the moment the new key is issued — there is no window\nwhere both are valid.\n\nThe new key is written to ~/.provar/credentials.json automatically.\n\nUse this command to rotate your key on a regular schedule (every ~90 days) without\ngoing through the browser login flow again.\n\nIf the current key is already expired or revoked, rotation is not possible — run\nsf provar auth login instead to authenticate via browser and get a fresh key.",
|
|
143
118
|
"examples": [
|
|
144
|
-
"<%= config.bin %> <%= command.id %>"
|
|
119
|
+
"Rotate the stored API key:\n<%= config.bin %> <%= command.id %>"
|
|
145
120
|
],
|
|
146
121
|
"flags": {
|
|
147
122
|
"json": {
|
|
@@ -162,47 +137,37 @@
|
|
|
162
137
|
},
|
|
163
138
|
"hasDynamicHelp": false,
|
|
164
139
|
"hiddenAliases": [],
|
|
165
|
-
"id": "provar:
|
|
140
|
+
"id": "provar:auth:rotate",
|
|
166
141
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
167
142
|
"pluginName": "@provartesting/provardx-cli",
|
|
168
143
|
"pluginType": "core",
|
|
169
144
|
"strict": true,
|
|
170
|
-
"summary": "
|
|
145
|
+
"summary": "Rotate your stored Provar Quality Hub API key.",
|
|
171
146
|
"enableJsonFlag": true,
|
|
172
147
|
"isESM": true,
|
|
173
148
|
"relativePath": [
|
|
174
149
|
"lib",
|
|
175
150
|
"commands",
|
|
176
151
|
"provar",
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
],
|
|
180
|
-
"aliasPermutations": [
|
|
181
|
-
"provar:manager:display",
|
|
182
|
-
"manager:provar:display",
|
|
183
|
-
"manager:display:provar",
|
|
184
|
-
"provar:display:manager",
|
|
185
|
-
"display:provar:manager",
|
|
186
|
-
"display:manager:provar"
|
|
152
|
+
"auth",
|
|
153
|
+
"rotate.js"
|
|
187
154
|
],
|
|
155
|
+
"aliasPermutations": [],
|
|
188
156
|
"permutations": [
|
|
189
|
-
"provar:
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"provar:
|
|
193
|
-
"
|
|
194
|
-
"
|
|
157
|
+
"provar:auth:rotate",
|
|
158
|
+
"auth:provar:rotate",
|
|
159
|
+
"auth:rotate:provar",
|
|
160
|
+
"provar:rotate:auth",
|
|
161
|
+
"rotate:provar:auth",
|
|
162
|
+
"rotate:auth:provar"
|
|
195
163
|
]
|
|
196
164
|
},
|
|
197
|
-
"provar:
|
|
198
|
-
"aliases": [
|
|
199
|
-
"provar:manager:open"
|
|
200
|
-
],
|
|
165
|
+
"provar:auth:status": {
|
|
166
|
+
"aliases": [],
|
|
201
167
|
"args": {},
|
|
202
|
-
"
|
|
203
|
-
"description": "Open Provar Quality Hub in a browser.",
|
|
168
|
+
"description": "Reports where the active API key comes from (environment variable or stored file),\nshows the key prefix and when it was set, and states whether validation will use the\nQuality Hub API or local rules only. The full key is never printed.\n\nIf no key is configured, guidance is shown for logging in or requesting access.",
|
|
204
169
|
"examples": [
|
|
205
|
-
"<%= config.bin %> <%= command.id %>"
|
|
170
|
+
"Check auth status:\n<%= config.bin %> <%= command.id %>"
|
|
206
171
|
],
|
|
207
172
|
"flags": {
|
|
208
173
|
"json": {
|
|
@@ -223,36 +188,92 @@
|
|
|
223
188
|
},
|
|
224
189
|
"hasDynamicHelp": false,
|
|
225
190
|
"hiddenAliases": [],
|
|
226
|
-
"id": "provar:
|
|
191
|
+
"id": "provar:auth:status",
|
|
227
192
|
"pluginAlias": "@provartesting/provardx-cli",
|
|
228
193
|
"pluginName": "@provartesting/provardx-cli",
|
|
229
194
|
"pluginType": "core",
|
|
230
195
|
"strict": true,
|
|
231
|
-
"summary": "
|
|
196
|
+
"summary": "Show the current Provar API key configuration status.",
|
|
232
197
|
"enableJsonFlag": true,
|
|
233
198
|
"isESM": true,
|
|
234
199
|
"relativePath": [
|
|
235
200
|
"lib",
|
|
236
201
|
"commands",
|
|
237
202
|
"provar",
|
|
238
|
-
"
|
|
239
|
-
"
|
|
203
|
+
"auth",
|
|
204
|
+
"status.js"
|
|
240
205
|
],
|
|
241
|
-
"aliasPermutations": [
|
|
242
|
-
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
206
|
+
"aliasPermutations": [],
|
|
207
|
+
"permutations": [
|
|
208
|
+
"provar:auth:status",
|
|
209
|
+
"auth:provar:status",
|
|
210
|
+
"auth:status:provar",
|
|
211
|
+
"provar:status:auth",
|
|
212
|
+
"status:provar:auth",
|
|
213
|
+
"status:auth:provar"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"provar:mcp:start": {
|
|
217
|
+
"aliases": [],
|
|
218
|
+
"args": {},
|
|
219
|
+
"description": "Launches a stateless MCP (Model Context Protocol) server that exposes Provar tools to\nAI assistants (Claude Desktop, Claude Code, Cursor) via stdio transport. All MCP\nJSON-RPC communication happens over stdout; all internal logging goes to stderr.\n\nAvailable tools:\n\n Project & inspection:\n - provar.project.inspect — inspect project folder inventory\n - provar.project.validate — validate full project from disk: coverage, quality scores\n\n Page Object:\n - provar.pageobject.generate — generate a Java Page Object skeleton\n - provar.pageobject.validate — validate Page Object quality and naming\n\n Test Case:\n - provar.testcase.generate — generate an XML test case skeleton\n - provar.testcase.validate — validate test case XML (validity + best-practices scores)\n\n Test Suite / Plan:\n - provar.testsuite.validate — validate test suite hierarchy\n - provar.testplan.validate — validate test plan metadata completeness\n - provar.testplan.create-suite — create a test suite under a plan\n - provar.testplan.add-instance — add a test instance to a plan\n - provar.testplan.remove-instance — remove a test instance from a plan\n\n Properties files:\n - provar.properties.read — read a Provar properties file\n - provar.properties.set — set a key in a Provar properties file\n - provar.properties.validate — validate a properties file structure\n - provar.properties.generate — generate a properties file skeleton\n\n Quality Hub (sf provar quality-hub wrappers):\n - provar.qualityhub.connect — connect to a Quality Hub org\n - provar.qualityhub.display — display connected org info\n - provar.qualityhub.testrun — trigger a Quality Hub test run\n - provar.qualityhub.testrun.report — poll test run status\n - provar.qualityhub.testrun.abort — abort a running test run\n - provar.qualityhub.testcase.retrieve — retrieve test case results\n - provar.qualityhub.defect.create — create defects for failed test executions\n\n Automation (sf provar automation wrappers):\n - provar.automation.setup — set up the Provar Automation runtime\n - provar.automation.metadata.download — download Salesforce metadata\n - provar.automation.compile — compile Provar test assets\n - provar.automation.testrun — run Provar tests\n - provar.automation.config.load — load a Provar configuration\n\n ANT build:\n - provar.ant.generate — generate an ANT build.xml\n - provar.ant.validate — validate an ANT build.xml\n\n Test result analysis:\n - provar.testrun.rca — root cause analysis on a test result\n - provar.testrun.report.locate — locate a test result report\n\nFor full tool documentation see docs/mcp.md in this repository.",
|
|
220
|
+
"examples": [
|
|
221
|
+
"Start MCP server (accepts stdio connections from Claude Desktop / Cursor):\n<%= config.bin %> <%= command.id %>",
|
|
222
|
+
"Start with explicit allowed paths:\n<%= config.bin %> <%= command.id %> --allowed-paths /workspace/provar",
|
|
223
|
+
"Allow multiple project directories:\n<%= config.bin %> <%= command.id %> -a /workspace/project-a -a /workspace/project-b"
|
|
248
224
|
],
|
|
225
|
+
"flags": {
|
|
226
|
+
"flags-dir": {
|
|
227
|
+
"helpGroup": "GLOBAL",
|
|
228
|
+
"name": "flags-dir",
|
|
229
|
+
"summary": "Import flag values from a directory.",
|
|
230
|
+
"hasDynamicHelp": false,
|
|
231
|
+
"multiple": false,
|
|
232
|
+
"type": "option"
|
|
233
|
+
},
|
|
234
|
+
"allowed-paths": {
|
|
235
|
+
"char": "a",
|
|
236
|
+
"name": "allowed-paths",
|
|
237
|
+
"summary": "Allowed base directory paths for file operations. Defaults to current directory.",
|
|
238
|
+
"default": [
|
|
239
|
+
"/home/runner/work/provardx-cli/provardx-cli"
|
|
240
|
+
],
|
|
241
|
+
"hasDynamicHelp": false,
|
|
242
|
+
"multiple": true,
|
|
243
|
+
"type": "option"
|
|
244
|
+
},
|
|
245
|
+
"auto-defects": {
|
|
246
|
+
"name": "auto-defects",
|
|
247
|
+
"summary": "When enabled, testrun.report suggestions will prompt defect creation on failures.",
|
|
248
|
+
"allowNo": false,
|
|
249
|
+
"type": "boolean"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
"hasDynamicHelp": false,
|
|
253
|
+
"hiddenAliases": [],
|
|
254
|
+
"id": "provar:mcp:start",
|
|
255
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
256
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
257
|
+
"pluginType": "core",
|
|
258
|
+
"strict": true,
|
|
259
|
+
"summary": "Start a local MCP server for Provar tools over stdio transport.",
|
|
260
|
+
"enableJsonFlag": false,
|
|
261
|
+
"isESM": true,
|
|
262
|
+
"relativePath": [
|
|
263
|
+
"lib",
|
|
264
|
+
"commands",
|
|
265
|
+
"provar",
|
|
266
|
+
"mcp",
|
|
267
|
+
"start.js"
|
|
268
|
+
],
|
|
269
|
+
"aliasPermutations": [],
|
|
249
270
|
"permutations": [
|
|
250
|
-
"provar:
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"provar:
|
|
254
|
-
"
|
|
255
|
-
"
|
|
271
|
+
"provar:mcp:start",
|
|
272
|
+
"mcp:provar:start",
|
|
273
|
+
"mcp:start:provar",
|
|
274
|
+
"provar:start:mcp",
|
|
275
|
+
"start:provar:mcp",
|
|
276
|
+
"start:mcp:provar"
|
|
256
277
|
]
|
|
257
278
|
},
|
|
258
279
|
"provar:config:get": {
|
|
@@ -377,6 +398,198 @@
|
|
|
377
398
|
"set:config:provar"
|
|
378
399
|
]
|
|
379
400
|
},
|
|
401
|
+
"provar:quality-hub:connect": {
|
|
402
|
+
"aliases": [
|
|
403
|
+
"provar:manager:connect"
|
|
404
|
+
],
|
|
405
|
+
"args": {},
|
|
406
|
+
"deprecateAliases": true,
|
|
407
|
+
"description": "Load the alias or username to be used in subsequent commands to connect to Provar Quality Hub.",
|
|
408
|
+
"examples": [
|
|
409
|
+
"<%= config.bin %> <%= command.id %>"
|
|
410
|
+
],
|
|
411
|
+
"flags": {
|
|
412
|
+
"json": {
|
|
413
|
+
"description": "Format output as json.",
|
|
414
|
+
"helpGroup": "GLOBAL",
|
|
415
|
+
"name": "json",
|
|
416
|
+
"allowNo": false,
|
|
417
|
+
"type": "boolean"
|
|
418
|
+
},
|
|
419
|
+
"flags-dir": {
|
|
420
|
+
"helpGroup": "GLOBAL",
|
|
421
|
+
"name": "flags-dir",
|
|
422
|
+
"summary": "Import flag values from a directory.",
|
|
423
|
+
"hasDynamicHelp": false,
|
|
424
|
+
"multiple": false,
|
|
425
|
+
"type": "option"
|
|
426
|
+
},
|
|
427
|
+
"target-org": {
|
|
428
|
+
"char": "o",
|
|
429
|
+
"name": "target-org",
|
|
430
|
+
"required": true,
|
|
431
|
+
"summary": "Name of the alias/username set in SF CLI which corresponds to the Provar Quality Hub org.",
|
|
432
|
+
"hasDynamicHelp": false,
|
|
433
|
+
"multiple": false,
|
|
434
|
+
"type": "option"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"hasDynamicHelp": false,
|
|
438
|
+
"hiddenAliases": [],
|
|
439
|
+
"id": "provar:quality-hub:connect",
|
|
440
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
441
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
442
|
+
"pluginType": "core",
|
|
443
|
+
"strict": true,
|
|
444
|
+
"summary": "Load the alias or username to be used in subsequent commands to connect to Provar Quality Hub.",
|
|
445
|
+
"enableJsonFlag": true,
|
|
446
|
+
"isESM": true,
|
|
447
|
+
"relativePath": [
|
|
448
|
+
"lib",
|
|
449
|
+
"commands",
|
|
450
|
+
"provar",
|
|
451
|
+
"quality-hub",
|
|
452
|
+
"connect.js"
|
|
453
|
+
],
|
|
454
|
+
"aliasPermutations": [
|
|
455
|
+
"provar:manager:connect",
|
|
456
|
+
"manager:provar:connect",
|
|
457
|
+
"manager:connect:provar",
|
|
458
|
+
"provar:connect:manager",
|
|
459
|
+
"connect:provar:manager",
|
|
460
|
+
"connect:manager:provar"
|
|
461
|
+
],
|
|
462
|
+
"permutations": [
|
|
463
|
+
"provar:quality-hub:connect",
|
|
464
|
+
"quality-hub:provar:connect",
|
|
465
|
+
"quality-hub:connect:provar",
|
|
466
|
+
"provar:connect:quality-hub",
|
|
467
|
+
"connect:provar:quality-hub",
|
|
468
|
+
"connect:quality-hub:provar"
|
|
469
|
+
]
|
|
470
|
+
},
|
|
471
|
+
"provar:quality-hub:display": {
|
|
472
|
+
"aliases": [
|
|
473
|
+
"provar:manager:display"
|
|
474
|
+
],
|
|
475
|
+
"args": {},
|
|
476
|
+
"deprecateAliases": true,
|
|
477
|
+
"description": "Displays information about the connected Provar Quality Hub org.",
|
|
478
|
+
"examples": [
|
|
479
|
+
"<%= config.bin %> <%= command.id %>"
|
|
480
|
+
],
|
|
481
|
+
"flags": {
|
|
482
|
+
"json": {
|
|
483
|
+
"description": "Format output as json.",
|
|
484
|
+
"helpGroup": "GLOBAL",
|
|
485
|
+
"name": "json",
|
|
486
|
+
"allowNo": false,
|
|
487
|
+
"type": "boolean"
|
|
488
|
+
},
|
|
489
|
+
"flags-dir": {
|
|
490
|
+
"helpGroup": "GLOBAL",
|
|
491
|
+
"name": "flags-dir",
|
|
492
|
+
"summary": "Import flag values from a directory.",
|
|
493
|
+
"hasDynamicHelp": false,
|
|
494
|
+
"multiple": false,
|
|
495
|
+
"type": "option"
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"hasDynamicHelp": false,
|
|
499
|
+
"hiddenAliases": [],
|
|
500
|
+
"id": "provar:quality-hub:display",
|
|
501
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
502
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
503
|
+
"pluginType": "core",
|
|
504
|
+
"strict": true,
|
|
505
|
+
"summary": "Displays information about the connected Provar Quality Hub org.",
|
|
506
|
+
"enableJsonFlag": true,
|
|
507
|
+
"isESM": true,
|
|
508
|
+
"relativePath": [
|
|
509
|
+
"lib",
|
|
510
|
+
"commands",
|
|
511
|
+
"provar",
|
|
512
|
+
"quality-hub",
|
|
513
|
+
"display.js"
|
|
514
|
+
],
|
|
515
|
+
"aliasPermutations": [
|
|
516
|
+
"provar:manager:display",
|
|
517
|
+
"manager:provar:display",
|
|
518
|
+
"manager:display:provar",
|
|
519
|
+
"provar:display:manager",
|
|
520
|
+
"display:provar:manager",
|
|
521
|
+
"display:manager:provar"
|
|
522
|
+
],
|
|
523
|
+
"permutations": [
|
|
524
|
+
"provar:quality-hub:display",
|
|
525
|
+
"quality-hub:provar:display",
|
|
526
|
+
"quality-hub:display:provar",
|
|
527
|
+
"provar:display:quality-hub",
|
|
528
|
+
"display:provar:quality-hub",
|
|
529
|
+
"display:quality-hub:provar"
|
|
530
|
+
]
|
|
531
|
+
},
|
|
532
|
+
"provar:quality-hub:open": {
|
|
533
|
+
"aliases": [
|
|
534
|
+
"provar:manager:open"
|
|
535
|
+
],
|
|
536
|
+
"args": {},
|
|
537
|
+
"deprecateAliases": true,
|
|
538
|
+
"description": "Open Provar Quality Hub in a browser.",
|
|
539
|
+
"examples": [
|
|
540
|
+
"<%= config.bin %> <%= command.id %>"
|
|
541
|
+
],
|
|
542
|
+
"flags": {
|
|
543
|
+
"json": {
|
|
544
|
+
"description": "Format output as json.",
|
|
545
|
+
"helpGroup": "GLOBAL",
|
|
546
|
+
"name": "json",
|
|
547
|
+
"allowNo": false,
|
|
548
|
+
"type": "boolean"
|
|
549
|
+
},
|
|
550
|
+
"flags-dir": {
|
|
551
|
+
"helpGroup": "GLOBAL",
|
|
552
|
+
"name": "flags-dir",
|
|
553
|
+
"summary": "Import flag values from a directory.",
|
|
554
|
+
"hasDynamicHelp": false,
|
|
555
|
+
"multiple": false,
|
|
556
|
+
"type": "option"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
"hasDynamicHelp": false,
|
|
560
|
+
"hiddenAliases": [],
|
|
561
|
+
"id": "provar:quality-hub:open",
|
|
562
|
+
"pluginAlias": "@provartesting/provardx-cli",
|
|
563
|
+
"pluginName": "@provartesting/provardx-cli",
|
|
564
|
+
"pluginType": "core",
|
|
565
|
+
"strict": true,
|
|
566
|
+
"summary": "Open Provar Quality Hub in a browser.",
|
|
567
|
+
"enableJsonFlag": true,
|
|
568
|
+
"isESM": true,
|
|
569
|
+
"relativePath": [
|
|
570
|
+
"lib",
|
|
571
|
+
"commands",
|
|
572
|
+
"provar",
|
|
573
|
+
"quality-hub",
|
|
574
|
+
"open.js"
|
|
575
|
+
],
|
|
576
|
+
"aliasPermutations": [
|
|
577
|
+
"provar:manager:open",
|
|
578
|
+
"manager:provar:open",
|
|
579
|
+
"manager:open:provar",
|
|
580
|
+
"provar:open:manager",
|
|
581
|
+
"open:provar:manager",
|
|
582
|
+
"open:manager:provar"
|
|
583
|
+
],
|
|
584
|
+
"permutations": [
|
|
585
|
+
"provar:quality-hub:open",
|
|
586
|
+
"quality-hub:provar:open",
|
|
587
|
+
"quality-hub:open:provar",
|
|
588
|
+
"provar:open:quality-hub",
|
|
589
|
+
"open:provar:quality-hub",
|
|
590
|
+
"open:quality-hub:provar"
|
|
591
|
+
]
|
|
592
|
+
},
|
|
380
593
|
"provar:automation:config:generate": {
|
|
381
594
|
"aliases": [],
|
|
382
595
|
"args": {},
|
|
@@ -1811,5 +2024,5 @@
|
|
|
1811
2024
|
]
|
|
1812
2025
|
}
|
|
1813
2026
|
},
|
|
1814
|
-
"version": "1.5.0-beta.
|
|
2027
|
+
"version": "1.5.0-beta.5"
|
|
1815
2028
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provartesting/provardx-cli",
|
|
3
3
|
"description": "A plugin for the Salesforce CLI to orchestrate testing activities and report quality metrics to Provar Quality Hub",
|
|
4
|
-
"version": "1.5.0-beta.
|
|
4
|
+
"version": "1.5.0-beta.5",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"plugins": [
|
|
7
7
|
"@provartesting/provardx-plugins-automation",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"wireit": "^0.14.0"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|
|
38
|
-
"node": ">=18.0.0"
|
|
38
|
+
"node": ">=18.0.0 <25.0.0"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
41
|
"/lib",
|
|
@@ -91,6 +91,9 @@
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
+
"auth": {
|
|
95
|
+
"description": "Commands to manage Provar API key authentication."
|
|
96
|
+
},
|
|
94
97
|
"automation": {
|
|
95
98
|
"description": "Commands to interact with Provar Automation.",
|
|
96
99
|
"subtopics": {
|
|
@@ -125,7 +128,7 @@
|
|
|
125
128
|
"postpack": "shx rm -f oclif.manifest.json",
|
|
126
129
|
"prepack": "sf-prepack",
|
|
127
130
|
"test": "wireit",
|
|
128
|
-
"test:nuts": "nyc mocha \"**/*generate.nut.ts\" \"**/*permission.nut.ts\" \"**/*load.nut.ts\" \"**/*validate.nut.ts\" \"**/*set.nut.ts\" \"**/*get.nut.ts\" --slow 4500 --timeout 600000 --reporter mochawesome",
|
|
131
|
+
"test:nuts": "nyc mocha \"**/*generate.nut.ts\" \"**/*permission.nut.ts\" \"**/*load.nut.ts\" \"**/*validate.nut.ts\" \"**/*set.nut.ts\" \"**/*get.nut.ts\" \"**/*key.nut.ts\" \"**/*status.nut.ts\" \"**/*clear.nut.ts\" --slow 4500 --timeout 600000 --reporter mochawesome",
|
|
129
132
|
"test:only": "wireit",
|
|
130
133
|
"test:dev": "nyc mocha \"test/**/*.test.ts\"",
|
|
131
134
|
"test:watch": "mocha \"test/**/*.test.ts\" --watch --watch-files \"src/**/*.ts\" --watch-files \"test/**/*.ts\"",
|