-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend formatting options to listen subcommand
Listen streams a mix of WorkerEvent, ProgressEvent and DataEvent instances for anything that the server is doing. This extends the type handling in the format to each of these types to display the relevant level of information for each. Informational messages are changed to be printed to stderr so that the main stdout output can be piped to an external application (eg jq for json mode).
- Loading branch information
Showing
2 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters