@devicecloud.dev/dcd 3.6.3 → 3.6.4
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/cloud.js +18 -20
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/commands/cloud.js
CHANGED
|
@@ -85,26 +85,24 @@ class Cloud extends core_1.Command {
|
|
|
85
85
|
let output = null;
|
|
86
86
|
try {
|
|
87
87
|
const { args, flags, raw } = await this.parse(Cloud);
|
|
88
|
-
// Log the full command that was run
|
|
89
|
-
const commandParts = ['dcd cloud'];
|
|
90
|
-
if (args.firstFile)
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
this.log(`\nCommand ran: ${commandParts.join(' ')}\n`);
|
|
88
|
+
// // Log the full command that was run
|
|
89
|
+
// const commandParts = ['dcd cloud'];
|
|
90
|
+
// if (args.firstFile) commandParts.push(escapeShellValue(args.firstFile));
|
|
91
|
+
// if (args.secondFile) commandParts.push(escapeShellValue(args.secondFile));
|
|
92
|
+
// for (const [key, value] of Object.entries(flags)) {
|
|
93
|
+
// if (value && value.toString().length > 0) {
|
|
94
|
+
// if (typeof value === 'boolean') {
|
|
95
|
+
// commandParts.push(`--${key}`);
|
|
96
|
+
// } else if (Array.isArray(value)) {
|
|
97
|
+
// commandParts.push(
|
|
98
|
+
// `--${key}=${value.map((v) => escapeShellValue(v)).join(',')}`,
|
|
99
|
+
// );
|
|
100
|
+
// } else {
|
|
101
|
+
// commandParts.push(`--${key}=${escapeShellValue(value.toString())}`);
|
|
102
|
+
// }
|
|
103
|
+
// }
|
|
104
|
+
// }
|
|
105
|
+
// this.log(`\nCommand ran: ${commandParts.join(' ')}\n`);
|
|
108
106
|
let { 'additional-app-binary-ids': nonFlatAdditionalAppBinaryIds, 'additional-app-files': nonFlatAdditionalAppFiles, 'android-api-level': androidApiLevel, 'android-device': androidDevice, apiKey: apiKeyFlag, apiUrl, 'app-binary-id': appBinaryId, 'app-file': appFile, 'artifacts-path': artifactsPath, async, config: configFile, 'device-locale': deviceLocale, 'download-artifacts': downloadArtifacts, env, 'exclude-flows': excludeFlows, 'exclude-tags': excludeTags, flows, 'google-play': googlePlay, 'include-tags': includeTags, 'ignore-sha-check': ignoreShaCheck, 'ios-device': iOSDevice, 'ios-version': iOSVersion, 'maestro-version': maestroVersion, name, orientation, quiet, retry, report, 'runner-type': runnerType, 'x86-arch': x86Arch, json, ...rest } = flags;
|
|
109
107
|
if (json) {
|
|
110
108
|
const originalStdoutWrite = process.stdout.write;
|
package/oclif.manifest.json
CHANGED