lassiecoder 1.0.11 → 1.0.12
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/bin/index.js +5 -0
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -20,6 +20,9 @@ const prompt = inquirer.createPromptModule();
|
|
|
20
20
|
// Get the desktop directory path based on the operating system
|
|
21
21
|
const desktopDir = path.join(os.homedir(), 'Desktop');
|
|
22
22
|
|
|
23
|
+
// Define a suggestion to use "cmd/ctrl + click" to open/copy links
|
|
24
|
+
const suggestion = [`💡 ${chalk.blue.bold('Suggestion:')} Try using ${chalk.yellow.bold('cmd/ctrl +')} ${chalk.green.bold('click')} on the links above to open/copy`].join("\n");
|
|
25
|
+
|
|
23
26
|
// Create a loader to indicate that the resume is being downloaded
|
|
24
27
|
const loader = ora({
|
|
25
28
|
text: ' Downloading resume',
|
|
@@ -150,4 +153,6 @@ const output =
|
|
|
150
153
|
// Display the formatted output in a box and prompt the user with the defined questions then execute the action based on the user's choice
|
|
151
154
|
console.log(chalk.white(boxen(output, options)));
|
|
152
155
|
|
|
156
|
+
console.log(`\n`, suggestion, `\n`);
|
|
157
|
+
|
|
153
158
|
prompt(questions).then(answer => answer.action());
|