Skip to content

[Request] Prompt description #111

@joseph-farruggio

Description

@joseph-farruggio

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions