bombshell-dev / clack

Effortlessly build beautiful command-line apps
https://clack.cc
5.53k stars 90 forks source link

[Request] Prompt description #111

Open joseph-farruggio opened 1 year ago

joseph-farruggio commented 1 year ago

Is your feature request related to a problem? Please describe. Having the option to provide secondary text to provide more details or instruction would allow for more succinct prompts.

Describe the solution you'd like

const myPrompt = await text({
    message: 'This is the primary question:',
    description: 'This is secondary text displayed between the message and where the user fills in the prompt`
})

Describe alternatives you've considered I've tried writing longer prompts and getting clever with line breaks, but it takes away from Clack's gorgeous UI.

Additional context N/A