wdio-lambdatest-service-sdk 5.1.8 → 5.1.9
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/lib/cli/generate.js +2 -5
- package/package.json +1 -1
package/lib/cli/generate.js
CHANGED
|
@@ -5,6 +5,7 @@ const fs = require('fs');
|
|
|
5
5
|
const path = require('path');
|
|
6
6
|
const chalk = require('chalk');
|
|
7
7
|
const inquirer = require('inquirer');
|
|
8
|
+
const { welcomeBanner } = require('./style');
|
|
8
9
|
|
|
9
10
|
// Support both CJS and ESM inquirer (default.prompt vs prompt)
|
|
10
11
|
const prompt = (inquirer.default && inquirer.default.prompt) ? inquirer.default.prompt.bind(inquirer.default) : inquirer.prompt;
|
|
@@ -243,11 +244,7 @@ ${mergeSnippet}`;
|
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
function printBanner() {
|
|
246
|
-
console.log();
|
|
247
|
-
console.log(chalk.cyan.bold('╭────────────────────────────────────────────╮'));
|
|
248
|
-
console.log(chalk.cyan.bold('│') + ' 🛠️ ' + chalk.bold('LambdaTest WDIO Config Generator') + ' ' + chalk.cyan.bold('│'));
|
|
249
|
-
console.log(chalk.cyan.bold('╰────────────────────────────────────────────╯'));
|
|
250
|
-
console.log();
|
|
247
|
+
console.log(welcomeBanner());
|
|
251
248
|
}
|
|
252
249
|
|
|
253
250
|
/**
|