fix: add hint to channel multiselect in migration
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Koshkoshinsk
parent
d88b0807e6
commit
58e4df44e2
@@ -12,6 +12,7 @@
|
|||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
|
|
||||||
import * as p from '@clack/prompts';
|
import * as p from '@clack/prompts';
|
||||||
|
import { styleText } from 'node:util';
|
||||||
|
|
||||||
const CHANNELS = [
|
const CHANNELS = [
|
||||||
{ value: 'telegram', label: 'Telegram' },
|
{ value: 'telegram', label: 'Telegram' },
|
||||||
@@ -47,7 +48,7 @@ async function main(): Promise<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const selected = await p.multiselect({
|
const selected = await p.multiselect({
|
||||||
message: 'Which channels do you want to set up?',
|
message: 'Which channels do you want to set up?\n' + styleText('dim', ' space to select, enter to confirm') + '\n',
|
||||||
options: CHANNELS,
|
options: CHANNELS,
|
||||||
required: false,
|
required: false,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user