Two-word prompt calls
mikaelmello opened this issue · comments
Is your feature request related to a problem? Please describe.
I'd like to be able to call inquire in-line with as few words as I can:
e.g.inquire::Text("Message:")
would already call the prompt, no need for an extra prompt()
.
Describe the solution you'd like
Probably a prelude with prompt_text("Message:")
, prompt_number("$")
, prompt_confirm()
.
- Using the same structs would be bad for backwards compatibility (UX).
- Without the module name, likely being omitted with the help of an use statement, just
Text()
ortext()
is not meaningful enough.