ask
ask copied to clipboard
interactive command-line prompts for deno
Is there a way to handle invalid input? By default, it just keeps repeating the question until the input passes the `validate` function. This can be confusing to the user,...
When will the following examples be supported? - [ ] `list` - [ ] `rawlist` - [ ] `expand` - [ ] `checkbox` - [ ] `password` - [ ]...
https://nest.land/ If not I would offer to do so.
Nice work! As an idea, it would be great to have E notation to do 1e15 instead of 1000000000000000. Maybe other notation to where it makes sense too.
It seems you would almost always want to use ask synchronously, rather than asynchronously. For example, in a object's constructor, you might want to ask for confirmation.