@ijuantm/simpl-addon 2.6.0 → 2.6.1
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/install.js +3 -0
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -69,6 +69,8 @@ const promptUser = (question, defaultValue = '') => new Promise(resolve => {
|
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
+
const printAnswer = (question, value) => console.log(`${question}: ${COLORS.cyan}${value}${COLORS.reset}`);
|
|
73
|
+
|
|
72
74
|
const getSimplVersion = () => {
|
|
73
75
|
const simplFile = path.join(process.cwd(), '.simpl');
|
|
74
76
|
|
|
@@ -594,6 +596,7 @@ const main = async () => {
|
|
|
594
596
|
|
|
595
597
|
if (parsed.addon) {
|
|
596
598
|
addonName = await resolveAddon(parsed.addon, addons);
|
|
599
|
+
printAnswer(' Add-on to install', addonName);
|
|
597
600
|
} else {
|
|
598
601
|
console.log();
|
|
599
602
|
log(` ${COLORS.bold}Available add-ons:${COLORS.reset}`, 'blue');
|