Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Prompt description #111

Open
joseph-farruggio opened this issue Mar 21, 2023 · 0 comments
Open

[Request] Prompt description #111

joseph-farruggio opened this issue Mar 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@joseph-farruggio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant