@devicecloud.dev/dcd 3.6.11 → 3.7.0
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/dist/commands/status.d.ts +2 -0
- package/dist/commands/status.js +13 -0
- package/dist/constants.js +1 -15
- package/dist/methods.d.ts +2 -0
- package/oclif.manifest.json +1 -8
- package/package.json +1 -1
package/dist/commands/status.js
CHANGED
|
@@ -81,6 +81,19 @@ class Status extends core_1.Command {
|
|
|
81
81
|
const symbol = this.getStatusSymbol(item.status);
|
|
82
82
|
this.log(`${symbol} ${item.name}`);
|
|
83
83
|
this.log(` Status: ${item.status}`);
|
|
84
|
+
if (item.status === 'FAILED' && item.failReason) {
|
|
85
|
+
this.log(` Fail reason: ${item.failReason}`);
|
|
86
|
+
}
|
|
87
|
+
if (item.durationSeconds) {
|
|
88
|
+
const minutes = Math.floor(item.durationSeconds / 60);
|
|
89
|
+
const seconds = item.durationSeconds % 60;
|
|
90
|
+
if (minutes > 0) {
|
|
91
|
+
this.log(` Duration: ${minutes}m ${seconds}s`);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this.log(` Duration: ${item.durationSeconds}s`);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
84
97
|
this.log('');
|
|
85
98
|
});
|
|
86
99
|
}
|
package/dist/constants.js
CHANGED
|
@@ -145,21 +145,7 @@ exports.flags = {
|
|
|
145
145
|
aliases: ['maestroVersion'],
|
|
146
146
|
default: '1.39.5',
|
|
147
147
|
description: 'Maestro version to run your flow against',
|
|
148
|
-
options: [
|
|
149
|
-
'1.36.0',
|
|
150
|
-
'1.37.5',
|
|
151
|
-
'1.37.6',
|
|
152
|
-
'1.37.7',
|
|
153
|
-
'1.37.8',
|
|
154
|
-
'1.37.9',
|
|
155
|
-
'1.38.1',
|
|
156
|
-
'1.39.0',
|
|
157
|
-
'1.39.1',
|
|
158
|
-
'1.39.2',
|
|
159
|
-
'1.39.4',
|
|
160
|
-
'1.39.5',
|
|
161
|
-
'1.39.7',
|
|
162
|
-
],
|
|
148
|
+
options: ['1.39.0', '1.39.1', '1.39.2', '1.39.4', '1.39.5', '1.39.7'],
|
|
163
149
|
}),
|
|
164
150
|
mitmHost: core_1.Flags.string({
|
|
165
151
|
description: 'used for mitmproxy support, enterprise only, contact support if interested',
|
package/dist/methods.d.ts
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -278,13 +278,6 @@
|
|
|
278
278
|
"hasDynamicHelp": false,
|
|
279
279
|
"multiple": false,
|
|
280
280
|
"options": [
|
|
281
|
-
"1.36.0",
|
|
282
|
-
"1.37.5",
|
|
283
|
-
"1.37.6",
|
|
284
|
-
"1.37.7",
|
|
285
|
-
"1.37.8",
|
|
286
|
-
"1.37.9",
|
|
287
|
-
"1.38.1",
|
|
288
281
|
"1.39.0",
|
|
289
282
|
"1.39.1",
|
|
290
283
|
"1.39.2",
|
|
@@ -551,5 +544,5 @@
|
|
|
551
544
|
]
|
|
552
545
|
}
|
|
553
546
|
},
|
|
554
|
-
"version": "3.
|
|
547
|
+
"version": "3.7.0"
|
|
555
548
|
}
|