Skip to content

confirmation with auto-skip after timeout #98

@sassman

Description

@sassman

I was recently in need of prompting a user a confirmation question, with providing a default value (no) and want to dismiss the question after a waiting time.

So that the program moves on after this timeout is finished.

Image

I used dialoguer for it, but had to implement a lot around it.
Then I concluded that this would be a feature (granted, a fancy one) that I would rather see as part of the cli prompting library. However, I believe they have no intent of having such a feature.

Hence I'm here, because your lib seems to be quite fancy and nice.
What's your take on such a feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions