Open osterman opened 4 years ago
@osterman Sounds nice. For my inspiration - how does np
surfaces the original stdout/stderr of a failed command? A log file, or a specifically formatted text below those indicators, etc?
(haven't actually used np
- found it after googling. my inspiration was that I've seen this UI more and more frequently on other cli tools but I couldn't remember which one. you'll also remember retry
as a tool with some of this functionality)
Simple errors can be surfaced like this
See https://laptrinhx.com/the-best-of-npm-install-g-3515219261/
Since output can be streamed to a file, it's maybe less critical to output it to the tty.
While developing the a cli, verbose output is essential. However, for end-users it can often be overwhelming with TMI. It's hard to surface what they should care about and show progress. It would be nice to have a progress indicator like the following which shows the jobs that will be run and the progress.
Here's a nice example from
np