beecork 1.3.8 → 1.3.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/dist/index.js +6 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -170,8 +170,8 @@ program
|
|
|
170
170
|
const ask = (q, def) => new Promise(r => rl.question(def ? `${q} [${def}]: ` : `${q}: `, a => r(a.trim() || def || '')));
|
|
171
171
|
console.log('\nWhatsApp Setup\n');
|
|
172
172
|
console.log(' WhatsApp connects via QR code scanning (like WhatsApp Web).');
|
|
173
|
-
console.log('
|
|
174
|
-
console.log(' Scan it with your phone to
|
|
173
|
+
console.log(' After setup, run "beecork start" and the QR code will appear');
|
|
174
|
+
console.log(' in your terminal. Scan it with your phone to pair.\n');
|
|
175
175
|
const number = await ask('Your WhatsApp phone number (e.g., 14155551234)');
|
|
176
176
|
if (!number) {
|
|
177
177
|
console.log('No number provided. Cancelled.');
|
|
@@ -188,7 +188,10 @@ program
|
|
|
188
188
|
allowedNumbers: [number],
|
|
189
189
|
};
|
|
190
190
|
saveConfig(config);
|
|
191
|
-
console.log('\n✓ WhatsApp configured.
|
|
191
|
+
console.log('\n✓ WhatsApp configured.');
|
|
192
|
+
console.log(' Next: run "beecork start" — the QR code will appear in your terminal.');
|
|
193
|
+
console.log(' Scan it with your phone to pair. Once paired, press Ctrl+C and');
|
|
194
|
+
console.log(' run "beecork start" again for background operation.\n');
|
|
192
195
|
rl.close();
|
|
193
196
|
});
|
|
194
197
|
program
|