Logger: add prompt/stdin support #571
paularmstrong
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
inquirer
/@inquirer/prompts
, however, the oneRepo logger is specifically designed for readability of input/output and inquirer, prompts, and similar third-party solutions break that readability and don't have enough control over how the output is rendered.logger.pause()
andlogger.unpause()
before and after requesting prompts (respectively).Solution
A
prompt
method will be added to theLogger
(nb: notLogStep
)Ideal output
Prompts should follow the oneRepo logger style for readability:
Beta Was this translation helpful? Give feedback.
All reactions